when sending requests to a store’s checkout MCP server, I get the following:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "AuthenticationFailed",
"data": "Access disabled."
}
}
I included header:
Authorization: Bearer ey...
using the token I got from https://api.shopify.com/auth/access_token (same token used for Catalog MCP, refreshed before 60-min expiry)
my request payload looks like this:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_checkout",
"arguments": {
"_meta": {
"ucp": {
"profile": "https://{my_site}/agent_profile.json"
}
},
"store_url": "https://{merchant}.com",
"checkout": {
"buyer": {
"email": "{me}@gmail.com",
"first_name": "{me}",
"last_name": "{me}",
"full_name": "{me}",
"phone_number": "+1XXX",
"consent": {
"analytics": true,
"marketing": false,
"preferences": true,
"sale_of_data": false
}
},
"currency": "USD",
"line_items": [
{
"item": {
"id": "gid://shopify/p/{id}"
},
"quantity": 1
}
],
"fulfillment": {
"methods": [
{
"type": "shipping",
"destinations": [
{
"first_name": "{me}",
"last_name": "{me}",
"street_address": "{me}",
"address_locality": "{me}",
"address_region": "{me}",
"postal_code": "{me}",
"address_country": "{me}"
}
]
}
]
}
}
}
}
}
