Orders-orderId-discounts:DELETE
From Hostway API Documentation
Revision as of 11:58, 20 May 2013 by Mike.robski (Talk | contribs)
DELETE /orders/{orderId}/discounts
Remove all discounts that were previously added at the Order level. This will not remove discounts that were added to specific products or services.
Contents |
Request
DELETE /orders/{orderId}/discounts
Request Parameters
- orderId - string
- The unique order Id. The URI of the order is returned by the POST /orders call.
URI Parameters
None.
Request Headers
- Cookie
- A cookie named OwnerId to identify the client (for most browser clients, the browser will do this automatically, depending on the browser configuration). The value of the cookie would come from the response to the create order request in the Set-Cookie response header.
Response
Status Code
- 204 No Content
- Success
- 401 Unauthorized
- The request was not properly authorized.
- 403 Forbidden
- The client does not have sufficient privileges.
- 404 Not Found
- Returned if the order could not be found.
See also