Skip to main content
POST
cURL

Path Parameters

instance_id
string
required

Id da instância (dashboard › instância › Credenciais).

token
string
required

Token da instância. Trate como senha.

Body

application/json
name
string
required
Required string length: 1 - 60
price
number
required
Required range: 0 <= x <= 1000000000
currency
string
required
Pattern: ^[A-Z]{3}$
description
string
Maximum string length: 300
retailer_id
string
Maximum string length: 60
url
string<uri>
Maximum string length: 256
images
string[]
Maximum array length: 10

URL http(s) pública, data: URL ou base64 puro.

Required string length: 1 - 94371840
hidden
boolean
default:false

Response

Produto criado.

id
string
required
name
string
required
price
number
required
Required range: 0 <= x <= 1000000000
currency
string
required
Pattern: ^[A-Z]{3}$
hidden
boolean
required
description
string
retailer_id
string
url
string
image_url
string
thumbnail_url
string
availability
string
review_status
string