Skip to main content
Creates a customer in Fire spark for the user identified by the access token. Call this endpoint after token exchange when the customer signs in for the first time. The id in the request body must match the sub claim from the customer’s OIDC ID token (the same value bound to the access token).
Requires a Fire spark access token obtained through token exchange.

Request body

* Required for non-anonymous customers. Transactional messages only require the matching channel in notification_preferences. Marketing messages also require consent.marketing.

Notification preferences

Delivery address

Billing profile

Request

Response

Returns the created customer in data. The shape matches get customer.

Anonymous customers

For guest checkout, send only id and is_anonymous: true. Fire spark uses the id as the display name when no name is provided.

Error responses