The REST Admin API is a legacy API as of October 1, 2024. All apps and integrations should be built with the GraphQL Admin API. For details and migration steps, visit our migration guide.

Multiple access scopes needed — refer to each endpoint for access scope requirements.

You can use the Fulfillment resource to view fulfillments for an order or a fulfillment order. A fulfillment order represents a group of one or more items in an order that will be fulfilled from the same location. A fulfillment represents work that is completed as part of a fulfillment order and can include one or more items. You can use the Fulfillment resource to manage fulfillments for fulfillment orders.

This resource is typically used in apps that perform shipping-related actions, such as making tracking and delivery updates, or creating additional shipments as required for an order or fulfillment order.

Each fulfillment supports a single tracking number. If you need to use multiple tracking numbers, then you should create separate fulfillments.

Learn about using fulfillment order-based workflows.

Was this section helpful?

Properties

created_at
The date and time when the fulfillment was created. The API returns this value in ISO 8601 format.

id
->id
The ID for the fulfillment.

A list of the fulfillment's line items, which includes:


location_id
->id
The unique identifier of the location that the fulfillment was processed at. To find the ID of the location, use the Location resource.

name
The uniquely identifying fulfillment name, consisting of two parts separated by a .. The first part represents the order name and the second part represents the fulfillment number. The fulfillment number automatically increments depending on how many fulfillments are in an order (e.g. #1001.1, #1001.2).

order_id
->id
The unique numeric identifier for the order.

origin_address

The address of the fulfillment location. This property is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. To retrieve a fulfillment location's address, use the assigned_location` property on the FulfillmentOrder resource instead.


receipt
deprecated

A text field that provides information about the receipt:


service

The fulfillment service associated with the fulfillment.


shipment_status

The current shipment status of the fulfillment. Valid values:


status

The status of the fulfillment. Valid values:


tracking_company

The name of the tracking company.

For the tracking company names from the list below Shopify automatically builds tracking URLs for all of the provided tracking numbers, which makes the tracking numbers clickable in the interface.

Additionally, for the tracking companies listed on the Shipping Carriers help page Shopify will automatically update the fulfillment's shipment_status field during the fulfillment process.

Supported tracking companies

The following tracking companies display for shops located in any country:


Was this section helpful?
{}The Fulfillment resource
{
  "created_at": "2012-03-13T16:09:54-04:00",
  "id": 255858046,
  "line_items": [
    {
      "id": 466157049,
      "variant_id": 39072856,
      "title": "IPod Nano - 8gb",
      "quantity": 1,
      "price": "199.00",
      "grams": 200,
      "sku": "IPOD2008GREEN",
      "variant_title": "green",
      "vendor": null,
      "fulfillment_service": "manual",
      "product_id": 632910392,
      "requires_shipping": true,
      "taxable": true,
      "gift_card": false,
      "name": "IPod Nano - 8gb - green",
      "variant_inventory_management": "shopify",
      "properties": [],
      "product_exists": true,
      "fulfillable_quantity": 1,
      "total_discount": "0.00",
      "fulfillment_status": null,
      "fulfillment_line_item_id": 274098237,
      "tax_lines": [],
      "duties": [
        {
          "id": "2",
          "harmonized_system_code": "520300",
          "country_code_of_origin": "CA",
          "shop_money": {
            "amount": "164.86",
            "currency_code": "CAD"
          },
          "presentment_money": {
            "amount": "105.31",
            "currency_code": "EUR"
          },
          "tax_lines": [
            {
              "title": "VAT",
              "price": "16.486",
              "rate": 0.1,
              "price_set": {
                "shop_money": {
                  "amount": "16.486",
                  "currency_code": "CAD"
                },
                "presentment_money": {
                  "amount": "10.531",
                  "currency_code": "EUR"
                }
              }
            }
          ],
          "admin_graphql_api_id": "gid://shopify/Duty/2"
        }
      ]
    }
  ],
  "location_id": 40642626,
  "name": "#1001.1",
  "order_id": 450789469,
  "origin_address": [
    {
      "address1": "1 Rue des Carrieres",
      "address2": "Suite 1234",
      "city": "Montreal",
      "country_code": "CA",
      "province_code": "QC",
      "zip": "G1R 4P5"
    }
  ],
  "receipt": {
    "testcase": true,
    "authorization": "123456"
  },
  "service": "manual",
  "shipment_status": "confirmed",
  "status": "failure",
  "tracking_company": "China Post",
  "tracking_numbers": [
    "112345Z2345",
    "1Z001985YW99744790"
  ],
  "tracking_number": "112345Z2345",
  "tracking_urls": [
    "http://track-chinapost.com/startairmail.php?code=112345Z2345",
    "http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=1Z001985YW99744790&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track"
  ],
  "tracking_url": "http://track-chinapost.com/startairmail.php?code=112345Z2345",
  "updated_at": "2012-05-01T14:22:25-04:00",
  "variant_inventory_management": "shopify"
}

Creates a fulfillment for one or many fulfillment orders. The fulfillment orders are associated with the same order and are assigned to the same location.

api_version
string
required

line_items_by_fulfillment_order
array
required

The fulfillment order line items that have to be fulfilled.


message
string
A message that's associated with the fulfillment request. This message is only available if the associated fulfillment order is assigned to a third-party fulfillment service that has opted in to managing fulfillment orders.

notify_customer
boolean
Whether the customer should be notified. If set to true, then an email will be sent when the fulfillment is created or updated. The default value is false.

origin_address
object

The address of the fulfillment location. This property is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. To retrieve a fulfillment location's address, use the assigned_location` property on the FulfillmentOrder resource instead.


tracking_info
object

The tracking information for the fulfillment.


Was this section helpful?
Was this section helpful?
post
/admin/api/2024-10/fulfillments.json
Copy
curl -d '{"fulfillment":{"line_items_by_fulfillment_order":[{"fulfillment_order_id":1046000779}],"tracking_info":{"number":"MS1562678","url":"https://www.my-shipping-company.com?tracking_number=MS1562678"}}}' \
-X POST "https://your-development-store.myshopify.com/admin/api/2024-10/fulfillments.json" \
-H "X-Shopify-Access-Token: {access_token}" \
-H "Content-Type: application/json"
{}Response
JSON
HTTP/1.1 201 Created
{
  "fulfillment": {
    "id": 1069019866,
    "order_id": 450789469,
    "status": "success",
    "created_at": "2024-09-25T15:47:18-04:00",
    "service": "manual",
    "updated_at": "2024-09-25T15:47:18-04:00",
    "tracking_company": null,
    "shipment_status": null,
    "location_id": 24826418,
    "origin_address": null,
    "line_items": [
      {
        "id": 1071823177,
        "variant_id": 389013007,
        "title": "Crafty Shoes - Red",
        "quantity": 1,
        "sku": "crafty_shoes_red",
        "variant_title": "Small",
        "vendor": "Birthday Present Factory",
        "fulfillment_service": "manual",
        "product_id": 910489600,
        "requires_shipping": true,
        "taxable": true,
        "gift_card": false,
        "name": "Crafty Shoes - Red - Small",
        "variant_inventory_management": null,
        "properties": [],
        "product_exists": true,
        "fulfillable_quantity": 0,
        "grams": 0,
        "price": "10.00",
        "total_discount": "0.00",
        "fulfillment_status": "fulfilled",
        "price_set": {
          "shop_money": {
            "amount": "10.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "10.00",
            "currency_code": "USD"
          }
        },
        "total_discount_set": {
          "shop_money": {
            "amount": "0.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "0.00",
            "currency_code": "USD"
          }
        },
        "discount_allocations": [],
        "duties": [],
        "admin_graphql_api_id": "gid://shopify/LineItem/1071823177",
        "tax_lines": []
      }
    ],
    "tracking_number": "MS1562678",
    "tracking_numbers": [
      "MS1562678"
    ],
    "tracking_url": "https://www.my-shipping-company.com?tracking_number=MS1562678",
    "tracking_urls": [
      "https://www.my-shipping-company.com?tracking_number=MS1562678"
    ],
    "receipt": {},
    "name": "#1001.2",
    "admin_graphql_api_id": "gid://shopify/Fulfillment/1069019866"
  }
}

Cancels a fulfillment.

api_version
string
required

fulfillment_id
string
required

Was this section helpful?
Path parameters
fulfillmentid=1069019864
string
required
Was this section helpful?
post
/admin/api/2024-10/fulfillments/1069019864/cancel.json
Copy
curl -d '{}' \
-X POST "https://your-development-store.myshopify.com/admin/api/2024-10/fulfillments/1069019864/cancel.json" \
-H "X-Shopify-Access-Token: {access_token}" \
-H "Content-Type: application/json"
{}Response
JSON
HTTP/1.1 200 OK
{
  "fulfillment": {
    "order_id": 450789469,
    "status": "cancelled",
    "location_id": 24826418,
    "id": 1069019864,
    "created_at": "2024-09-25T15:46:19-04:00",
    "service": "manual",
    "updated_at": "2024-09-25T15:47:17-04:00",
    "tracking_company": "UPS",
    "shipment_status": null,
    "origin_address": {
      "address1": "150 Elgin St",
      "city": "Ottawa",
      "zip": "K2P 1L4",
      "province_code": "ON",
      "country_code": "CA"
    },
    "line_items": [
      {
        "id": 1071823174,
        "variant_id": 43729076,
        "title": "Draft",
        "quantity": 1,
        "sku": "draft-151",
        "variant_title": "151cm",
        "vendor": "Birthday Present Factory",
        "fulfillment_service": "manual",
        "product_id": 108828309,
        "requires_shipping": true,
        "taxable": true,
        "gift_card": false,
        "name": "Draft - 151cm",
        "variant_inventory_management": null,
        "properties": [],
        "product_exists": true,
        "fulfillable_quantity": 1,
        "grams": 0,
        "price": "10.00",
        "total_discount": "0.00",
        "fulfillment_status": "fulfilled",
        "price_set": {
          "shop_money": {
            "amount": "10.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "10.00",
            "currency_code": "USD"
          }
        },
        "total_discount_set": {
          "shop_money": {
            "amount": "0.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "0.00",
            "currency_code": "USD"
          }
        },
        "discount_allocations": [],
        "duties": [],
        "admin_graphql_api_id": "gid://shopify/LineItem/1071823174",
        "tax_lines": []
      }
    ],
    "tracking_number": "#☠1☢\n---\n4321\n",
    "tracking_numbers": [
      "#☠1☢\n---\n4321\n"
    ],
    "tracking_url": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=#☠1☢---4321",
    "tracking_urls": [
      "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=#☠1☢---4321"
    ],
    "receipt": {},
    "name": "#1001.1",
    "admin_graphql_api_id": "gid://shopify/Fulfillment/1069019864"
  }
}

Updates the tracking information for a fulfillment.

api_version
string
required

fulfillment_id
string
required

tracking_info
object
required

The tracking information for the fulfillment.


notify_customer
boolean
Whether the customer will be notified of this update and future updates for the fulfillment.

Was this section helpful?
Path parameters
fulfillmentid=1069019871
string
required
Was this section helpful?
post
/admin/api/2024-10/fulfillments/1069019871/update_tracking.json
Copy
curl -d '{"fulfillment":{"notify_customer":true,"tracking_info":{"company":"UPS","number":"1Z001985YW99744790"}}}' \
-X POST "https://your-development-store.myshopify.com/admin/api/2024-10/fulfillments/1069019871/update_tracking.json" \
-H "X-Shopify-Access-Token: {access_token}" \
-H "Content-Type: application/json"
{}Response
JSON
HTTP/1.1 200 OK
{
  "fulfillment": {
    "tracking_company": "UPS",
    "location_id": 24826418,
    "id": 1069019871,
    "order_id": 450789469,
    "status": "success",
    "created_at": "2024-09-25T15:46:19-04:00",
    "service": "manual",
    "updated_at": "2024-09-25T15:47:21-04:00",
    "shipment_status": null,
    "origin_address": {
      "address1": "150 Elgin St",
      "city": "Ottawa",
      "zip": "K2P 1L4",
      "province_code": "ON",
      "country_code": "CA"
    },
    "line_items": [
      {
        "id": 1071823182,
        "variant_id": 43729076,
        "title": "Draft",
        "quantity": 1,
        "sku": "draft-151",
        "variant_title": "151cm",
        "vendor": "Birthday Present Factory",
        "fulfillment_service": "manual",
        "product_id": 108828309,
        "requires_shipping": true,
        "taxable": true,
        "gift_card": false,
        "name": "Draft - 151cm",
        "variant_inventory_management": null,
        "properties": [],
        "product_exists": true,
        "fulfillable_quantity": 1,
        "grams": 0,
        "price": "10.00",
        "total_discount": "0.00",
        "fulfillment_status": "fulfilled",
        "price_set": {
          "shop_money": {
            "amount": "10.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "10.00",
            "currency_code": "USD"
          }
        },
        "total_discount_set": {
          "shop_money": {
            "amount": "0.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "0.00",
            "currency_code": "USD"
          }
        },
        "discount_allocations": [],
        "duties": [],
        "admin_graphql_api_id": "gid://shopify/LineItem/1071823182",
        "tax_lines": []
      }
    ],
    "tracking_number": "1Z001985YW99744790",
    "tracking_numbers": [
      "1Z001985YW99744790"
    ],
    "tracking_url": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=1Z001985YW99744790",
    "tracking_urls": [
      "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=1Z001985YW99744790"
    ],
    "receipt": {},
    "name": "#1001.1",
    "admin_graphql_api_id": "gid://shopify/Fulfillment/1069019871"
  }
}

Retrieves fulfillments associated with a fulfillment order.

api_version
string
required

fulfillment_order_id
string
required

fulfillment_order_id
The ID of the fulfillment order that is associated with the fulfillments.

Was this section helpful?
Was this section helpful?
get
/admin/api/2024-10/fulfillment_orders/1046000786/fulfillments.json
Copy
curl -X GET "https://your-development-store.myshopify.com/admin/api/2024-10/fulfillment_orders/1046000786/fulfillments.json" \
-H "X-Shopify-Access-Token: {access_token}"
{}Response
JSON
HTTP/1.1 200 OK
{
  "fulfillments": [
    {
      "id": 1069019876,
      "order_id": 450789469,
      "status": "success",
      "created_at": "2024-09-25T15:46:19-04:00",
      "service": "manual",
      "updated_at": "2024-09-25T15:46:19-04:00",
      "tracking_company": "UPS",
      "shipment_status": null,
      "location_id": 24826418,
      "origin_address": {
        "address1": "150 Elgin St",
        "city": "Ottawa",
        "zip": "K2P 1L4",
        "province_code": "ON",
        "country_code": "CA"
      },
      "line_items": [
        {
          "id": 1071823188,
          "variant_id": 43729076,
          "title": "Draft",
          "quantity": 1,
          "sku": "draft-151",
          "variant_title": "151cm",
          "vendor": "Birthday Present Factory",
          "fulfillment_service": "manual",
          "product_id": 108828309,
          "requires_shipping": true,
          "taxable": true,
          "gift_card": false,
          "name": "Draft - 151cm",
          "variant_inventory_management": null,
          "properties": [],
          "product_exists": true,
          "fulfillable_quantity": 1,
          "grams": 0,
          "price": "10.00",
          "total_discount": "0.00",
          "fulfillment_status": "fulfilled",
          "price_set": {
            "shop_money": {
              "amount": "10.00",
              "currency_code": "USD"
            },
            "presentment_money": {
              "amount": "10.00",
              "currency_code": "USD"
            }
          },
          "total_discount_set": {
            "shop_money": {
              "amount": "0.00",
              "currency_code": "USD"
            },
            "presentment_money": {
              "amount": "0.00",
              "currency_code": "USD"
            }
          },
          "discount_allocations": [],
          "duties": [],
          "admin_graphql_api_id": "gid://shopify/LineItem/1071823188",
          "tax_lines": []
        }
      ],
      "tracking_number": "#☠1☢\n---\n4321\n",
      "tracking_numbers": [
        "#☠1☢\n---\n4321\n"
      ],
      "tracking_url": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=#☠1☢---4321",
      "tracking_urls": [
        "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=#☠1☢---4321"
      ],
      "receipt": {},
      "name": "#1001.1",
      "admin_graphql_api_id": "gid://shopify/Fulfillment/1069019876"
    }
  ]
}

Requires ANY of the following access scopes: orders, marketplace_orders.

Retrieves fulfillments associated with an order. Note: This endpoint implements pagination by using links that are provided in the response header. To learn more, refer to Make paginated requests to the REST Admin API.

api_version
string
required

order_id
string
required

created_at_max
Show fulfillments created before date (format: 2014-04-25T16:15:47-04:00).

created_at_min
Show fulfillments created after date (format: 2014-04-25T16:15:47-04:00).

fields
A comma-separated list of fields to include in the response.

limit
≤ 250
default 50
Limit the amount of results.

since_id
Restrict results to after the specified ID.

updated_at_max
Show fulfillments last updated before date (format: 2014-04-25T16:15:47-04:00).

updated_at_min
Show fulfillments last updated after date (format: 2014-04-25T16:15:47-04:00).

Was this section helpful?
Path parameters
orderid=450789469
string
required
Was this section helpful?
get
/admin/api/2024-10/orders/450789469/fulfillments.json
Copy
curl -X GET "https://your-development-store.myshopify.com/admin/api/2024-10/orders/450789469/fulfillments.json" \
-H "X-Shopify-Access-Token: {access_token}"
{}Response
JSON
HTTP/1.1 200 OK
{
  "fulfillments": [
    {
      "id": 255858046,
      "order_id": 450789469,
      "status": "failure",
      "created_at": "2024-09-25T15:46:19-04:00",
      "service": "manual",
      "updated_at": "2024-09-25T15:46:19-04:00",
      "tracking_company": "USPS",
      "shipment_status": null,
      "location_id": 655441491,
      "origin_address": null,
      "line_items": [
        {
          "id": 466157049,
          "variant_id": 39072856,
          "title": "IPod Nano - 8gb",
          "quantity": 1,
          "sku": "IPOD2008GREEN",
          "variant_title": "green",
          "vendor": null,
          "fulfillment_service": "manual",
          "product_id": 632910392,
          "requires_shipping": true,
          "taxable": true,
          "gift_card": false,
          "name": "IPod Nano - 8gb - green",
          "variant_inventory_management": "shopify",
          "properties": [
            {
              "name": "Custom Engraving Front",
              "value": "Happy Birthday"
            },
            {
              "name": "Custom Engraving Back",
              "value": "Merry Christmas"
            }
          ],
          "product_exists": true,
          "fulfillable_quantity": 0,
          "grams": 200,
          "price": "199.00",
          "total_discount": "0.00",
          "fulfillment_status": null,
          "price_set": {
            "shop_money": {
              "amount": "199.00",
              "currency_code": "USD"
            },
            "presentment_money": {
              "amount": "199.00",
              "currency_code": "USD"
            }
          },
          "total_discount_set": {
            "shop_money": {
              "amount": "0.00",
              "currency_code": "USD"
            },
            "presentment_money": {
              "amount": "0.00",
              "currency_code": "USD"
            }
          },
          "discount_allocations": [
            {
              "amount": "3.34",
              "discount_application_index": 0,
              "amount_set": {
                "shop_money": {
                  "amount": "3.34",
                  "currency_code": "USD"
                },
                "presentment_money": {
                  "amount": "3.34",
                  "currency_code": "USD"
                }
              }
            }
          ],
          "admin_graphql_api_id": "gid://shopify/LineItem/466157049",
          "duties": [],
          "tax_lines": [
            {
              "price": "3.98",
              "rate": 0.06,
              "title": "State Tax",
              "price_set": {
                "shop_money": {
                  "amount": "3.98",
                  "currency_code": "USD"
                },
                "presentment_money": {
                  "amount": "3.98",
                  "currency_code": "USD"
                }
              },
              "channel_liable": null
            }
          ],
          "fulfillment_line_item_id": 225088298
        }
      ],
      "tracking_number": "1Z1234512345123456",
      "tracking_numbers": [
        "1Z1234512345123456"
      ],
      "tracking_url": "https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=1Z1234512345123456",
      "tracking_urls": [
        "https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=1Z1234512345123456"
      ],
      "receipt": {
        "testcase": true,
        "authorization": "123456"
      },
      "name": "#1001.0",
      "admin_graphql_api_id": "gid://shopify/Fulfillment/255858046"
    }
  ]
}

Requires ANY of the following access scopes: orders, marketplace_orders.

Retrieve a specific fulfillment

api_version
string
required

fulfillment_id
string
required

order_id
string
required

fields
Comma-separated list of fields to include in the response.

Was this section helpful?
Was this section helpful?
get
/admin/api/2024-10/orders/450789469/fulfillments/255858046.json
Copy
curl -X GET "https://your-development-store.myshopify.com/admin/api/2024-10/orders/450789469/fulfillments/255858046.json" \
-H "X-Shopify-Access-Token: {access_token}"
{}Response
JSON
HTTP/1.1 200 OK
{
  "fulfillment": {
    "id": 255858046,
    "order_id": 450789469,
    "status": "failure",
    "created_at": "2024-09-25T15:46:19-04:00",
    "service": "manual",
    "updated_at": "2024-09-25T15:46:19-04:00",
    "tracking_company": "USPS",
    "shipment_status": null,
    "location_id": 655441491,
    "origin_address": null,
    "line_items": [
      {
        "id": 466157049,
        "variant_id": 39072856,
        "title": "IPod Nano - 8gb",
        "quantity": 1,
        "sku": "IPOD2008GREEN",
        "variant_title": "green",
        "vendor": null,
        "fulfillment_service": "manual",
        "product_id": 632910392,
        "requires_shipping": true,
        "taxable": true,
        "gift_card": false,
        "name": "IPod Nano - 8gb - green",
        "variant_inventory_management": "shopify",
        "properties": [
          {
            "name": "Custom Engraving Front",
            "value": "Happy Birthday"
          },
          {
            "name": "Custom Engraving Back",
            "value": "Merry Christmas"
          }
        ],
        "product_exists": true,
        "fulfillable_quantity": 1,
        "grams": 200,
        "price": "199.00",
        "total_discount": "0.00",
        "fulfillment_status": null,
        "price_set": {
          "shop_money": {
            "amount": "199.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "199.00",
            "currency_code": "USD"
          }
        },
        "total_discount_set": {
          "shop_money": {
            "amount": "0.00",
            "currency_code": "USD"
          },
          "presentment_money": {
            "amount": "0.00",
            "currency_code": "USD"
          }
        },
        "discount_allocations": [
          {
            "amount": "3.34",
            "discount_application_index": 0,
            "amount_set": {
              "shop_money": {
                "amount": "3.34",
                "currency_code": "USD"
              },
              "presentment_money": {
                "amount": "3.34",
                "currency_code": "USD"
              }
            }
          }
        ],
        "duties": [],
        "admin_graphql_api_id": "gid://shopify/LineItem/466157049",
        "tax_lines": [
          {
            "title": "State Tax",
            "price": "3.98",
            "rate": 0.06,
            "channel_liable": null,
            "price_set": {
              "shop_money": {
                "amount": "3.98",
                "currency_code": "USD"
              },
              "presentment_money": {
                "amount": "3.98",
                "currency_code": "USD"
              }
            }
          }
        ]
      }
    ],
    "tracking_number": "1Z1234512345123456",
    "tracking_numbers": [
      "1Z1234512345123456"
    ],
    "tracking_url": "https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=1Z1234512345123456",
    "tracking_urls": [
      "https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=1Z1234512345123456"
    ],
    "receipt": {
      "testcase": true,
      "authorization": "123456"
    },
    "name": "#1001.0",
    "admin_graphql_api_id": "gid://shopify/Fulfillment/255858046"
  }
}

Requires orders access scope.

Retrieves a count of fulfillments associated with a specific order

api_version
string
required

order_id
string
required

created_at_max
Count fulfillments created before date (format: 2014-04-25T16:15:47-04:00).

created_at_min
Count fulfillments created after date (format: 2014-04-25T16:15:47-04:00).

updated_at_max
Count fulfillments last updated before date (format: 2014-04-25T16:15:47-04:00).

updated_at_min
Count fulfillments last updated after date (format: 2014-04-25T16:15:47-04:00).

Was this section helpful?
Path parameters
orderid=450789469
string
required
Was this section helpful?
get
/admin/api/2024-10/orders/450789469/fulfillments/count.json
Copy
curl -X GET "https://your-development-store.myshopify.com/admin/api/2024-10/orders/450789469/fulfillments/count.json" \
-H "X-Shopify-Access-Token: {access_token}"
{}Response
JSON
HTTP/1.1 200 OK
{
  "count": 1
}