Newer Version Available

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

Commerce Webstore Cart Promotions

Get promotions associated with a cart.
Resource
1/commerce/webstores/webstoreId/carts/cartStateOrId/promotions
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
GET
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
effective​AccountId 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 53.0
Response body for GET
Cart Promotion Collection