Orders-orderId-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}/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


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox