Skip to content
v0.3

customer.link_cart

Link the caller’s active cart to their account (funnel provenance; guest stays unlinked).

  • Scope: customer.self.write
  • System: no
  • Reachable from: POST /v1/commands/customer.link_cart (tenant credential) · MCP tool customer.link_cart · SDK client.call('customer.link_cart', …)
  • Events: none — It attaches a session cart to a recognized customer; the fact a consumer would act on is cart.buyer_recognized, which the recognition emits.
{
"properties": {
"cart_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"cart_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"cart_id": {
"type": "string"
}
},
"required": [
"cart_id"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)