Skip to content

Start a new cart session

POST
/cart/sessions
object
contextId
required
string
Example
evt_abc123
userAgent
string
Example
Mozilla/5.0
referrer
string
Example
https://example.com
ipAddresses
Array<string>

Cart session started

object
id
string
contextId
string
items
Array<object>
object
coupons
Array<string>
total
number
currency
string
createdAt
string format: date-time

Server error