Orders-orderId-account-products-productId-services-serviceId-discounts:DELETE

(Difference between revisions)
Jump to: navigation, search
 
m (1 revision: Release 85)

Revision as of 16:31, 27 September 2013

DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}/discounts

Remove all discounts that were previously added at the Service level. This will not remove discounts that were added at the order or product level.

Contents


Request

DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}/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
serviceId - string
UUID specifying the service 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


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox