I am trying to figure out a way to update Fulfillment status and Confirm a shipment in one call instead of doing 2 separate calls, to get this approach working would it be difficult to extend the web service endpoints?
Do y’all have any better option or the best way to go is make multiple calls?
Solved
Confirm Shipment API call
Best answer by Yuriy Zaletskyy
- Call #1 will trigger execution of shipment confirmation
- Call #2 will validate if shipment was confirmed
- Call #3 will get shipment information
you can achieve syntactic sugar within one line of code, but behind the curtains two or three api call will be needed.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.