Complete fulfillment
POST/openapi/2026-07/orders/:order_id/fulfillments/:fulfillment_id/complete
Marks a specific fulfillment as complete. If the fulfillment is already finished, the API retrieves and returns the fulfillment details instead.
Request
Path Parameters
Order ID
Fulfillment ID to complete
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
pending: pending shipmentshipped: shippedfinished: finishedcancelled: cancelled- Array [
- Array [
- ]
- ]
error code
error message
data object
fulfillment object
The completed fulfillment
Fulfillment ID
Order's ID
Fulfillment status:
Creation time, in ISO-8601 format
Last update time, in ISO-8601 format
Logistics company
Tracking number
Logistics company code
line_items object[]
Line items included in this fulfillment
Line item ID
Product associated with this line item ID
The name of the product purchased
Specific variant of the product ID
The title of the product variant, for example, "Blue, Size M"
The number of units of this product purchased
A note related to the product in this line item, added by the merchant or customer
image object
Image
The source URL of the image
The width of the image in pixels
The height of the image in pixels
Alt text for the image
Price
Compare-at price
Total price
The fulfillment status of this line item. For example, "fulfilled", "unfulfilled". See Fulfillment Status
Stock Keeping Unit (SKU) for the product variant, used for inventory tracking
Weight of the product
Unit of measurement for the product weight. For example, "kg", "lbs"
The vendor or supplier of the product
The URL of the product page for customers
Creation time, in ISO-8601 format
Last update time, in ISO-8601 format
options object[]
Product option values (a.k.a. variant option values) associated with this line item
Option name
Option value
URL-friendly identifier of the product
Whether the line item is taxable
Whether this line item requires shipping
Standard Product Unit (SPU)
Product tags
Refunded quantity for this line item
Shipped quantity for this line item
Whether the line item is a custom item
Trunk price
Number of discounts applied to the shipping for this line item
Tax of the line item
Duty cost
Price of payment discounts applied to the line item
Custom properties of the line item, such as size, color, etc. JSON format
Tracking URL
Phone number
{
"code": "string",
"message": "string",
"data": {
"fulfillment": {
"id": "string",
"order_id": "string",
"status": "string",
"created_at": "string",
"updated_at": "string",
"tracking_company": "string",
"tracking_number": "string",
"tracking_company_code": "string",
"line_items": [
{
"id": "string",
"product_id": "string",
"product_title": "string",
"variant_id": "string",
"variant_title": "string",
"quantity": 0,
"note": "string",
"image": {
"src": "string",
"width": 0,
"height": 0,
"alt": "string"
},
"price": "string",
"compare_at_price": "string",
"total_price": "string",
"fulfillment_status": "string",
"sku": "string",
"weight": "string",
"weight_unit": "string",
"vendor": "string",
"product_url": "string",
"created_at": "string",
"updated_at": "string",
"options": [
{
"name": "string",
"value": "string"
}
],
"product_slug": "string",
"taxable": true,
"requires_shipping": true,
"spu": "string",
"product_tags": "string",
"refund_quantity_total": 0,
"ship_quantity": 0,
"custom": true,
"trunk_price": "string",
"discount_applications": "string",
"tax_price": "string",
"duty_price": "string",
"payment_discount_price": "string",
"custom_properties": {}
}
],
"tracking_url": "string",
"phone_number": "string"
}
}
}