POST api/carts/Promotions
Get the Promotions after applying promo code
Request Information
URI Parameters
None.
Body Parameters
PromotionRequestName | Description | Type | Additional information |
---|---|---|---|
promotionCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "promotionCode": "sample string 1" }
application/xml, text/xml
Sample:
<PromotionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adi.BusinessEntities.ShoppingCart"> <promotionCode>sample string 1</promotionCode> </PromotionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomActionResultOfPromotionResponseName | Description | Type | Additional information |
---|---|---|---|
StatusCode | HttpStatusCode |
None. |
|
_data | PromotionResponse |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.