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
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "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"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "cart_id": { "type": "string" } }, "required": [ "cart_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)