Skip to main content
POST
Merge Guest Cart to Customer

Authorizations

Authorization
string
header
required

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

X-Customer-Token
string
header
required

Storefront customer authentication token. Issued via POST /admin/customers/{id}/token. Required for accessing /storefront/customers/, /storefront/orders/.

Path Parameters

id
string
required

Resource ID

Response

Success

id
string
status
enum<string>
Available options:
active,
completed,
abandoned
session_id
string | null

Guest identification ID

customer_id
string | null
items
object[]
shipping_address
object
billing_address
object
shipping_method_id
string | null
discount_codes
string[]
summary
object
applied_discounts
object[]
metadata
object
created_at
string<date-time>
updated_at
string<date-time>