Newer Version Available

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

Commerce Webstore Promotions, Associate Action

Gets the associated promotions and price adjustments for a cart and its items. Only the 50 highest priority eligible promotions are processed.
Resource
Available version
53.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
Root XML tag
<salesTransaction>
JSON example
Properties
Name Type Description Required or Optional Available Version
effective​AccountId String ID of the account for which the request is made. Required 53.0
sales​Transaction Map<String, Object> Map of a cart and its items. The fields shown in the example are required to process promotions. Additional fields are allowed but ignored.

In error messages, the TotalPriceAfterAllAdjustments field is referred to as TotalPrice.

Note

Required 53.0
Response body for POST
Promotion Association Collection