How to split a fulfillment order

Solved
HausCloud
New Member
2 1 0

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.

0 Likes
HausCloud
New Member
2 1 0

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']}}

 

 

0 Likes