App reviews, troubleshooting, and recommendations
we have a custom app on a store and are migrating to the newest method of updating shipments (fulfillment.json)
We have checked our app's permissions but each time we attempt a shipment, we get a 422.
url we are hitting: https:/[domain].myshopify.com/admin/api/2023-07/fulfillments.json
Below is an example of what we are sending:
{
"fulfillment":{
"message":"The package was shipped",
"notify_customer":true,
"tracking_info":{
"number":"1Z9XY993YW98456905",
"company":"UPS"
},
"line_items_by_fulfillment_order":
[
{
"fulfillment_order_id":5724701819015,
"fulfillment_order_line_items":
[
{
"id":11732955168903,
"quantity":1
},
{
"id":11732955201671,
"quantity":1
}
]
}
]
}
}
Any other things we should check? we are getting fulfillment_order_id from another call (I verified its the same value that the shopify portal uses when clicking on Fulfill Item
Thanks!
Hello @netCentrix,
Thank you for reaching out to the Shopify community.
I understand that you are currently experiencing difficulties in fulfilling orders using the API. In order to assist you further, I kindly request you to review the following checklists:
To provide visual clarity, I have attached a screenshot of the response for your reference.
Create Fulfillment Order API: Once you have obtained the necessary fulfillment_order_id and fulfillment_order_line_item_id, please verify that you are utilizing the correct API endpoint to create the fulfillment order. The API details are as follows:
Endpoint: https://{your-shopify-url}/admin/api/2023-07/fulfillments.json
Request Method: POST
Upon verification, please provide the response in detail produced by Shopify and the HTTP status code associated with this API call.
I kindly request you to attempt the suggested solutions and assess whether they prove helpful in resolving the issue you are facing with creating fulfillment for your orders.
Should you have any further inquiries or require additional assistance, please do not hesitate to reach out.
Thank you.
Hi.
I have a working API
https://{your-shopify-url}/admin/api/2023-07/orders/{order_id}/fulfillment_orders.json
This is working fine and providing below response
Then I am using this endpoint
https://{your-shopify-url}/admin/api/2023-10/fulfillments.json
with below parameters
Sorry but I am getting the same error, have you been able to fix it?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025