Skip to main content
PUT
/
v1
/
public
/
locations
/
{location_id}
Update Location
curl --request PUT \
  --url https://api.sanka.com/v1/public/locations/{location_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "<string>",
  "warehouse": "<string>",
  "floor": "<string>",
  "zone": "<string>",
  "aisle": "<string>",
  "rack": "<string>",
  "shelf": "<string>",
  "bin": "<string>",
  "usageStatus": "<string>"
}
'
{
  "ok": true,
  "status": "<string>",
  "external_id": "<string>",
  "location_id": "<string>",
  "ctx_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

location_id
string
required

Query Parameters

external_id
string | null

Body

application/json
externalId
string | null
warehouse
string | null
floor
string | null
zone
string | null
aisle
string | null
rack
string | null
shelf
string | null
bin
string | null
usageStatus
string | null

Response

OK

ok
boolean
required
status
string
required
external_id
string | null
location_id
string | null
ctx_id
string | null