POST api/ShoppingCart/SelectPromo?promoCode={promoCode}&plu={plu}&quantity={quantity}&ShoppingCartId={ShoppingCartId}&isSelect={isSelect}
Documentation for 'SelectPromo'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| promoCode | Documentation for 'promoCode'. |
Define this parameter in the request URI. |
| plu | Documentation for 'plu'. |
Define this parameter in the request URI. |
| quantity | Documentation for 'quantity'. |
Define this parameter in the request URI. |
| ShoppingCartId | Documentation for 'ShoppingCartId'. |
Define this parameter in the request URI. |
| isSelect | Documentation for 'isSelect'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"ResponseID": "06b7efd4-2fba-4598-9fcb-81a66e5fdfc3",
"ResponseObject": {
"$id": "2"
},
"CountdownTime": 4,
"OTPCount": 5,
"StoreCode": "sample string 6",
"ResponseCreateID": "sample string 7",
"ResponCode": "sample string 8",
"SCTPCID": "sample string 9",
"CouponBlacklistErrorDetail": "sample string 10",
"FlagCouponBlackList": true,
"IsCouponExpired": true,
"IsSuccess": true
}
application/xml, text/xml
Sample:
<WebAPIResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Message>sample string 1</Message> <ResponseID>06b7efd4-2fba-4598-9fcb-81a66e5fdfc3</ResponseID> <ResponseObject /> <CountdownTime>4</CountdownTime> <OTPCount>5</OTPCount> <StoreCode>sample string 6</StoreCode> <ResponseCreateID>sample string 7</ResponseCreateID> <ResponCode>sample string 8</ResponCode> <SCTPCID>sample string 9</SCTPCID> <CouponBlacklistErrorDetail>sample string 10</CouponBlacklistErrorDetail> <FlagCouponBlackList>true</FlagCouponBlackList> <IsCouponExpired>true</IsCouponExpired> <IsSuccess>true</IsSuccess> </WebAPIResponseModel>