Accepting credit cards, warehouses, and shipping and fulfilling orders
I am hitting /admin/api/2022-10/fulfillments.json
my body data is:
{ "fulfillment": { "message": "Order Fulfillment done.", "tracking_info ": { "number": 1673511020, "url": "https://track.mycompany.com/?deliveryNo=1673511020", "company": "my company" }, "line_items_by_fulfillment_order": [ { "fulfillment_order_id": "5232614506805", "fulfillment_order_line_items": [ { "id": 8073851994421, "quantity": 1 } ] } ] } }But I am getting "errors": "Not Found" with status code 404.
"scope" => "read_orders,write_orders,read_assigned_fulfillment_orders,write_assigned_fulfillment_orders,read_fulfillments,write_fulfillments,read_merchant_managed_fulfillment_orders,write_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders,write_third_party_fulfillment_orders,read_inventory,write_inventory,read_products,read_shipping",
Solved! Go to the solution
This is an accepted solution.
@Solution
My first mistake was setting up the fulfillment_order_id by order_id
So the fulfillment_order_id will be the below API response's id
/admin/api/2022-10/orders/{order_id}/fulfillment_orders.json
and tracking info was not updated because of a tiny space "tracking_info " that should be:
"tracking_info"
I know it s dumb question but your sure "2022-10" is the right version you are supposed to use?
How are you getting your fulfillment_order_id and ID?
@IP1999 Thank you for your reply.
Yes, the version is correct. I am getting the fulfillment_order_id by the API
/admin/api/2022-10/orders/5232758915381/fulfillment_orders.json
Fulfillment is created now but tracking info remains null.
"tracking_company": null,
"tracking_number": null,
"tracking_url": null
This is an accepted solution.
@Solution
My first mistake was setting up the fulfillment_order_id by order_id
So the fulfillment_order_id will be the below API response's id
/admin/api/2022-10/orders/{order_id}/fulfillment_orders.json
and tracking info was not updated because of a tiny space "tracking_info " that should be:
"tracking_info"
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025