cancel
Showing results for 
Search instead for 
Did you mean: 

What API end point do I use to add tracking information and status updates?

SOLVED

What API end point do I use to add tracking information and status updates?

I have been struggling with the API for a few weeks.  I have been able to do a lot of the get calls pretty well but I have trouble with any of the post requests Smiley Sad 

1.  Is there better documentation on the API then the Magento Documentation link?  Maybe a PDF that has some better descriptions of what the end point does than the swagger auto made ones?

2.  How to I add a package with a tracking number to an order through the API?  

2a. Does the status automatically change when I add the shipping or do I have to make separate call to update the status of the order?

 

Thanks for the help Woman Happy

 

 

Tags (3)
1 REPLY

Re: What API end point do I use to add tracking information and status updates?

Have you tried the salesShipmentTrackRepositoryV1 endpoint? http://devdocs.magento.com/swagger/index_20.html#!/salesShipmentTrackRepositoryV1

 

There is a alternative list but it provides even less info about each commend: http://devdocs.magento.com/guides/v2.0/rest/list.html it can be useful for a quick browse through. 

 

The status will change as soon as all items on the order are shipped. I believe the adding tracking is a separate request that will be done once you've already created a shipment. It looks like there might be a quick way of creating a shipment for all items on the order with salesShipOrderV1. Otherwise, it's a post to salesShipOrderV1. 

 

 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!