The Cancel Order operation cancels existing orders or order lines. The response is the updated order snapshot.

URI Summary

Operation

Action

URI Template

URI Example

Transaction Type

Unique RequestID Needed for Duplicate Detection?

Non-URI Request Payload

Cancel order

POST

/vM.m/sellers/{sellerId}/orders/{orderId}/cancel

v1.0/seller/TMSUS/order-manage/orders/3000087032/cancel.json

Cancel existing order.

No

Order-Service-Cancel-1.0

URI domain name: Radial recommends using the new domain at apg.radial.com. To connect to production Radial APIs, use the following form of the URL:

https://apg.radial.com/v1.0/proxyname/storecode/function

You should have received the applicable information for proxyname, storecode, and function from your Radial representative.

Note: The old domain will still be in operation until further notice from Radial. For more information on Radial API URIs, see API Requests and Responses.

Schemas

Example

OrderCancelRequest receives OrderCancelResponse.

Request JSON

Copy this code sample.
Order Cancel
{
    "modificationInfo": {
        "reasonCode": "YD",
        "reasonDescription": "duplicate order",
        "requestSource": "<customer care | webStore | schedule | release>"
        "userInfo": {
            "id": "1234",
            "name": "test agent"
        }
    },
    "transaction": {
        "id": "12345"
        "type": "WMS_CANCEL",
    },
    "customAttributes": [
        {
            "name": "attName",
            "value": "attValue"
        }
    ],
    "type":"CANCEL"
 }
                    

 

Copy this code sample.

Order Line Cancel

{
    "modificationInfo": {
        "readonCode": "YD",
        "reasonDescription": "duplicate order",
        "requestSource": "<customer care | webStore | schedule | release>"
        "userInfo": {
            "id": "1234",
            "name": "test agent"
        }
    },
    "transaction": {
        "id": "12345"
        "type": "WMS_CANCEL",
    },
    "orderItems": [
        {
            "lineId": "1",
            "sublineId": "2",
            "quantity": 2,
            "cancelQuantity": 1
        }
    ],
    "customAttributes": [
        {
            "name": "attName",
            "value": "attValue"
        }
    ],
    "type":"CANCEL"
 }