cart

Replace/add an item in shopping cart

Adds an item to the shopping cart if it doesn't already exist, or replace with given item if it does.

put/api/v1/carts/{customerId}/items

Path parameters

customerIdstring required

Customer Identifier

Request body

idstring

Item Identifier

quantityinteger

The item quantity

{"stackTrail":"components:schemas:Item:properties:unitPrice","oasType":"schema","type":"unknown","description":"The item's price per unit"}

Response

Item added successfully

idstring

Item Identifier

quantityinteger

The item quantity

{"stackTrail":"components:schemas:Item:properties:unitPrice","oasType":"schema","type":"unknown","description":"The item's price per unit"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.