curl --request POST \
--url https://api.dooki.com.br/v2/{alias}/catalog/products \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"simple": true,
"brand_id": 123,
"erp_id": 123,
"active": true,
"searchable": true,
"is_digital": true,
"buy_similars": true,
"priority": 123,
"rating": 123,
"ncm": "<string>",
"name": "<string>",
"slug": "<string>",
"video": "<string>",
"description": "<string>",
"specifications": "<string>",
"measures": "<string>",
"gift_value": 123,
"seo_title": "<string>",
"seo_description": "<string>",
"seo_keywords": "<string>",
"canonical_url": "<string>",
"google_category": "<string>",
"search_terms": "<string>",
"categories_ids": [
123
],
"flags_ids": [
123
],
"filters_values_ids": [
123
],
"variations_ids": [
123
],
"similars_ids": [
123
],
"skus": [
{
"sku": "<string>",
"erp_id": 123,
"barcode": "<string>",
"price_cost": 123,
"price_sale": 123,
"price_discount": 123,
"weight": 123,
"height": 123,
"width": 123,
"length": 123,
"quantity_managed": true,
"availability": 123,
"availability_soldout": 123,
"blocked_sale": true,
"variations_values_ids": [
123
],
"images": [
{
"url": "<string>"
}
]
}
]
}'
{
"id": 123,
"merchant_id": "1",
"affiliation_id": 123,
"erp_id": 123,
"seller_id": 123,
"active": true,
"searchable": true,
"is_digital": true,
"rating": 123,
"priority": 123,
"ncm": "<string>",
"name": "<string>",
"slug": "<string>",
"warranty": 123,
"custom_shipping": true,
"shipping_price": 123,
"gift_value": 123,
"simple": true
}
Cria um novo produto
curl --request POST \
--url https://api.dooki.com.br/v2/{alias}/catalog/products \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"simple": true,
"brand_id": 123,
"erp_id": 123,
"active": true,
"searchable": true,
"is_digital": true,
"buy_similars": true,
"priority": 123,
"rating": 123,
"ncm": "<string>",
"name": "<string>",
"slug": "<string>",
"video": "<string>",
"description": "<string>",
"specifications": "<string>",
"measures": "<string>",
"gift_value": 123,
"seo_title": "<string>",
"seo_description": "<string>",
"seo_keywords": "<string>",
"canonical_url": "<string>",
"google_category": "<string>",
"search_terms": "<string>",
"categories_ids": [
123
],
"flags_ids": [
123
],
"filters_values_ids": [
123
],
"variations_ids": [
123
],
"similars_ids": [
123
],
"skus": [
{
"sku": "<string>",
"erp_id": 123,
"barcode": "<string>",
"price_cost": 123,
"price_sale": 123,
"price_discount": 123,
"weight": 123,
"height": 123,
"width": 123,
"length": 123,
"quantity_managed": true,
"availability": 123,
"availability_soldout": 123,
"blocked_sale": true,
"variations_values_ids": [
123
],
"images": [
{
"url": "<string>"
}
]
}
]
}'
{
"id": 123,
"merchant_id": "1",
"affiliation_id": 123,
"erp_id": 123,
"seller_id": 123,
"active": true,
"searchable": true,
"is_digital": true,
"rating": 123,
"priority": 123,
"ncm": "<string>",
"name": "<string>",
"slug": "<string>",
"warranty": 123,
"custom_shipping": true,
"shipping_price": 123,
"gift_value": 123,
"simple": true
}
Alias da loja
Representa os dados necessários para criar ou atualizar um produto
Produto criado com sucesso
Representa um produto do catálogo
Was this page helpful?