Skip to main content
POST
Create cart

Query Parameters

storefront_token
string
required
Example:

"ptkn_xxxxxxxxxxxxxxxxxx"

currency
enum<string>
Available options:
USD,
EUR,
CAD,
GBP,
AUD,
NZD,
SEK,
NOK,
DKK,
PLN,
INR,
JPY,
MYR,
SGD,
MXN,
BRL,
CHF

Body

application/json
items
Request Item · object[]
required
metadata
object

Custom metadata key-value pairs. Max 10 keys, keys must be alphanumeric with underscores, max 256 chars per key, max 512 bytes per value, max 2KB total.

Example:

Response

OK

id
string
required
items
Cart Item · object[]
required
metadata
object