Discussions

Ask a Question
Back to All

Splitting an order

Workflow question from an EasyShip newbie (PHP programmer).
I'm comfortable enough with the basic concepts of the API, and so far I have verified my webhook website endpoint works. Now I would be grateful if someone could guide on how to achieve the following goal.

From our incoming orders we wish to extract certain books that will need to be sent off to a book Print On Demand (POD) service. These books will not be shipped. We will pull out those specific products using an identifier, such as the product number. Therefore, we need to split (or remove) those particular products from the order.

In a later step, I hope to have a trigger from this POD service to automatically go back into EasyShip and update those above separated items to have a warehouse status of "shipped".

How do I separate these items to their own order? Then later I will apply the warehouse state change to "shipped", I assume.

What API function(s) would be involved here?