v1

latestOpenAPI 3.0.3MIT2026-07-17291830.7 KB
cart

Adds an item in shopping cart

Adds an item to the shopping cart if it doesn't already exist, or increment quantity by the specified number of items if it does.

post/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"}