Skip to main content

Save custom code

PUT 

/company/delivery/customcode/:id

Updates the custom reference code for a shipment. This code is optional and can be used for internal company references. Requires JWT authentication.

Use Cases:

  • Assign an internal order code to the shipment
  • Link the shipment with an external system
  • Add an easily recognizable reference

Request Example:

{
custom_code: PED-2025-1234
}

Successful Response Example:

{
_id: 64d1a2b3e8b7a9001f8e7d12,
service_code: DEL-12345,
custom_code: PED-2025-1234,
updated_at: 2025-08-08T16:00:00Z
}

Request

Responses

Custom code saved successfully