Skip to main content
POST
Create an item

Headers

market-context-value
string

The market context value (e.g. 'IE')

Example:

"IE"

market-context-type
string

The market context type (e.g. 'country')

Example:

"country"

Body

application/json
productId
number
required

The Shopify ID of the product

Example:

123

variantId
number

The Shopify ID of the variant (required when source is 'cart')

Example:

456

quantity
number
default:1

The quantity of the item

Example:

1

tags
string[]

Tags associated with the item (must contain only lowercase letters, numbers, hyphens or underscores)

Example:
source
enum<string>

Source of the item save (e.g., 'cart' for items saved from cart)

Available options:
cart
Example:

"cart"

Response

The item has been successfully created.

data
object
required

Response data