DELETE API/Promotion/PromoCode?onlineOrderId={onlineOrderId}&orderId={orderId}
This API will remove all promotion codes currently applied to an order or online order
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
onlineOrderId |
If this is for an online order, pass in the online order #. You would never need both the online order and the order id. |
integer |
None. |
orderId |
If this is for a regular order, pass in the order id. You would never need both the online order and the order id. |
integer |
None. |
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 not available.