Produtos
POST /v1/products
POST
bearerheader
AuthorizationBearer <API key>Chave de API da empresa (gck_live_...)
URL base
https://api-gclient.4go.companyapplication/json- body
name*stringtype*stringValue in
"recurring""sporadic"price*numbercustomer_type*stringValue in
"cpf""cnpj"overview*stringicon?stringincluded_items?array<string>excluded_items?array<string>created_by_id*stringapplication/json- response
id*stringname*stringtype*|Value in
"recurring""sporadic"customer_type*string|nullprice*numbercategory*string|nullicon*string|nulloverview*string|nullincluded_items*array<string>excluded_items*array<string>curl -X POST 'https://api-gclient.4go.company/v1/products' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "recurring", "price": 0, "customer_type": "cpf", "overview": "string", "created_by_id": "string"}'Exemplo de resposta201
{ "id": "string", "name": "string", "type": "recurring", "customer_type": "string", "price": 0, "category": "string", "icon": "string", "overview": "string", "included_items": [ "string" ], "excluded_items": [ "string" ]}