Skip to main content
Under Review

Combine/Split order using ShipStation's API

Related products:Orders & Shipment Management
  • July 7, 2017
  • 37 replies
  • 8 views

Show first post

37 replies

  • September 15, 2020
I've noticed a few individuals are mentioning writing their own code for this or trying to find other alternatives, has anyone found a method that works reliably yet?

austin
  • September 15, 2020
'@colshipping Yes, I wrote my own script to do this using the ShipStation API. I will put the Javascript on GitHub if I get a chance. If you use the Create/Update Order API Endpoint ( https://www.shipstation.com/docs/api/orders/create-update-order/ ), you can use the main order ID in the parentId field of the new order, and create a new split off child order. However, ShipStation's parent/child order relationship has a couple challenges in that ShipStation still views both order "legs" as the same order. If you change certain fields like order notes in one "leg" of the order, you see these same changes in the other "leg". For my application, this is an undesired behavior. Thus, when I refactor some of these order splitting needs, I will most likely just create totally separate orders and not use the parent/child relationship functionality. I should also add that I used the Product Categories to create the "rules" that define order splitting. Basically, all products that share a category are grouped onto their own order. You could use another field from the products table, or use tags. Writing the code to actually remove products from the main order and put them on a child order was a bit of a challenge when I did it originally a year ago. I will likely redo this in the coming weeks.

  • September 20, 2020
'@Austin Johnson Please upload that or email me at Dakotabartell@gmail.com We have been trying to put something together for that for a while now and we keep running into issues. It would help us out A LOT

'@Austin Johnson Also interested in seeing what you have done. I made something similar for a different shipping provider (Veeqo).

  • October 25, 2020
'@Shipstation There have ideas with less votes that have been started with less votes than this. Please get this going. My business is growing 2-3x year over year and it's not a scalable solution to just have an employee of my mine combine orders all day.

  • July 14, 2021
Very frustrating that there is no auto-splitting rules. (http://feedback.shipstation.com/forums/330429-product-feedback-fresh-ideas/suggestions/33548551-automatically-split-items-into-shipments-based-on) So, the next best thing is to build the feature using existing API endpoints, but even this isn't easy... :(

Moderator-Davis
No text available

  • January 30, 2023

Order splitting has been reworked since this went "Under Review." @Moderator-Davis any update?


Moderator-Davis

Hey there @danofun

 

I don't have any update for this API change at this time. 

 

It's something I'm certainly keeping an eye out for so when we get any news, I will be happy to share that right away 🙂 


  • December 5, 2023

Is there any webhook event for splited orders?

Can you add a new one to this list

  • On New Orders (ORDER_NOTIFY)

  • On New Items (ITEM_ORDER_NOTIFY)

  • On Orders Shipped (SHIP_NOTIFY)

  • On Items Shipped (ITEM_SHIP_NOTIFY)

  • On Items Shipped by Fulfillment Provider (FULFILLMENT_SHIPPED)

  • On Items Rejected by Fulfillment Provider (FULFILLMENT_REJECTED)

We can use that event to sync data to our app. @Moderator-Davis 


  • January 3, 2024

Is this on the roadmap? Just seen there are comments from 2017 on here which is almost 7 years ago now. 

We urgently need this feature. 



  • September 6, 2024

How can this not be implemented yet? We need to be able to split an order using the API to partially ship an order. This is a critical feature.