create_cart
Create a new cart (checkout session). Returns the full cart state including the checkout_session_id needed for get_cart and update_cart. You must call this before using get_cart or update_cart.
Schema
Input Schema
{
"type": "object",
"required": [
"items"
],
"properties": {
"buyer": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"phone_number": {
"type": "string"
}
},
"description": "Optional buyer information"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"variant_id",
"quantity"
],
"properties": {
"quantity": {
"type": "number",
"description": "Quantity to add"
},
"variant_id": {
"type": "string",
"description": "Product variant ID"
}
}
},
"description": "Items to add to the cart (at least one required)"
},
"currency": {
"type": "string",
"description": "Currency code for the cart (e.g. 'usd', 'eur'). Defaults to 'usd'."
}
}
}
Verified Stores
10,615
Member Stores
Stores exposing the create_cart tool
Weekly UCP Report
Get the agentic commerce digest every Monday
Real adoption data, ecosystem trends, new spec versions, and the stores that broke or recovered this week. Read by founders and engineers building the next generation of commerce.
Weekly UCP Report
Issue #50 · Sep 14, 2026
+664
new verified stores
Verified rate
Latest spec
Cart capability
