Covers all questions related to inventory management, order fulfillment, and shipping.
Hi everyone,
Is there a way to split a fulfillment order? For example, I have three different items on a fulfillment order for warehouse A. I want to split it so two items on one fulfillment order for warehouse A and the last item on another fulfillment order for warehouse B. Help is much appreciated, thanks.
Solved! Go to the solution
This is an accepted solution.
I've found the answer. It is managed automatically and creating a fulfillment can split it for you. See the example below where I specify a new location, the line item I want to change, and the optional tracking numbers. Note the request body is in python since JSON isn't supported on the editor. This can be marked as solved, thanks.
Endpoint (POST): /admin/api/2021-04/orders/{order_id}/fulfillments.json
{'fulfillment': {'line_items': [{'id': 100}],
'location_id': 1,
'tracking_numbers': ['tracking1',
'tracking2',
'tracking3']}}
This is an accepted solution.
I've found the answer. It is managed automatically and creating a fulfillment can split it for you. See the example below where I specify a new location, the line item I want to change, and the optional tracking numbers. Note the request body is in python since JSON isn't supported on the editor. This can be marked as solved, thanks.
Endpoint (POST): /admin/api/2021-04/orders/{order_id}/fulfillments.json
{'fulfillment': {'line_items': [{'id': 100}],
'location_id': 1,
'tracking_numbers': ['tracking1',
'tracking2',
'tracking3']}}
Hello, the API admin/api/2021-04/orders/{order_id}/fulfillments.json is deprecated and will no longer work from 1st of January, anyone know how to make this happen with the new Fulfillment API?