POST API/Promotion/PromoCode/Validation?onlineOrderId={onlineOrderId}&orderId={orderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| onlineOrderId | integer |
None. |
|
| orderId | integer |
None. |
Body Parameters
Collection of stringRequest Formats
application/xml, text/xml
Sample:
<ListOfString> <String>sample string 1</String> <String>sample string 2</String> </ListOfString>
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Whether the action was successful |
boolean |
None. |
| MessageTranslationKey |
A translation key for any message that is returned. It will be the first of the messages if more than one exists. |
string |
None. |
| Message |
Any message that needs to be conveyed related to the request. It will be the first of the messages if more than one exists. |
string |
None. |
| Messages |
Any message that needs to be conveyed related to the request. |
Collection of ApiResultMessage |
None. |
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.