Complete Update Warehouses by Id

Use this method to update a warehouses. See our HTTP PUT documentation for complete queries method.

The following are elements for update a warehouses :

Body Request

Element Description
reason The reason why changes were made. String 170 characters.
code Warehouses code. String maximum 255 characters.
name Warehouses name String maximum 255 characters.
complete_address Warehouses address String maximum 100 characters required.
district Warehouses district String maximum 100 characters required.
city Value for change data String maximum 25 characters required.
state Value for change data String maximum 25 characters required.
country_code Value for change data String maximum 10 characters required.
country_name Value for change data String maximum 80 characters required.
postal_code Value for change data String maximum 10 characters required.
is_primary Is primary Boolean required.
department* Department.
department.id Department id String .
department.code Department code String maximum 255 characters.
department.name Department name String maximum 255 characters.
phones Phones number String.
emails Emails String.
contact_persons Value for change data String.
other_fields other_fields.
created* Created.
created.user* Created User.
created.user.id User id String Automaticaly.
created.user.name User name String.
created.user.email User email String.
created.time Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format). Automaticaly.
update* Update.
update.user* Update user.
update.user.id User id String Automaticaly.
update.user.name User name String.
update.user.email User email String.
update.time Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format). Automaticaly.

Body Response

Element Description
id Warehouses id. String.
code Warehouses code. String maximum 255 characters.
name Warehouses name String maximum 255 characters.
complete_address Warehouses address String maximum 100 characters required.
district Warehouses district String maximum 100 characters required.
city Value for change data String maximum 25 characters required.
state Value for change data String maximum 25 characters required.
country_code Value for change data String maximum 10 characters required.
country_name Value for change data String maximum 80 characters required.
postal_code Value for change data String maximum 10 characters required.
is_primary Is primary Boolean required.
department* Department.
department.id Department id String .
department.code Department code String maximum 255 characters.
department.name Department name String maximum 255 characters.
phones Phones number String.
emails Emails String.
contact_persons Value for change data String.
other_fields other_fields.
created* Created.
created.user* Created User.
created.user.id User id String Automaticaly.
created.user.name User name String.
created.user.email User email String.
created.time Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format). Automaticaly.
update* Update.
update.user* Update user.
update.user.id User id String Automaticaly.
update.user.name User name String.
update.user.email User email String.
update.time Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format). Automaticaly.