---
title: "Edit a store"
method: PATCH
path: "/data/v2/stores/{id}"
tags: ["Sales data"]
---

# Edit a store

`PATCH /data/v2/stores/{id}`

Edit a store.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `online` boolean
  - `store_type` string
  - `manager` string
  - `custom_fields` object[] — custom fields is patched too so you can only set some of them, other custom fields will not be changed
    - `id` integer
    - `name` string
    - `value` string

## Response `200`

Store data.

## Other responses

- `400` — The request validation failed.
- `401` — Authentication failed.
- `403` — Forbidden.
- `404` — Store not found.

---

[API](https://skmtc.net/splio/apis/splio-customer-platform.md) · [All operations](https://skmtc.net/splio/apis/splio-customer-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/splio/splio-customer-platform/revisions/2ff4735f665c/schema)
