Refresh promotions on the cart.
POST/cart/refreshpromotions
200 Description
Re-calculates promotion discounts, removes promotions that are no longer valid, and adds eligible promotions where AutoApply=true (up to limit of 100)
Roles
At least one of the roles below is required to access this endpoint.
FullAccessShopper
Response Body
Property | Type | Format | Max Length | Possible Values |
---|
PromosAdded | | array | --- | --- | --- | |
Property | Type | Format | Max Length | Possible Values |
---|
LineItemID | | string | --- | 100 characters | --- | | Amount | | number | float | --- | --- | | ID | | string | --- | 100 characters | --- | | LineItemLevel | | boolean | --- | --- | --- | | Code | | string | --- | 100 characters | --- | | Name | | string | --- | 100 characters | --- | | RedemptionLimit | | integer | int32 | --- | --- | | RedemptionLimitPerUser | | integer | int32 | --- | --- | | RedemptionCount | Read Only | integer | int32 | --- | --- | | QuantityLimitPerOrder | | integer | int32 | --- | --- | | ItemLimitPerOrder | | integer | int32 | --- | --- | | ItemSortBy | | string | --- | 200 characters | --- | | Description | | string | --- | 2000 characters | --- | | FinePrint | | string | --- | 2000 characters | --- | | StartDate | | string | date-time | --- | --- | | ExpirationDate | | string | date-time | --- | --- | | EligibleExpression | | string | --- | 400 characters | --- | | ValueExpression | | string | --- | 1000 characters | --- | | CanCombine | | boolean | --- | --- | --- | | AllowAllBuyers | | boolean | --- | --- | --- | | OwnerID | | string | --- | --- | --- | | AutoApply | | boolean | --- | --- | --- | | Active | | boolean | --- | --- | --- | | UseIntegration | | boolean | --- | --- | --- | | Priority | | integer | int32 | --- | --- | | xp | | object | --- | --- | --- | |
|
PromosRemoved | | array | --- | --- | --- | |
Property | Type | Format | Max Length | Possible Values |
---|
ErrorCode | | string | --- | --- | --- | | Reason | | string | --- | --- | --- | | LineItemID | | string | --- | 100 characters | --- | | Amount | | number | float | --- | --- | | ID | | string | --- | 100 characters | --- | | LineItemLevel | | boolean | --- | --- | --- | | Code | | string | --- | 100 characters | --- | | Name | | string | --- | 100 characters | --- | | RedemptionLimit | | integer | int32 | --- | --- | | RedemptionLimitPerUser | | integer | int32 | --- | --- | | RedemptionCount | Read Only | integer | int32 | --- | --- | | QuantityLimitPerOrder | | integer | int32 | --- | --- | | ItemLimitPerOrder | | integer | int32 | --- | --- | | ItemSortBy | | string | --- | 200 characters | --- | | Description | | string | --- | 2000 characters | --- | | FinePrint | | string | --- | 2000 characters | --- | | StartDate | | string | date-time | --- | --- | | ExpirationDate | | string | date-time | --- | --- | | EligibleExpression | | string | --- | 400 characters | --- | | ValueExpression | | string | --- | 1000 characters | --- | | CanCombine | | boolean | --- | --- | --- | | AllowAllBuyers | | boolean | --- | --- | --- | | OwnerID | | string | --- | --- | --- | | AutoApply | | boolean | --- | --- | --- | | Active | | boolean | --- | --- | --- | | UseIntegration | | boolean | --- | --- | --- | | Priority | | integer | int32 | --- | --- | | xp | | object | --- | --- | --- | |
|