Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Please let me know what API the "Fulfill item" function of Admin is.

Solved

Please let me know what API the "Fulfill item" function of Admin is.

weap0n7
Shopify Partner
25 1 2

I wonder what API Admin's FullfilItem feature should use.
I don't know how to get fillment_order_id from that API.
I think fulfillment_order_id and order_id are different. I don't know how to get a fillment_order_id.

 

/admin/api/2023-07/fulfillments.json
{
"fulfillment": {
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": ???????????????
}
],
"tracking_info": {
"number": "MS1562678",
"url": "https://www.my-shipping-company.com?tracking_number=MS1562678"
}
}
}

fulfillItem2.JPG

Accepted Solution (1)

RobZone
Shopify Staff
77 11 23

This is an accepted solution.

You can get a list of fulfillment orders from the order with this endpoint: https://shopify.dev/docs/api/admin-rest/2023-10/resources/fulfillmentorder#get-orders-order-id-fulfi...

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10036 2385 3012

Hi @weap0n7 

 

You can get the fulfillment ID by get request. See more information here

 

GET https://{shop}.myshopify.com/admin/api/{api_version}/assigned_fulfillment_orders.json?assignment_status=fulfillment_requested&location_ids[]={assigned_location_id}

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

 

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

RobZone
Shopify Staff
77 11 23

This is an accepted solution.

You can get a list of fulfillment orders from the order with this endpoint: https://shopify.dev/docs/api/admin-rest/2023-10/resources/fulfillmentorder#get-orders-order-id-fulfi...

To learn more visit the Shopify Help Center or the Community Blog.