Skip to content
v0.3

cart.set_buyer

Set the buyer on the cart — email + optional name/tax_id/phone + guest intent. Anonymous (cart_id).

  • Scope: public
  • System: no
  • Reachable from: an ANONYMOUS face — no credential, and never /v1/commands/*. Which path serves it is not derivable from the registry; see the anonymous faces.
  • Events: cart.buyer_recognized
{
"properties": {
"cart_id": {
"minLength": 1,
"type": "string"
},
"email": {
"minLength": 1,
"type": "string"
},
"guest": {
"type": "boolean"
},
"identity": {
"enum": [
"guest"
],
"type": "string"
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"tax_id": {
"type": "string"
}
},
"required": [
"cart_id",
"email"
],
"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)