Covers all questions related to inventory management, order fulfillment, and shipping.
We are ERP system developers and made integration using the old fulfillment.json endpoint, where we only do complete fulfillments.
Now we need to be able to handle partial fulfillments, and want to move to the new fulfillment_orders.json endpoint.
I cant figure out the documentation for the simple flow we want to do.
We want this simple flow:
I get data on the order on fulfillment_orders endpoint after creation of the shopify order:
Thanks!
Solved! Go to the solution
This is an accepted solution.
We seemed to get our head around it. First problem was that we got empty response on ..../orders/<orderid>/fulfillment_orders.json.
We got this flow working now:
"fulfillment": {
"message": "The package was shipped this morning."
"notify_customer": false,
"tracking_info": {
"number": 112233,
"url": https://www.dr.dk,
"company": "Danmarks Radio shipping"
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": <id from get in 1>,
"fulfillment_order_line_items": [
{
"id": <line id from 1>,
"quantity": 8
},
{
"id": <lineid from 1>,
"quantity": 5
}
]
}
If you are struggling with empty array response on GET ..../fulfillment_orders.json, try updating permissions or creating a new private app.
This is an accepted solution.
We seemed to get our head around it. First problem was that we got empty response on ..../orders/<orderid>/fulfillment_orders.json.
We got this flow working now:
"fulfillment": {
"message": "The package was shipped this morning."
"notify_customer": false,
"tracking_info": {
"number": 112233,
"url": https://www.dr.dk,
"company": "Danmarks Radio shipping"
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": <id from get in 1>,
"fulfillment_order_line_items": [
{
"id": <line id from 1>,
"quantity": 8
},
{
"id": <lineid from 1>,
"quantity": 5
}
]
}
If you are struggling with empty array response on GET ..../fulfillment_orders.json, try updating permissions or creating a new private app.
Thank you very much for following up on the question and posting your solution!
It was very helpful
Cheers,
Matthias
Hey Mads_W,
I'm also facing issues in creating fulfillment for an order using REST API service, as of now my current configuration for Orders is 'mark order as un-fulfilled initially'. Can you please share the endpoint and process that you're following now to achieve this as per api version 2023-01.
Thanks
Did you found any solution for that ?
Hey Cosmekarn,
maybe I can help, we have order-fulfilments running with api version "2023-04", what problem exactly are you facing?
cheers,
Matthias
Hello @Matthias7 I need your help on shopfiy order fulfillment:
POST: admin/api/2024-04/orders/5868592857384/fulfillments.json
Body: