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.

Body

application/json
productId
string
required
Example:

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

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

2

Response

201 - undefined