Query all fulfillments for an order
GET https://{handle}.myshopline.com/admin/openapi/v20260301/orders/:order_id/fulfillments.json
handle : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is open001.myshopline.com , the store handle is open001 .Retrieve all fulfillments for a specific order.
Path Parameters
- order_id string requiredThe unique identifier for the order.Maximum length: 26Example:
21057401932826316666967110
Request Headers
- Content-Type string requiredThe field must be set to the fixed value
application/json; charset=utf-8. - Authorization string requiredThe access token for the API resource. Refer to App authorization to obtain the access token, and then pass the obtained token in the Bearer format.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Status Codes
- 200
- 401
- 429
For the complete list of codes and messages, see Http status code.
Response Headers
traceId
A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise.
Response Body
fulfillmentsobject[]
A list of fulfillments.created_at stringThe date and time when the fulfillment was created. Format: ISO 8601.Example:2021-08-31T02:20:26+08:00Example:2022-10-21T08:56:20-04:00id stringThe fulfillment ID.Example:4005740193290131085320line_itemsobject[]
A list of product lines for the fulfillment.fulfillable_quantity integerRemaining fulfillable quantity of products at the product line level.fulfillment_quantity integerThe quantity of products that are actually shipped.fulfillment_status stringThe fulfillment status. Valid values are:unshipped: not shippedpartial: partially shippedshipped: shipped
grams doubleTotal product weight, unit: g.id stringA system-generated unique identifier for this product snapshot.name stringThe title of the product variant.price stringItem price.price_setobject
The product price, displayed in both the store's currency and the buyer's currency.presentment_moneyobject
The order price information presented to the buyer.amount stringProduct amount. The value is rounded to two decimal places. For example,88.98.currency_code stringOrder currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example,USD.shop_moneyobject
The order price information presented to the merchant.amount stringProduct amount. The value is rounded to two decimal places. For example,88.98.Example:100.00currency_code stringOrder currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example,USD.Example:"USD"product_id stringThe unique identifier for the product.Example:"343342675"propertiesobject[]
Additional information details.additional stringAdditional information.Example:" add-on information "name stringCustom attribute name.Example:" picture "type stringProperty type. Valid values are:text:text typepicture:picture typelink:link type
urls arrayList of product domain names.Example:["[\"https://www.myshopline.com\"]"]value stringCustom attribute values.Example:valuequantity integerThe number of product SKUs.Example:1requires_shipping booleanIndicates whether this product needs to be physically shipped to the customer.true: The product requires shipping.false: The product does not require shipping.
Example:truesku stringProduct barcode.Example:"183423409238904944"tax_linesobject[]
A list of tax information.name stringTax name.Example:" item tax "price stringThe tax amount. The actual tax collected on the product is based on this field value.Example:"10.00"price_setobject
The tax amount,displayed in both the buyer's currency and the store's currency.presentment_moneyobject
The tax information presented to the buyer.amount stringThe total amount of tax applied to the buyer's order. The value is rounded to two decimal places. For example,88.98.currency_code stringTax currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example,USD.shop_moneyobject
The tax information presented to the merchant.amount stringThe total amount of tax associated with this order for the merchant. The value is rounded to two decimal places. For example,88.98.currency_code stringTax currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example,USD.rate stringThe tax rate, for display only.title stringThe tax description title, for display only.taxable booleanIndicates whether the product is subject to tax.true: Tax is required.false: No tax is required.
Example:truetitle stringThe product title, used for display to the buyer.Maximum length: 255total_discount stringTotal discounted price.total_discount_setobject
The total product discount, displayed in both the store's currency and the buyer's currency.presentment_moneyobject
The discounted price information presented to the buyer.amount stringDiscount amount. The value is rounded to two decimal places. For example,88.98.currency_code stringDiscount amount currency. The value of this parameter is a three-letter currency code that follows theISO 4217 standard. For example,USD.shop_moneyobject
The discounted price information presented to the merchant.amount stringDiscount amount. The value is rounded to two decimal places. For example,88.98.currency_code stringDiscount amount currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example,USD.variant_id stringUnique variant identifier (SKU).Maximum length:64variant_title stringProduct attribute value.vendor stringSupplier.version stringProduct version.name stringPackage name.order_id stringThe unique identifier for the order.Maximum length: 26Example:21057401932826316666967110shipment_status stringProduct delivery status. Valid values are:out_for_delivery: out for deliverydelivered: deliveredfaliure: delivery failedpicked_up: picked up
status stringShipping status of the order package. Valid values are:success: shipment successfulcancelled: shipment has been canceled
tracking_company stringLogistics company name.DEPRECATED: This parameter is deprecated from API version v20250601. Refer totracking_info_listfor related information.tracking_info_listobject[]
If this parameter is specified, the individual parameters tracking_url, tracking_number, and tracking_company will be ignored.Maximum of 10 tracking infos allowed.tracking_company stringThe logistics service provider.tracking_number stringThe tracking number.tracking_url stringThe URL for tracking the package.tracking_number stringThird party tracking number.DEPRECATED: This parameter is deprecated from API version v20250601. Refer totracking_info_listfor related information.tracking_numbers arrayList of logistics tracking numbers.DEPRECATED:This parameter is deprecated from API version v20250301.tracking_url stringLogistics tracking URL.DEPRECATED: This parameter is deprecated from API version v20250601. Refer totracking_info_listfor related information.tracking_urls arrayLogistics tracking domain name list.DEPRECATED:This parameter is deprecated from API version v20250301.updated_at stringThe date and time when the logistics information was updated. Format: ISO 8601.Example:2021-08-31T02:20:26+08:00
API Explorer
Debugger
Was this article helpful to you?