Promotion Codes
You can enable a mini cart view in the following requests to show changes to the cart immediately. Find out more in the Views for Cart modifying operations
Prerequisites
access_token
from Headless API AuthenticationcartId
from Create a CartpriceGroupId
from Price Groups (string)cultureCode
, e.g.en-US
(string)
Add Promotion Codes
Request
Response
Get Promotion Codes
Request
Response
Remove Promotion Codes
Request
Response
Error Handling
Error | Description |
---|---|
BadRequest (400) | PriceGroup does not exist. |
NotFound (404) | Cart not found; Promotion Code not found. |
Error Response Example
Related Articles
Error HandlingLast updated