Skip to main content

Update existing address

PUT 

/truckers/address/

Update an existing carrier address. Requires the _id field to be present in the request body.

Constraints:

  • Only the address owner can modify it
  • The name must remain unique if modified

Request example:

{
_id: 507f1f77bcf86cd799439011,
name: Modified Headquarters,
street: Calle Mayor 10,
city: Madrid,
postalCode: 28014
}

Request

Responses

Successful response containing the complete data of an address. Includes all fields from the Address schema.

Response Headers