amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
575 stars 730 forks source link

UpdateShipmentTrackingDetails failed #4145

Open wanjj2014 opened 2 weeks ago

wanjj2014 commented 2 weeks ago

The Transportation Options were all FREIGHT_LTL, because we use non_amazon_parterned_carriers,so we choose the carrier OTHER. We got the boxIds from the Operation listShipmentBoxes. When we update the trackingIds with the operation UpdateShipmentTrackingDetails, we get the errors response "UpdateShipmentTrackingDetails cannot be processed because the following invalid boxIds were found in the request", Was anyone update shipment tracking details successfull,I need you help ?

puppsupr commented 1 week ago

HI for LTL you need to provide below structure,

{{baseUrl}}/inbound/fba/2024-03-20/inboundPlans/:inboundPlanId/shipments/:shipmentId/trackingDetails

{ "trackingDetails": { "ltlTrackingDetail": { "freightBillNumber": [ "{{freightBillNumber}}" ], "billOfLadingNumber": "{{billOfLadingNumber}}" } } }

Attaching the postman collections to check for specific use-cases

wanjj2014 commented 1 week ago

@puppsupr The Transportation Options were all FREIGHT_LTL,but we actually use non-Amazon partnered Small Parcel Delivery (SPD), So I have no freightBillNumber and billOfLadingNumber. How did we do?