Skip to main content
PUT
Atualizar checkout
Requer o escopo checkouts:write e o header HTTP Idempotency-Key. Todos os campos são opcionais; envie só o que muda (nome, cores, banners). Veja a receita Criar produto e checkout.

Path Parameters

id
integer
required

Body

application/json

Allowlisted checkout configuration update. Only the branding, template and presentation columns are writable; everything else is ignored. Maps to CheckoutRepository::updateConfig, which writes the columns straight through.

name
string
Maximum string length: 255
template
string
Maximum string length: 100
checkout_theme_id
integer | null
Required range: x >= 1
status
string
Maximum string length: 50
dark_mode
boolean
primary_color
string | null
Maximum string length: 30
secondary_color
string | null
Maximum string length: 30
header_bg_color
string | null
Maximum string length: 30
header_text_color
string | null
Maximum string length: 30
logo
string | null
Maximum string length: 2048
top_banner
string | null
Maximum string length: 2048
top_2_banner
string | null
Maximum string length: 2048
sidebar_banner
string | null
Maximum string length: 2048
Maximum string length: 2048

Response

data
CheckoutResource · object
required