Skip to main content
PUT
Update Location

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Path Parameters

location_id
integer
required

Body

application/json
name
string
required
Required string length: 2 - 128
company_id
integer
required
parent_location_id
integer | null
required
is_active
boolean
required
location_type
enum<string>
default:warehouse
Available options:
warehouse,
aisle
is_pickable
boolean
default:true
is_receivable
boolean
default:true
is_usable
boolean
default:true
address
AddressSchemaIn · object | null

Response

OK

id
integer
required
number
integer
required
parent_location_id
integer | null
required
company_id
integer
required
company_name
string
required
location_type
string
required
is_pickable
boolean
required
is_receivable
boolean
required
is_usable
boolean
required
address
AddressSchemaIn · object | null
required
name
string
required
Maximum string length: 128
created_at
string<date-time>
required

Date and time the record was created

updated_at
string<date-time>
required

Date and time the record was last updated

parent_location_name
string | null
is_active
boolean
default:true
created_by
AuditActorSchemaOut · object | null

Schema for audit actor information.

updated_by
AuditActorSchemaOut · object | null

Schema for audit actor information.