Submit cancel of an order

put

/ccstore/v1/orders/submitCancelOrder

This is used to submit the cancel order.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : submitCancelOrder_request
Type: object
Show Source
Example:
{
    "orderId":"o30411"
}
Back to Top

Response

Supported Media Types

200 Response

Following result is returned when operation succeeds.
Body ()
Root Schema : submitCancelOrder_response
Type: object
Show Source
Example Response (application/json)
{
    "orderCancelled":true,
    "orderId":"o10004"
}

Default Response

The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
Error CodeDescriptionPossible Fix
28302, 28318Server error caused cancel failure.Check error messages for further information
200139Cancel not allowed.Ensure details of cancel order being submitted match the original order being cancelled.

The error response:
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top