> ## Documentation Index
> Fetch the complete documentation index at: https://firespark.cloud/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update store

> Update a merchant location by external id.

Updates fields on an existing store. Send only the fields to change. `id` comes from the path and cannot be renamed here.

> [!NOTE]
>
> Requires an access token with the `stores:write` scope. See
> [Token](https://firespark.cloud/docs/admin-api/oauth/token/post.md) to obtain a token.

Coverage zones are a separate resource. This response returns `coverage_zones: []`.

`channel_ids` and `fulfillment_ids` replace the whole list when sent. `[]` disables every channel or fulfillment for the store.

## Request

```bash theme={null}
curl -X PATCH "https://firespark.cloud/api/admin/v1/stores/pos-location-01" \
  -H "Authorization: Bearer ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Main Street Downtown",
    "availability": {
      "schedules": null,
      "temporary_closed_reason": null,
      "temporary_closed_until": null,
      "status": "OPEN"
    }
  }'
```

## Response

Returns `200` with the updated store in `data`. Unknown `id` returns `404`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.