Newer Version Available

This content describes an older version of this product. View Latest

Commerce Webstore Cart, Make Primary

Make a secondary cart a primary cart.
Resource
1/commerce/webstores/webstoreID/carts/cartStateOrId/actions/make-primary
Values for cartStateOrId are:
  • cartId—ID of the cart.
  • active—Active cart.
  • current—Cart that isn’t closed or pending deletion. Available in version 50.0 and later.
Available version
53.0
Requires Chatter
No
HTTP methods
POST
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
effective​AccountId String ID of the account for which the request is made. If unspecified, defaults to the account ID for the context user. Optional 53.0
Response body for POST
Commerce Action Result