Orders-orderId-account-products-productId:DELETE
From Hostway API Documentation
Revision as of 00:58, 17 February 2013 by Mike.robski (Talk | contribs)
DELETE /orders/{orderId}/account/products/{productId}
Removes a product from the account's order.
Contents |
Request
DELETE /orders/{orderId}/account/products/{productId}
Request Parameters
- orderId - string
- The unique order Id. The URI of the order is returned by the POST /orders call.
- productId - string
- Product's unique Id.
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
- The operation was successfully completed.
- 401 Unauthorized
- The OwnerId cookie or the Authorization header are not specified or do not permit access to the specified order.
- 404 Not Found
- The specified order or product does not exist.
See also