Skip to main content
PUT
Atualizar upsell

Authorizations

Authorization
string
header
required

A chave de API da conta, no formato sk_{modo}_{prefixo}.{segredo}.

Headers

Idempotency-Key
string
required

Chave única da operação. Obrigatória em toda requisição que altera dados; sem ela a resposta é 422 idempotency_key_required. Um reenvio com a mesma chave e o mesmo corpo repete a resposta guardada.

Maximum string length: 255

Path Parameters

id
integer
required

Body

application/json

Body of PUT /v2/public/upsells/{id}. Every field is optional, the way the source api accepted it (SHA 70cd772); what the request does not carry keeps the value the offer has.

name
string
Maximum string length: 255
status
enum<string> | null
Available options:
draft,
published,
null

The product the offer SELLS, when it is not the funnel's own.

Required range: x >= 1
accept_text
string | null
Maximum string length: 255
refuse_text
string | null
Maximum string length: 255
accept_page
string | null
Maximum string length: 500
refuse_page
string | null
Maximum string length: 500

Response

ApiUpsellResource

data
ApiUpsellResource · object
required