Openapi
Change the name, code, kind, or active state of an inventory location.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
locationId*stringuuidorganizationId*stringuuidThe inventory location payload.
application/jsonactive?booleancode?string1 <= length <= 40kind?string"warehouse""store""virtual"name*string1 <= length <= 240Returns the updated inventory location.
application/jsonactive*booleancode*string1 <= lengthcreatedAt*stringdate-timeid*inventoryLocationIdSchemauuidkind*inventoryLocationKindSchema"warehouse""store""virtual"legalEntityId*|uuidname*string1 <= length <= 240organizationId*organizationIdSchemauuidupdatedAt*stringdate-timecurl -X PATCH 'https://app.localhost/api/v1/organizations/123/inventory/locations/123' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "active": true, "code": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "warehouse", "legalEntityId": "41192155-f2be-4dd0-9ea4-e32ad94824f7", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z"}