Create Cart
Create a new Cart with SKU 10064 in it.
Query parameters
app_order_idstringOptionalDeprecated
Deprecated: Use request body instead.
base_currencystringOptionalDeprecated
Deprecated: Use request body instead.
referral_idstringOptionalDeprecated
Deprecated: Use request body instead.
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Body
Optional data to initialize the cart with upon creation.
base_currencystring · nullableOptionalDefault:
Base currency that the cart should operate in.
USDreferral_idstring · nullableOptional
Associate the cart with a user or affiliate in your system. This value can also be added later on cart submission.
app_order_idstring · nullableOptional
Associate the cart with an order record in your system. This value can also be added later on cart submission.
wallet_based_checkoutbooleanOptionalDefault:
Boolean denoting whether or not this order will be placed through a wallet based payment mechanism such as apple pay.
falseResponses
200
create cart success
application/json
202
create cart with error
application/json
400
bad request
application/json
422
unprocessable entity
application/json
post
/checkout/cartLast updated
Was this helpful?