Delete one sales order

delete

/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHubRequests/{OrderKey}

Request

Path Parameters
  • Value that uniquely identifies the sales order. This value is derived by concatenating the value of SourceOrderSystem, a colon, and the value of SourceOrderId. For orders created through the Oracle Order Management Cloud work area, the SourceOrderId is same as the HeaderId. For example, if SourceOrderSystem is LEG and SourceOrderId is R13_Sample_Order, the value of this attribute is LEG:R13_Sample_Order.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Default Response

No Content. This task does not return elements in the response body.
Back to Top

Examples

This example describes how to delete one sales order.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl -i -X DELETE \
   -H "Authorization:Basic c2Ntb3BlcmF0aW9uczpXZWxjb21lMQ==" \
   -H "REST-Framework-Version:4" \
 'https://servername/fscmRestApi/resources/version/salesOrdersForOrderHubRequests/GPR:R13_Rest_stage_10'

Example Response Body

The following shows an example of the response body in JSON format.

Response
204 No Content
Back to Top