Skip to main content
PATCH
/
v1
/
products
/
{id}
Update a product
curl --request PATCH \
  --url https://api.vendaze.com/v1/products/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "currency_id": "<string>",
  "price_cts": 1,
  "description": "<string>",
  "code": "<string>",
  "is_active": true
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "Pro Monthly Plan",
    "price_cts": 19900,
    "currency_id": "BRL",
    "description": "Full access to all features.",
    "code": "PRO-M",
    "is_active": true,
    "billing_cycle": "monthly",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.vendaze.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

OAuth 2.1 access token.

Path Parameters

id
string<uuid>
required

UUID of the resource.

Body

application/json
name
string
Maximum string length: 80
currency_id
string
price_cts
integer
Required range: x >= 0
description
string | null
code
string | null
is_active
boolean
billing_cycle
enum<string>
Available options:
one_time,
monthly,
quarterly,
annually

Response

Product updated successfully.

data
object