Appearance
Enable a location
POST
/locations/{id}/enable
The inverse of disable: the site starts accepting cards again immediately. Enabling a location that is already enabled is not an error — this is the endpoint to call when reconciling your own store list against ours, without first reading each one.
Authorizations
ApiKeyBearer
A shop-scoped API key created in the dashboard and shown exactly once. An MCP tmk_ key presented here returns a 401 that names the mistake.
Type
HTTP (bearer)
Parameters
Header Parameters
Idempotency-Key
Makes a retry safe: a repeat with the same key and body replays the stored response; the same key with a different body is a 409. Keys are remembered for 24h (IDEMPOTENCY_DEDUPE_WINDOW_HOURS). A request without the header is processed normally.
Type
string
Max Length
255Path Parameters
id*
An opaque id. The API never promises an id format.
Type
Requiredstring
Responses
Enable a location
application/json
JSON "id": "loc_docsfixture0001", "name": "Via Roma 1", "address": "Via Roma 1", "city": "Milano", "postal_code": "20121", "country_code": "IT", "lat": 45.4642, "lon": 9.19, "require_staff_pin": false, "active": true, "disabled_at": null, "created_at": "2026-08-05T10:15:00.000Z", "updated_at": "2026-09-04T10:15:00.000Z"
{
}
POST
/locations/{id}/enable