Shopify - Create fulfillment action

New fulfillment order API architecture

This action creates a fulfillment for one or more fulfillment orders in Shopify. The fulfillment orders are associated with the same order and are assigned to the same location.

NO DUPLICATE FULFILLMENT ORDERS IN REQUESTS

As part of our latest updates, we have implemented validation to prevent duplicate fulfillment orders in requests to create a fulfillment. It is now required that each fulfillment order ID is unique within the Line items by fulfillment order field.

Input

FieldDescription
Line items by fulfillment orderThe fulfillment order line items that have to be fulfilled. See below for the structure of each line item by fulfillment order.
MessageOptional. A message that's associated with the fulfillment request.
Notify customer?Optional. Whether a notification should be sent to the customer when the fulfillment is created. Defaults to false.
Origin addressOptional. The address of the fulfillment location. See below for the structure of each origin address.
Tracking informationOptional. The tracking information for the fulfillment. See below for the structure of each tracking information.

Line items by fulfillment order

FieldDescription
Line items by fulfillment order source listOptional. The source list of the lines that you plan to upload.
Fulfillment order IDThe ID of the fulfillment order.
Fulfillment order line itemsOptional. The fulfillment order line items and the quantity of each which should be fulfilled. If left blank, then all of the fulfillment order line items of the associated fulfillment order are fulfilled. See below for the structure for each line item.

Fulfillment order line items

FieldDescription
Fulfillment order line items source listOptional. The source list of the lines that you plan to upload.
IDThe ID of the fulfillment order line item.
QuantityThe quantity of the fulfillment order line item.

Origin address

FieldDescription
Address (line 1)Optional. The first line of the address. Typically the street address of the fulfillment location.
Address (line 2)Optional. The second line of the address. Typically the number of the apartment, suite, or unit.
CityOptional. The city of the fulfillment location.
Country codeThe two-letter country code (ISO 3166-1 alpha-2 formats) of the fulfillment location.
Province codeOptional. The province of the fulfillment location.
ZipOptional. The zip code of the fulfillment location.

Tracking information

FieldDescription
Tracking companyOptional. The name of the tracking company.
Tracking numberOptional. The tracking number for the fulfillment.
Tracking URLOptional. The URL to track the fulfillment.

Output

The output of the action above is the Fulfillment resource. Read the Shopify documentation for more information.

Legacy fulfillment API architecture

This action creates a fulfillment in Shopify.

DEPRECATION OF FULFILLMENT API IN THE 2022-04 RELEASE

Shopify has deprecated the Fulfillment API in its 2022-04 REST Admin API release in favor of Fulfillment Orders. While we've implemented changes to ensure usability of the old action, we encourage you to update your recipes to the new "Create Fulfillment" action which uses the new Fulfillment Order API. We will also be deprecating the old action moving forward.

Input

FieldDescription
Order IDProvide the order ID. This can be found at the end of URL of the order page.
Location IDProvide the unique location ID tied to the fulfillment.
Tracking companyProvide the tracking company.
Tracking numbersProvide the tracking numbers. Multiple values should be separated by commas.
Line itemsProvide the line items. Each line item has an ID and a Quantity
Tracking URLsThe URLs to track the fulfillment, multiple values should be separated by commas.
Notify customerSelect from the picklist or input your own value.

Output

FieldDescription
IDThe ID for the fulfillment.
Order IDThe unique numeric identifier for the order.
StatusThe status of the fulfillment.
Created atThe data and time when the fulfillment was created.
ServiceThe type of service used.
Updated atThe date and time when the fulfillment was last updated.
Tracking companyThe tracking company.
Tracking numberThe tracking number for this fulfillment.
Tracking numbersA list of tracking numbers, provided by the shipping company.
Tracking URLThe URL of tracking page for the fulfillment.
Tracking urlsThe URLs of tracking pages for the fulfillment.
ReceiptA text field that provides information about the receipt. Each receipt contains information about Testcase status and the Authorization code.
Line itemsA historical record of each item in the fulfillment. Each line item contains the following:
- ID
- Variant ID
- Title
- Quantity
- Price

Last updated: