---
title: "Update a product"
method: PATCH
path: "/v1/admin/product/{id}"
---

# Update a product

`PATCH /v1/admin/product/{id}`

## Path parameters

- `id` union, required
  - 'accounting'
  - 'advertisingAgent'
  - 'billPay'
  - 'billPayCashAdvance'
  - 'card'
  - 'cashAdvance'
  - 'expense'
  - 'shippingAgent'

## Request body

- object
  - `customerAccess` union
    - 'none'
    - 'read'
    - 'write'
  - `newCustomerStatus` union
    - 'enabled'
    - 'disabled'

## Response `200`

Default Response

- object
  - `id` union, required
    - 'accounting'
    - 'advertisingAgent'
    - 'billPay'
    - 'billPayCashAdvance'
    - 'card'
    - 'cashAdvance'
    - 'expense'
    - 'shippingAgent'
  - `customerAccess` union, required
    - 'none'
    - 'read'
    - 'write'
  - `newCustomerStatus` union, required
    - 'enabled'
    - 'disabled'
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Default Response
- `401` — The access to this resource has been denied
- `403` — The access to this resource is forbidden
- `404` — The resource was not found
- `default` — Catch-all error response for any unexpected internal errors

---

[API](https://skmtc.net/funneldash/apis/surface-admin-api.md) · [All operations](https://skmtc.net/funneldash/apis/surface-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/funneldash/surface-admin-api/versions/0dc20381c4a7/schema)
