Skip to main content
POST
Attach Buyer Identity

Headers

authorization
string | null
X-Site-ID
string
required
X-Stella-Token
string | null
Idempotency-Key
string | null

Path Parameters

cart_id
string<uuid>
required

Body

application/json

Attach a buyer to an in-flight cart. At least one of email, phone, or an authenticated customer token must be present — enforced in the route, not the schema, since the customer token arrives in a header rather than the body.

email
string<email> | null
phone
string | null
Maximum string length: 50

Response

Successful Response

cart_id
string<uuid>
required
customer_id
string<uuid> | null
required
email
string<email> | null
required
phone
string | null
required