Orders-orderId-account-products-productId-discounts:DELETE
From Hostway API Documentation
Revision as of 15:31, 27 September 2013 by Mike.robski (Talk | contribs)
DELETE /orders/{orderId}/account/products/{productId}/discounts
Remove all discounts that were previously added at the Product level. This will not remove discounts that were added at the order or service level.
Contents |
Request
DELETE /orders/{orderId}/account/products/{productId}/discounts
Request Parameters
- orderId - string
- The unique order Id. The URI of the order is returned by the POST /orders call.
- productId - string
- UUID specifying the product for which actions are to be performed
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