Skip to main content
PUT
Definir ofertas do checkout

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

checkoutId
string
required

Identificador do checkout.

Minimum string length: 1

Body

application/json
offerIds
integer[]
required

Conjunto completo de ofertas do checkout, na ordem de exibição. A lista substitui a anterior.

Maximum array length: 50
Required range: x > 0
defaultOfferId
integer | null

Oferta que abre pela URL do checkout. Omitir mantém a atual, se ela continuar disponível.

Required range: x > 0

Response

Ofertas vinculadas ao checkout depois da troca.

Ofertas vinculadas ao checkout depois da troca.

success
boolean
required

Sempre true em uma resposta bem-sucedida.

data
object
required