This forum is no longer active, and the posting feature has been disabled.
Please visit our new Community page to continue the ShipStation Community discussions at https://help.shipstation.com/hc/en-us/community/topics
This new Community page is integrated directly with our help center and knowledge base, which will provide better access to help resources and a direct post-to-support ticket pipeline for any users that need official technical support!
Please note: All topics are available to view for all, but you must be logged into your ShipStation account to post community forum content or comment on posts.
Orders being marked as shipped when a label is printed via API?
I'm currently using the API to produce labels (and packing slips) via calls to 'ssapi.shipstation.com/orders?orderstatus=awaiting_shipment', 'ssapi.shipstation.com/orders/createlabelfororder', and ssapi.shipstation.com/orders/X'. This works 100% correctly, but my script was coming back with a 500 Internal Server Error when I ran 'ssapi.shipstation.com/orders/markasshipped' on each order after it printed the label and slip. My intention was to send the customer email notification and change the status from awaiting_shipment to shipped.
Imagine my surprise when I logged in and discovered that orders were being marked as shipped (or at least ending up in the shipped bucket) withjust running the above call to produce a shipping label. That's not really a problem in terms of getting them into the correct bucket but of course the customers aren't being notified. Is there an API call to do that, or am I misunderstanding the process or the order I should be doing these steps in?