Skip to main content
POST
Add an item to the cart

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string
required

Body

application/json
productId
string
required
Example:

"b6a1e2d4-8f3c-4a5b-9e2d-1f4c6a8b9d0e"

quantity
number
required
Required range: x >= 1
Example:

2

sizeId
string

Which size. May be omitted only when the product has exactly one active size; the same size again adds to its line.

Example:

"3c1e9a7b-2d4f-4b6a-8c9d-0e1f2a3b4c5d"

Response

200 - application/json
id
string
required
userId
string
required
items
object[]
required
bundles
object[]
required

Bundle packages, each at its bundle price

subtotal
number
required

Available items + bundles