Skip to main content
POST
Vincular produtos a um cupom

Authorizations

Authorization
string
header
required

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

Path Parameters

couponId
integer
required

Identificador do cupom.

Required range: x > 0

Body

application/json
productIds
string[]
required

Produtos a vincular.

Minimum array length: 1
Minimum string length: 1

Response

Produtos vinculados ao cupom.

Produtos vinculados ao cupom.

success
boolean
required

Sempre true em uma resposta bem-sucedida.

data
object
required