Skip to main content
POST
Update product

Overview

Update an existing product’s information. Only products belonging to your tenant can be updated.

Authorization

  • User must be authenticated with a valid Bearer token
  • User must be a member of the tenant
  • Requires X-Tenant-ID header

Partial Updates

You can update specific fields without providing all product data. Only include the fields you want to change.

Example Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Tenant-ID
string
required

Tenant ID for multi-tenancy

Path Parameters

id
integer
required

Body

application/json
name
string
required
price
number<float>
required
description
string
stock
integer
category_id
integer

Response

200

Product updated