Skip to main content
PUT
Set one override of a location

Authorizations

X-API-Key
string
header
required

Path Parameters

location_external_id
string
required

Your own id for the location. Letters, digits and . _ : -, up to 255 characters.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9._:-]{1,255}$
token
string
required

An equipment token from GET /v1/equipment.

Required string length: 1 - 120

Body

application/json
kind
enum<string>
required

added: the location has it, with its own count. missing: the location does not have a baseline item. out_of_service: it cannot be used for now.

Available options:
added,
missing,
out_of_service
attributes
object

Facts about the equipment, such as max_load_kg. Only the attributes the equipment lists in GET /v1/equipment are accepted. Only with added.

back_in_service_on
string | null

Only with out_of_service. The first date the item can be used again, in the time zone of the location. Left out, it stays out of service until you remove the override.

Pattern: ^\d{4}-\d{2}-\d{2}$
count
integer | null

How many the gym has. It changes no program. Only with added.

Required range: 0 <= x <= 100000
note
string | null

Only with out_of_service. Your own note, such as awaiting part.

Required string length: 1 - 500

Response

inventory_revision
integer
required
location
string
required

Your own id for the location.

overrides
object[]
required