Skip to main content
PUT
Update product

Authorizations

Authorization
string
header
required

API token in the sk_live_… format.

Headers

Idempotency-Key
string

Unique key for the operation. If you repeat the call with the same key and the same body, you get the stored response.

Maximum string length: 200

Path Parameters

id
integer
required

Body

application/json
name
string
required

Display name.

Example:

"Camiseta preta M"

sku
string | null

Unique product code within the company. If omitted, it is generated from the name.

Example:

"CAM-PRETA-M"

price
string | null

List price, as a decimal string so no precision is lost.

Example:

"1299.90"

description
string | null

Product description.

categoryId
integer | null

Category the product belongs to.

Example:

5

isActive
boolean
default:true

Active product. An inactive product does not appear in searches and cannot be linked to a card.

Response

OK

data
object
Example: