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
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023