Skip to content

Set guest email on the cart

POST
/store/v1/carts/{cartId}/email
curl --request POST \
--url https://your-store.example.com/store/v1/carts/example/email \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com" }'
cartId
required
string
Media type application/json
object
email
required
string format: email
<= 320 characters /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
Example generated
{
"email": "hello@example.com"
}