Rename, enable/disable or set the default rack bay for a station
PATCH
/v1/stations/{id}Auth: Factory API key
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | · |
Request body
| Field | Type | Description |
|---|---|---|
name | string | · |
active | boolean | · |
default_location | string, nullable | · |
Response
200
Code samples
curl -X PATCH "https://api.skuflo.io/v1/stations/id_9c1a4e" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Sam Retailer",
"active": true,
"default_location": "string"
}'