I am trying to add the tracking information to an order via the REST API with Magento 2.

I was trying to use the /rest/V1/shipment/track endpoint.


Is this the correct Endpoint to be using? Is there a better endpoint to add the tracking information for an order and its order items?

For instance, salesShipmentRepositoryV1 at /rest/V1/shipment/ This has more information in the request. I was thinking that this is the proper endpoint to be using.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.