Update a product
PUT
/v1/products/{id}
Updates the data of an existing product. Send only the fields you want to change; all are optional and follow the same rules as creation.
Authorizations
bearerAuth
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Unique product identifier.
Type
Requiredinteger
Example
10Request Body
application/json
JSON "name": "Camiseta Preta Slim", "price": 219.9
{
}
Responses
Product updated successfully.
application/json
JSON "data": { "id": 10, "sku": "SKU-1", "name": "Camiseta Preta Slim", "price": 219.9, "description": "Camiseta 100% algodão", "image": "/uploads/a.png", "inventory": 5, "cost": 50, "is_active": true, "created_at": "2026-07-01 10:00:00", "updated_at": "2026-07-02 13:30:00" }
{
}
PUT
/v1/products/{id}