Retorna um produto pelo ID, incluindoDocumentation Index
Fetch the complete documentation index at: https://docs.chargefy.io/llms.txt
Use this file to discover all available pages before exploring further.
default_price_id, prices[] completos e metadata.
Autenticação
Requer um token de acesso válido (
CHARGEFY_ACCESS_TOKEN) no header Authorization.Path
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
id | string | Sim | ID do produto |
Resposta
Shape completo do produto:| Campo | Tipo | Descrição |
|---|---|---|
id | string | ID |
organization_id | string | Organização dona |
name | string | Nome |
description | string | null | Descrição |
metadata | object | Metadata livre |
is_archived | boolean | Arquivado |
is_tax_applicable | boolean | Tributável |
default_price_id | string | null | FK pro preço default |
prices | Price[] | Array de preços do produto |
created_at | datetime | ISO 8601 |
modified_at | datetime | null | ISO 8601 |
Price object
| Campo | Tipo | Descrição |
|---|---|---|
id | string | ID |
product_id | string | FK |
type | 'one_time' | 'recurring' | Tipo |
currency | string | ISO 4217 em minúsculas |
unit_amount | integer | Valor em minor units |
interval | 'day' | 'week' | 'month' | 'year' | null | Cadência |
interval_count | integer | null | Quantidade de intervalos (default 1 em recurring) |
tax_behavior | string | null | unspecified, inclusive, exclusive |
active | boolean | Ativo pra novas vendas |
metadata | object | Metadata do preço |
zoop_recurrence_plan_id | string | null | Plano de recorrência atrelado (populado automaticamente) |

