---
title: "Edit a product"
method: PATCH
path: "/data/v1/products/{id}"
tags: ["Sales data"]
---

# Edit a product

`PATCH /data/v1/products/{id}`

Edit a product.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `brand` string
  - `price` number
  - `sku` string
  - `img_url` string
  - `category` string
  - `custom_fields` object[]
    - `id` integer
    - `name` string
    - `value` string

## Response `200`

Product data.

## Other responses

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

---

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