post

/carts/{cartId}/products

Adds one or multiple products to the cart. Cart rules are applied, if the shop supports them, and are set up for at least one product to be added (or already placed in the cart).

Authorization

oauth2 - password

Request Parameters

1 Path Parameter

Request Body

Schema
array[object]
productId
string
1 validation
quantity
number
1 validation
properties
array[object]
metadata
object

Holds additional information about a specific product of any type. The contents of the object can vary.

1 validation

Responses

Schema
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
cartId
$$.env
1 variable not set
oauth_access_token