Newer Version Available
Commerce Webstore Carts
Buyers with read access to carts can create and delete carts.
- Resource
-
1/commerce/webstores/webstoreId/carts - Available version
- 49.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
- Root XML tag
- <cart>
- JSON example
-
1{ 2 "name":"My Cart", 3 "type":"Cart" 4} - Properties
-
Name Type Description Required or Optional Available Version effectiveAccountId String ID of the buyer account or guest buyer profile for which the request is made. If unspecified, the default value is determined from context. Optional 49.0 name String Name of the cart. The name can have up to 250 Unicode characters. If unspecified, defaults to the generated name. Optional 49.0 type String Type of cart. Value is Cart. If unspecified, defaults to Cart. Optional 49.0
- Response body for POST
- Cart Summary