Cart
Add item
AuthorizationBearer <token>
회원 accessToken
In: header
Header Parameters
x-cart-token*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
productId*string
optionId?string
quantity*integer
Range
1 <= value <= 999Response Body
curl -X POST "https://example.com/storefront/v1/cart/items" \ -H "x-cart-token: string" \ -H "Content-Type: application/json" \ -d '{ "productId": "string", "quantity": 1 }'Empty