4min

Create a Cart

Cart creation begins the checkout process. An empty cart with no products can be created, or a cart prefilled with items can be created for your shopper.

ο»ΏPOST /checkout/cart

Intialize an empty cart or pass in a list of SKUs to generate a pre-filled cart. API Reference: Create Cart

Request

Cart creation takes the following optional parameters:

base_currency - Intializes your cart with the provided base currency. By default a cart is created in USD.

skus - A list of SKUs for the products you want to initialize the cart with

referral_id - TODO Ishan

Cart creation takes the following optional query parameters:

app_order_id - This parameter lets you map the order in Violet to an existing order record within your system.

ο»Ώ

Curl
|

Response

JSON
|

ο»Ώ

Updated 13 May 2022
Did this page help you?
Yes
No