Change shipment carrier

POST /openapi/Consignment/UpdateConsignmentCarrier — TMS API · Shipment Update and Cancellation

Changes the carrier of registered shipments with carrierCode. If parcels is provided, the operation applies only to the specified parcels.

İstek gövdesi

  • clientCode (string, zorunlu): Organization code.
  • accountCode (string, zorunlu): Account code.
  • consignments (object[], zorunlu): Shipments whose carrier will be changed.
    • consignments.parcels (object[]): Apply only to these parcels.
    • consignments.carrierCode (string): New carrier code.
    • consignments.locationCode (string): Shipment origin location code.
    • consignments.consignmentNumber (string): Shipment number.

Yanıtlar

  • 200: Carrier updated
  • 400: Validation error
  • 401: Token missing, invalid, or expired (empty response).

200 yanıt alanları