DELETE API/Promotion/PromoCode?promoCode={promoCode}&onlineOrderId={onlineOrderId}
This API will remove a single promo code currently applied to the onlineOrder
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
promoCode |
The Promotion Code to Remove |
string |
Required |
onlineOrderId |
Online Order ID to Remove Promotion Code |
integer |
Default value is -1 |
Body Parameters
None.
Response Information
Resource Description
ApiResultName | 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.