Notify tracking information and carrier

POST /openapi/Shipment/UpdateShipmentVendorTrackingDataAndCarrier — TMS API · Status Notification

Same as UpdateShipmentVendorTrackingData; additionally, if carrierCode is provided, updates the shipment's carrier.

İstek gövdesi

  • clientCode (string, zorunlu): Organization code.
  • accountCode (string, zorunlu): Account code.
  • carrierCode (string): Carrier code (used only by UpdateShipmentVendorTrackingDataAndCarrier).
  • shipmentKey (string, zorunlu): Shipment's ShipmentKey.
  • trackingUrl (string): Tracking URL.
  • trackingNumber (string): Tracking number.
  • consignmentNumber (string, zorunlu): Shipment number.

Yanıtlar

  • 200: Updated
  • 400: Validation error or shipment not found
  • 401: Token missing, invalid, or expired (response without body).

200 yanıt alanları

  • code (string): Value related to the error (e.g. invalid account code or order number).
  • message (string): Result or error message.
  • success (boolean): Whether the operation was successful.