Fulfillment List

🔒

Requires read_order access scope. More access scope

The Fulfillment List API retrieves a list of fulfillment records filtered by order ID, creation, and update time. This enables users to track the fulfillment status of products within an order.

This API is especially useful for:

  1. Fetching all fulfillments related to a specific order.
  2. Filtering fulfillments by creation or update timestamps.
  3. Tracking product-level fulfillment details, including shipping information.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

FieldTypeRequiredExampleDescription
order_idstringYes633130-00000012The unique identifier of the order.

Query Parameters

FieldTypeExampleDescription
limitint32250Maximum number of fulfillments returned per page (maximum: 250).
pageint321The page number to return.
created_at_minstring2016-01-18T23:41:00ZFilter fulfillments created at or after this date.
created_at_maxstring2016-01-18T23:41:00ZFilter fulfillments created at or before this date.
updated_at_minstring2016-01-18T23:41:00ZFilter fulfillments updated at or after this date.
updated_at_maxstring2016-01-18T23:41:00ZFilter fulfillments updated at or before this date.

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeExampleDescription
fulfillmentsarray of objects-List of fulfillments.
fulfillments[].idstring49a731b0-1b7e-47c3-94d9-6d688f36201eUnique ID of the fulfillment.
fulfillments[].order_idstring633130-00000012Associated order ID.
fulfillments[].statusstringfinishedStatus of the fulfillment (finished, pending).
fulfillments[].tracking_companystring燕文物流Name of the tracking company.
fulfillments[].tracking_numberstring11111111111Shipment tracking number.
fulfillments[].tracking_company_codestringDJ-11343Code of the tracking company.
fulfillments[].tracking_urlstringhttps://tracking.example.comURL for tracking the shipment.
fulfillments[].created_atstring2024-04-22T06:58:01ZFulfillment creation time (ISO-8601).
fulfillments[].updated_atstring2024-04-22T07:00:57ZFulfillment last update time (ISO-8601).
fulfillments[].line_itemsarray of objects-List of line items included in this fulfillment.
fulfillments[].line_items[].idstring7037bd0b-cb6b-453a-a936-b349d0c8bf5dUnique ID of the line item.
fulfillments[].line_items[].product_idstringa1a88be0-a1d4-47e4-a2f2-ba6e131cf447ID of the product.
fulfillments[].line_items[].variant_idstring88e68830-4ef5-4125-bf7d-aef8047176b2ID of the product variant.
fulfillments[].line_items[].variant_titlestringS-blue-TTitle of the product variant.
fulfillments[].line_items[].product_titlestringshirtTitle of the product.
fulfillments[].line_items[].product_handlestringshirtHandle of the product.
fulfillments[].line_items[].quantityinteger2Quantity of the product fulfilled.
fulfillments[].line_items[].notestring""Additional note for the line item.
fulfillments[].line_items[].fulfillment_statusstringpartially_returnedFulfillment status for the line item.
fulfillments[].line_items[].skustringT-M-S-blue-T-A001004SKU of the product.
fulfillments[].line_items[].weight_unitstringkgWeight unit of the product.
fulfillments[].line_items[].vendorstringshoplazzaVendor of the product.
fulfillments[].line_items[].product_urlstring/products/shirtURL of the product.
fulfillments[].line_items[].compare_at_pricestring97.00Original compare-at price of the product.
fulfillments[].line_items[].imagestring//cdn.shoplazza.com/image.jpegImage URL of the product.
fulfillments[].line_items[].pricestring81.00Price per unit of the product.
fulfillments[].line_items[].totalstring162.00Total price for the fulfilled quantity.
fulfillments[].line_items[].weightstring1.10Weight of the product.
fulfillments[].line_items[].propertiesarray of objects-Custom properties of the product.
fulfillments[].line_items[].properties[].namestringsizeName of the custom property.
fulfillments[].line_items[].properties[].valuestringSValue of the custom property.
fulfillments[].line_items[].custom_propertiesobject{}Custom properties provided as key-value pairs.
fulfillments[].line_items[].refund_quantityinteger0Quantity refunded for this line item.
fulfillments[].line_items[].refund_totalstring81.00Total refund amount for the line item.
fulfillments[].line_items[].taxablebooleantrueIndicates if the product is taxable.
fulfillments[].line_items[].requires_shippingbooleantrueIndicates if shipping is required.
fulfillments[].line_items[].shipping_quantityinteger2Quantity shipped for this line item.

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorsArray[ "invalid line_item id"]A list of errors encountered during the request processing.
FieldTypeExampleDescription
errorString "store is not active"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
422update_at_min time format errorThe update_at_min field is not in a valid time format.(e.g., not ISO8601).{"errors": ["update_at_min time format error"]}
update_at_max time format errorThe update_at_max field is not in a valid time format.(e.g., not ISO8601).{"errors": ["update_at_min time format error"]}
500no contextMissing Context{"errors": ["No context"]}
404provided order_id is not existingprovided order_id is not existing{"errors": ["Record not found"]}

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!