Update shipment custom fields

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

Updates the shipment's free-use attr1–attr10 fields. Only non-empty sent fields are written; empty/missing fields retain their current value.

Request limit: 1 request per second per user.

İstek gövdesi

  • attr1 (string): Free field 1; unchanged if empty.
  • attr2 (string): Free field 2; unchanged if empty.
  • attr3 (string): Free field 3; unchanged if empty.
  • attr4 (string): Free field 4; unchanged if empty.
  • attr5 (string): Free field 5; unchanged if empty.
  • attr6 (string): Free field 6; unchanged if empty.
  • attr7 (string): Free field 7; unchanged if empty.
  • attr8 (string): Free field 8; unchanged if empty.
  • attr9 (string): Free field 9; unchanged if empty.
  • attr10 (string): Free field 10; unchanged if empty.
  • clientCode (string, zorunlu): Organization code.
  • accountCode (string, zorunlu): Account code.
  • shipmentKey (string, zorunlu): Shipment's ShipmentKey.

Yanıtlar

  • 200: Updated
  • 400: Validation error or shipment not found
  • 401: Token missing, invalid, or expired (bodyless response).
  • 429: Request limit exceeded.

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.