CancellationRequest

Version 2020-01

The CancellationRequest resource represents a cancellation request made by the merchant to a fulfillment service for a fulfillment order.

What you can do with CancellationRequest

The Shopify API lets you do the following with the CancellationRequest resource. More detailed versions of these general actions may be available:

Endpoints

POST /admin/api/2020-01/fulfillment_orders/{fulfillment_order_id}/cancellation_request.json
Sends a cancellation request to the fulfillment service of a fulfillment order.
message

An optional reason for the cancellation request.

Sends a cancellation request to the fulfillment service of a fulfillment order and updates the fulfillment order

POST /admin/api/2020-01/fulfillment_orders/1046000801/cancellation_request.json
{
  "cancellation_request": {
    "message": "The customer changed his mind."
  }
}
View Response
HTTP/1.1 200 OK
{
  "fulfillment_order": {
    "id": 1046000801,
    "shop_id": 690933842,
    "order_id": 450789469,
    "assigned_location_id": 48752903,
    "request_status": "cancellation_requested",
    "status": "in_progress",
    "supported_actions": [
      "cancel_fulfillment_order",
      "create_fulfillment"
    ],
    "destination": {
      "id": 1046000797,
      "address1": "Chestnut Street 92",
      "address2": "",
      "city": "Louisville",
      "company": null,
      "country": "United States",
      "email": "bob.norman@hostmail.com",
      "first_name": "Bob",
      "last_name": "Norman",
      "phone": "555-625-1199",
      "province": "Kentucky",
      "zip": "40202"
    }<