Skip to main content
POST
Criar cupons em lote

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Body

application/json
cupons
object[]
required

Cupons a criar, de 1 a 100. Cada item segue o body do POST /cupons, com cliente_id (um cliente) no lugar de cliente_ids.

Required array length: 1 - 100 elements

Response

Cupons criados, na ordem enviada

The response is of type object.