| Atualmente, o limite de variações é de 150 por produto. |
Responses
| Retorno | Descrição |
|---|---|
| 200 | Sucesso |
| 201 | Criado |
| 204 | Sem conteúdo |
| 401 | Sem autorização |
| 403 | Acesso Negado |
| 404 | Not found |
Filtros
Pode-se utilizar filtros para restringir o retorno de dados. São utilizados, passando um parâmetro na URL requisitada. Observe a tabela de possíveis filtros abaixo
| Param | Descrição | Tipo | Valores | Ex |
| ids | Filtra produto pelo id | int | ?ids=1,2,3 | |
| name | Filtra produto pelo nome | string | ?name=produto | |
| active | Filtra produto ativo | boolean | ?active=1 | |
| category_id | Filtra produto pelo ID da categoria | int |
?category_id=29
|
# Criar Produto
POST https://api.dooca.store/products
Descrição dos campos
| Campo | Tipo | Descrição |
|---|---|---|
| category_default_id | String/Nullable | Código da categoria principal do produto |
| brand_id | Number/Nullable | Código da marca do produto |
| hotsite_id | Number/Nullable | Página interna |
| name | String - máx 255 | Nome do produto |
| description | String - máx 65535/Nullable | Descrição do produto |
| short_description | String - máx 4096/Nullable | Descrição curta do produto |
| relevance | Number | Prioridade de exibição na vitrine (1 a 5) |
| tags | String/Nullable | Tags do produto |
| min_quantity | Number - max:4294967295 | Quantidade mínima que usuário pode adquirir do produto |
| sell_in_kit_only | Boolean | Vendas do produto apenas em kit (Veja a tabela B) |
| meta_title | String/Nullable | Título Meta (SEO) |
| meta_description | String - máx 255/Nullable | Descrição Meta |
| meta_keywords | String/Nullable | Palavras-chave Meta (tags) |
| kit | Boolean | É kit (Veja a Tabela A) |
| kit_markup | Decimal | Percentual de acréscimo no preço de um kit |
| weight | Decimal/Nullable | Peso do produto |
| depth | Decimal/Nullable | Profundidade do produto |
| width | Decimal/Nullable | Comprimento do produto |
| height | Decimal/Nullable | Altura do produto |
| sell_out_of_stock | Boolean | Venda sem estoque (Veja tabela D) |
| price_out_of_stock | Decimal/Nullable | Preço fora do estoque |
| additional_time_out_of_stock | Number - max: 4294967295 /Nullable | Tempo adicional fora do estoque |
| price | Decimal/Nullable | Preço |
| price_compare | Decimal/Nullable | Preço comparativo |
| billet_discount | Decimal/Nullable | Desconto |
| warranty | String - max: 65535/Nullable | Garantia |
| model | String - max: 255/Nullable | Modelo |
| gender | String- max: 255 /Nullable | Gênero |
| stock_location | String - max: 255/Nullable | Localização do estoque |
| active | Boolean | Ativo (Veja tabela C) |
| images | Array (object) | Imagens |
| variations | Array (object) | Variações |
| category_ids | Array (number) | Código das categorias relacionadas |
| feature_ids | Array (number) | Código das características |
| carrie_exclude_ids | Array (number) | IDs das transportadoras específicas excluídas da entrega do produto |
Response: 201Body
{
"category_default_id": "1", //nullable|string|max:255,
"brand_id": null, //nullable|integer,
"hotsite_id": null, //nullable|integer,
"name": "Produto teste", //required|string|max:255,
"description": "Descrição do produto", //string|nullable|max:65535,
"short_description": "short desc", //string|nullable|max:4096,
"relevance": "1", //integer|between:1,5,
"tags": "oi,produto,sei,la", //nullable|string|max:512,
"min_quantity": "1", //integer|gt:0|max:4294967295,
"sell_in_kit_only": "0", //boolean,
"meta_title": "teste", //string|nullable|max:255,
"meta_description": "teste", //string|nullable|max:255,
"meta_keywords": "teste", //string|nullable|max:255,
"kit": "0", //boolean,
"kit_markup": "1", //decimal:10,8,
"weight": "1.222", //nullable|decimal:8,3,
"depth": "2.0", //nullable|decimal,
"width": "3.0", //nullable|decimal,
"height": "4.0", //nullable|decimal,
"sell_out_of_stock": "1", //boolean,
"price_out_of_stock": "20.00", //nullable|decimal,
"additional_time_out_of_stock": "2", //nullable|integer|max:4294967295,
"price": "15.00", //nullable|decimal,
"price_compare": "19.90", //nullable|decimal,
"billet_discount": "10", //nullable|decimal,
"warranty": "não tem garantia", //string|nullable|max:65535,
"model": "modelo dooca", //string|max:255|nullable,
"gender": "male", //nullable|string|in:male,female,boy,girl,unisex,
"stock_location": "sem localizacao", //max:255|string|nullable,
"active": "1", //boolean,
"images": [{
"src": "http://imagens.sharkshop.com.br/tramontina/20048040EBM001B.jpg"
},{
"src": "https://imgcentauro-a.akamaihd.net/900x900/911552NH/tenis-nike-star-runner-feminino-infantil-img.jpg"
}],
"variations": [{
"color_id": null, //nullable|integer,
"attribute_value_id": null, //nullable|integer,
"reference": "referencia", //nullable|max:255,
"price": "10.00", //nullable|decimal,
"price_compare": "14.90", //nullable|decimal,
"balance": "5", //required|integer|sometimes,
"active": 0 //boolean,
}],
"category_ids": [1,2,3], //integer,
"feature_ids": [1,2,3], //integer,
"carrie_exclude_ids": [1,2,3] //integer,
}
# Criar Produto (KIT)
POST https://api.dooca.store/products
Responses
| Retorno | Descrição |
|---|---|
| 200 | Sucesso |
| 201 | Criado |
| 204 | Sem conteúdo |
| 401 | Sem autorização |
| 403 | Acesso Negado |
| 404 | Not found |
Descrição dos campos
| Campo | Tipo | Descrição |
|---|---|---|
| name | String/Nullable | Nome do KIT |
| kit | Boolean | Kit está ativo ou não |
| slug | String |
Identificador único e legível para página do produto |
| components | Array | Componentes |
| hotsite_id | Number | ID do hotsite |
| exclude_carrier_ids | IDs das transportadoras específicas excluídas da entrega do produto | IDs das transportadoras específicas excluídas da entrega do produto |
| components | Array (object) | Componentes |
| components.id | Number | Id do componentes |
| components.grid_id | Number | Id da grid do componentes |
| components.name | String | Nome do componente |
| components.variantName | String | Nome da variação do componente |
| components.price | Number | Preço do componente |
| components.optional | ||
| components.quantity | Number | Quantidade do componente |
| components.product_component_group_id | Number | ID do componente de produto |
| variations | Array (object) | Variações |
| variations[idx].balance | Number | Estoque da variação do KIT |
| gender | String | Gênero do produto |
| age_group | String | faixa etária do produto |
| relavance | Number | Prioridade de exibição na vitrine (1 a 5) |
| is_virtual | Boolean | É um produto virtual, retorna true ou false |
| is_pre_sale | Boolean | É prevenda |
| category_default | Number | Categoria principal |
| category_default_id | Number | ID da categoria padrão |
| sell_out_of_stock | Boolean | Venda sem estoque |
| category_ids | Array/Number | IDs da Categoria |
| features | Array (object) | Array de característica |
| tags | Array/Strings | Tags do kit de produto |
| warrenty | String/null | Garantia do kit produto |
| ncm | Number/Nullable | NCM do Produto |
| excludes_carries | Array (number) | ID específico da transportadora |
| balance | Number | Estoque |
| min_quantity | Number | Quantidade mínima |
| description | String | Descrição |
| height | Number | Altura em CM |
| width | Number | Largura em CM |
| depth | Number | Comprimento em CM |
| images | Array (object) | Array de objetos com imagens |
| images.src | String | URL da imagem |
Body
{
"name": "KIT de produto da Sony",
"active": true,
"slug": null,
"hotsite_id": null,
"images": [],
"exclude_carrier_ids": [],
"components": [],
"variations": [
{
"balance": 0
}
],
"gender": null,
"age_group": null,
"relevance": 4,
"kit": false,
"is_virtual": false,
"is_pre_sale": false,
"has_gift_wrapping": true,
"category_default": null,
"category_default_id": null,
"sell_out_of_stock": false,
"category_ids": [
1044533
],
"feature_ids": [
292016
],
"features": [
{
"id": 55537,
"name": "Sony",
"values": [
{
"id": 292016,
"feature_id": 55537,
"external_id": null,
"name": "Sony Marca",
"slug": "sony-marca",
"image": null,
"position": 1,
"active": true,
"created_at": "2025-08-01 17:21:02",
"updated_at": "2025-08-01 17:21:02"
}
]
}
],
"tags": null,
"warranty": null,
"ncm": null,
"exclude_carriers": [],
"balance": 0,
"min_quantity": 1,
"description": "\n\n<div>\n<h1>KIT de produto da Sony</h1>\n<p>O KIT de produto da Sony é a escolha perfeita para quem busca qualidade, tecnologia e versatilidade em um único pacote. Composto por três produtos incríveis da renomada marca Sony, este KIT é ideal para quem deseja ter uma experiência completa e inovadora em seus momentos de lazer, trabalho ou estudos.</p>\n<p>O primeiro produto do KIT é o <strong>Smartphone Sony Xperia XA2 Ultra</strong>, um celular de última geração que oferece uma tela de 6 polegadas com resolução Full HD, câmera frontal de 16MP para selfies perfeitas e câmera traseira de 23MP para registrar todos os momentos com qualidade. Além disso, o Xperia XA2 Ultra conta com um processador octa-core e 4GB de memória RAM, garantindo um desempenho rápido e eficiente.</p>\n<p>O segundo item do KIT é o <strong>Notebook Sony Vaio Fit 15S</strong>, um laptop moderno e potente que irá te acompanhar em todas as suas tarefas. Com uma tela de 15,6 polegadas e resolução Full HD, o Vaio Fit 15S oferece uma excelente qualidade de imagem. Além disso, possui processador Intel Core i5, 8GB de memória RAM e 1TB de armazenamento, garantindo um desempenho excepcional em todas as suas atividades.</p>\n<p>E para completar o KIT, temos o <strong>Fone de Ouvido Sony WH-1000XM3</strong>, um dos melhores fones de ouvido do mercado. Com cancelamento de ruído ativo, conexão Bluetooth e uma bateria que dura até 30 horas, o WH-1000XM3 oferece uma experiência sonora incrível, com graves potentes e agudos cristalinos.</p>\n<p>Com o KIT de produto da Sony, você terá em mãos um smartphone, um notebook e um fone de ouvido de alta qualidade, perfeitos para o seu dia a dia. Além disso, ao adquirir o KIT, você economiza e ainda tem a garantia de produtos da marca Sony, conhecida por sua durabilidade e tecnologia de ponta.</p>\n<p>Não perca mais tempo e adquira agora mesmo o KIT de produto da Sony. Com certeza, você não irá se arrepender e terá em mãos um conjunto de produtos que irão facilitar e melhorar a sua vida em diversos aspectos. Aproveite!</p>\n</div>",
"short_description": "O <strong>PlayStation 5</strong> redefine a experiência dos jogos com desempenho ultrarrápido, gráficos de tirar o fôlego e uma imersão jamais vista. Equipado com um SSD de altíssima velocidade, o PS5 reduz drasticamente os tempos de carregamento e permite transições instantâneas entre mundos detalhados e dinâmicos.",
"weight": "1",
"height": "50",
"width": "50",
"depth": "50",
"price": 200,
"price_compare": 310,
"categories": [
{
"id": 1044533,
"external_id": 1044533,
"parent_id": null,
"name": "Console",
"slug": "console",
"banner": null,
"image": null,
"position": null,
"depth": 1,
"breadcrumb": "Console",
"google_taxonomy_id": null,
"has_products": true,
"active": true,
"created_at": "2025-03-07 15:22:22",
"updated_at": "2025-03-07 15:22:22",
"children": []
}
],
"variation_count": 1,
"brand_id": 886179,
"brand": {
"id": 886179,
"external_id": null,
"hotsite_id": null,
"name": "Playstation",
"slug": "playstation",
"description": "<p>A Marca que transforma o plástico em extraordinário.</p>",
"short_description": null,
"image": {
"src": "https://cdn.dooca.store/167845/brands/1drc6gusro50y36yszbvrwlwfifmrs2tfmpb.jpeg?v=1741371536",
"mime": null,
"alt": null,
"size": null
},
"banner": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"position": 1,
"url": "https://loja-de-teste-takamori.bagypro.com/playstation",
"active": true,
"created_at": "2025-03-07 15:18:57",
"updated_at": "2025-03-07 15:18:57"
}
}
Status: 201
# Editar Produto
PUT https://api.dooca.store/products/:id
Parâmetro: O ID do produto.
A edição do registro pode ser parcial ou total.
{
"name": "Novo nome do Produto"
}
Status: 200
# Deletar Produto
DELETE https://api.dooca.store/products/:id
Parâmetros enviados
| Campo | Tipo | Descrição |
|---|---|---|
| :id | int | Código do produto |
Response: 204
# Consultar Dados do Produto
GET https://api.dooca.store/products/:id
Parâmetro: O ID do produto.
| Campo | Tipo | Descrição |
|---|---|---|
| id | Number | Código do produto |
| external_id | Number/Nullable | Código externo do produto |
| category_default_id | Number/Nullable | Código da categoria padrão do produto |
| brand_id | Number | Código da marca do produto |
| hotsite_id | Number/Nullable | Página interna |
| name | String | Nome do produto |
| slug | String | Identificador único e legível para página do produto |
| url | String | URL da loja com o slug do produto |
| description | String | Descrição do produto |
| short-description | String/Nullable | Descrição curta do produto |
| relevance | Number | Prioridade de exibição na vitrine (1 a 5) |
| tags | String/Nullable | Palavras-chave do produto |
| min_quantity | Number / Nullable? | Quantidade mínima que usuário pode adquirir do produto |
| sell_in_kit_only | Boolean | Vendas apenas em kit |
| meta_title | Null | Título da Meta (SEO) |
| meta_description | Null | Descrição Meta |
| meta_keywords | Null | Palavras-chave Meta (tags) |
| kit | Boolean | Se é um Kit |
| kit_markup | Percentual de acréscimo no preço de um kit | |
| is_virtual | Boolean | Produto vendido na loja virtual |
| images | Array | Imagens do produto |
| attachments | Array | |
| video | Arrayl | Links de vídeo do produto |
| weight | Decimal/Nullable | Peso do produto |
| depth | Decimal/Nullable | Profundidade do produto |
| width | Decimal/Nullable | Comprimento do produto |
| height | Decimal/Nullable | Altura do produto |
| sell_out_of_stock | Boolean | Venda do produto fora de estoque |
| price_out_of_stock | Null/Decimal | Preço do produto fora de estoque |
| additional_time_out_of_stock | Null/Number - máx: 4294967295 | Tempo adicional fora de estoque |
| price | Null/Decimal | Preço do produto |
| price_compare | Null/Decimal | Preço para comparar |
| billet_discount | Null/Decimal | Valor de desconto |
| warranty | String/Null - máx: 65535 | Garantia |
| model | Null/String - max: 255 | Modelo do produto |
| gender | Null/String | Gênero |
| age_group | Grupo de idade | Grupo de idade |
| stock_location | String - max: 255/Nullable | Localização de estoque |
| st | ST do produto | |
| ncm | Number/Nullable | NCM do produto |
| ipi | Number/Nullable | IPI do produto |
| active | Boolean | Produto |
| has_gift_wrapping | Boolean | Embrulho para presente |
| created_at | Date | Data de criação do produto |
| updated_at | Date | Data de atualização do produto |
| brand | Object | Marca |
| category_default | Object | Categoria pai |
| categories | Object | Categorias relacionadas |
| features | Object | Características |
| exclude_carriers | Object | transportadoras específicas excluídas da entrega do produto |
| components | Object | Componentes do produto |
| variations | Object | Variação do produto |
Response: 200HTTP
{
"id": 163,
"external_id": null,
"category_default_id": 32,
"brand_id": 1,
"hotsite_id": null,
"name": "Cópia de bola de futebol",
"slug": "copia-de-bola-de-futebol",
"url": "http://loja.dooca.local/copia-de-bola-de-futebol",
"description": "<p>bola de futebol</p>",
"short_description": null,
"relevance": 1,
"tags": null,
"min_quantity": 1,
"max_quantity": null,
"sell_in_kit_only": false,
"meta_title": null,
"meta_description": null,
"meta_keywords": null,
"kit": false,
"kit_markup": 1,
"is_virtual": false,
"images": [],
"attachments": [],
"video": null,
"weight": null,
"depth": null,
"width": null,
"height": null,
"sell_out_of_stock": false,
"price_out_of_stock": null,
"additional_time_out_of_stock": null,
"price": "30.00",
"price_compare": "50.00",
"billet_discount": null,
"warranty": null,
"model": null,
"gender": null,
"age_group": null,
"stock_location": null,
"st": false,
"ncm": null,
"ipi": null,
"active": true,
"has_gift_wrapping": true,
"created_at": "2020-03-19 17:18:31",
"updated_at": "2020-03-23 14:07:45",
"brand": {
"id": 1,
"external_id": null,
"hotsite_id": null,
"name": "Nike",
"slug": "nike",
"description": null,
"short_description": null,
"image": null,
"banner": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"position": 1,
"url": "http://loja.dooca.local/nike",
"active": true,
"created_at": "2020-01-29 11:54:06",
"updated_at": "2020-01-29 11:54:06"
},
"category_default": {
"id": 32,
"parent_id": null,
"hotsite_id": null,
"external_id": null,
"name": "string",
"slug": "string",
"description": null,
"image": null,
"banner": null,
"banner_link": null,
"position": null,
"depth": 1,
"breadcrumb": "string",
"google_taxonomy_id": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"url": "http://loja.dooca.local/string",
"active": true,
"created_at": "2020-03-09 16:06:30",
"updated_at": "2020-03-09 16:06:30"
},
"categories": [
{
"id": 32,
"parent_id": null,
"hotsite_id": null,
"external_id": null,
"name": "string",
"slug": "string",
"description": null,
"image": null,
"banner": null,
"banner_link": null,
"position": null,
"depth": 1,
"breadcrumb": "string",
"google_taxonomy_id": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"url": "http://loja.dooca.local/string",
"active": true,
"created_at": "2020-03-09 16:06:30",
"updated_at": "2020-03-09 16:06:30"
},
{
"id": 34,
"parent_id": 32,
"hotsite_id": null,
"external_id": null,
"name": "string2",
"slug": "string2",
"description": null,
"image": null,
"banner": null,
"banner_link": null,
"position": null,
"depth": 2,
"breadcrumb": "string > string2",
"google_taxonomy_id": 772,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"url": "http://loja.dooca.local/string2",
"active": true,
"created_at": "2020-03-12 15:17:45",
"updated_at": "2020-03-12 15:17:45"
}
],
"features": [
{
"id": 1,
"external_id": null,
"name": "estilo",
"slug": "estilo",
"image": null,
"active": true,
"created_at": "2020-03-12 18:13:23",
"updated_at": "2020-03-18 08:54:39",
"values": [
{
"id": 4,
"feature_id": 1,
"external_id": null,
"name": "couro",
"slug": "couro",
"image": null,
"position": 1,
"active": true,
"created_at": "2020-03-18 08:54:39",
"updated_at": "2020-03-18 08:54:39"
},
{
"id": 5,
"feature_id": 1,
"external_id": null,
"name": "ouro",
"slug": "ouro",
"image": null,
"position": 3,
"active": true,
"created_at": "2020-03-18 08:54:39",
"updated_at": "2020-03-18 08:54:39"
},
{
"id": 6,
"feature_id": 1,
"external_id": null,
"name": "metal",
"slug": "metal",
"image": null,
"position": 2,
"active": true,
"created_at": "2020-03-18 08:54:39",
"updated_at": "2020-03-18 08:54:39"
}
]
},
{
"id": 3,
"external_id": null,
"name": "Linha",
"slug": "linha",
"image": null,
"active": true,
"created_at": "2020-03-20 14:23:52",
"updated_at": "2020-03-20 14:23:52",
"values": [
{
"id": 7,
"feature_id": 3,
"external_id": null,
"name": "Jovem",
"slug": "jovem",
"image": null,
"position": 1,
"active": true,
"created_at": "2020-03-20 14:23:52",
"updated_at": "2020-03-20 14:23:52"
}
]
}
],
"exclude_carriers": [],
"components": [],
"variations": [
{
"id": 173,
"product_id": 163,
"color_id": 1,
"grid_id": "163-1",
"color_secondary_id": null,
"attribute_value_id": 1,
"attribute_value_secondary_id": null,
"external_id": null,
"reference": null,
"sku": null,
"gtin": "234234",
"mpn": "2342",
"price": "30.00",
"price_compare": null,
"additional_shipping_time": null,
"images": null,
"position": null,
"created_at": "2020-03-19 17:18:31",
"updated_at": "2020-03-23 14:07:45",
"active": true,
"balance": 0,
"reserved_balance": 0,
"color": {
"id": 1,
"external_id": null,
"name": "cor cinza",
"slug": "cor-cinza",
"hexadecimal": "#acadae",
"image": null,
"position": null,
"active": true,
"created_at": "2020-03-12 18:08:34",
"updated_at": "2020-03-12 18:08:34"
},
"attribute": {
"id": 1,
"attribute_id": 2,
"attribute_name": "peso",
"external_id": null,
"name": "2kg",
"slug": "2kg",
"position": 1,
"active": true,
"created_at": "2020-03-12 16:52:32",
"updated_at": "2020-03-12 16:52:32"
},
"attribute_secondary": null,
"url": "http://loja.dooca.local/copia-de-bola-de-futebol/cor-cinza"
},
{
"id": 178,
"product_id": 163,
"color_id": 3,
"grid_id": "163-3",
"color_secondary_id": null,
"attribute_value_id": 1,
"attribute_value_secondary_id": null,
"external_id": null,
"reference": null,
"sku": null,
"gtin": null,
"mpn": null,
"price": null,
"price_compare": null,
"additional_shipping_time": null,
"images": null,
"position": null,
"created_at": "2020-03-20 15:16:42",
"updated_at": "2020-03-20 15:57:25",
"active": true,
"balance": 0,
"reserved_balance": 0,
"color": {
"id": 3,
"external_id": null,
"name": "preto",
"slug": "preto",
"hexadecimal": "#3e120c",
"image": null,
"position": null,
"active": true,
"created_at": "2020-03-16 17:45:49",
"updated_at": "2020-03-16 17:45:49"
},
"attribute": {
"id": 1,
"attribute_id": 2,
"attribute_name": "peso",
"external_id": null,
"name": "2kg",
"slug": "2kg",
"position": 1,
"active": true,
"created_at": "2020-03-12 16:52:32",
"updated_at": "2020-03-12 16:52:32"
},
"attribute_secondary": null,
"url": "http://loja.dooca.local/copia-de-bola-de-futebol/preto"
}
]
}
# Listar Produtos
GET https://api.dooca.store/products
Retorno em Caso de Sucesso (200 ou 201)
| Campo | Tipo | Descrição |
|---|---|---|
| id | Number | Código do produto |
| external_id | Number/Nullable | Código externo do produto |
| category_default_id | Number/Nullable | Código da categoria padrão do produto |
| brand_id | Number | Código da marca do produto |
| hotsite_id | Number/Nullable | Página interna |
| name | String | Nome do produto |
| slug | String | Identificador único e legível para página do produto |
| url | String | URL da loja com o slug do produto |
| description | String | Descrição do produto |
| short-description | String/Nullable | Descrição curta do produto |
| relevance | Number | Prioridade de exibição na vitrine (1 a 5) |
| tags | String/Nullable | Palavras-chave do produto |
| min_quantity | Number / Nullable? | Quantidade mínima que usuário pode adquirir do produto |
| sell_in_kit_only | Boolean | Vendas apenas em kit |
| meta_title | Null | Título da Meta (SEO) |
| meta_description | Null | Descrição Meta |
| meta_keywords | Null | Palavras-chave Meta (tags) |
| kit | Boolean | Se é um Kit |
| kit_markup | Percentual de acréscimo no preço de um kit | |
| is_virtual | Boolean | Produto vendido na loja virtual |
| images | Array | Imagens do produto |
| attachments | Array | |
| video | Arrayl | Links de vídeo do produto |
| weight | Decimal/Nullable | Peso do produto |
| depth | Decimal/Nullable | Profundidade do produto |
| width | Decimal/Nullable | Comprimento do produto |
| height | Decimal/Nullable | Altura do produto |
| sell_out_of_stock | Boolean | Venda do produto fora de estoque |
| price_out_of_stock | Null/Decimal | Preço do produto fora de estoque |
| additional_time_out_of_stock | Null/Number - máx: 4294967295 | Tempo adicional fora de estoque |
| price | Null/Decimal | Preço do produto |
| price_compare | Null/Decimal | Preço para comparar |
| billet_discount | Null/Decimal | Valor de desconto |
| warranty | String/Null - máx: 65535 | Garantia |
| model | Null/String - max: 255 | Modelo do produto |
| gender | Null/String | Gênero |
| age_group | Grupo de idade | Grupo de idade |
| stock_location | String - max: 255/Nullable | Localização de estoque |
| st | ST do produto | |
| ncm | Number/Nullable | NCM do produto |
| ipi | Number/Nullable | IPI do produto |
| active | Boolean | Produto |
| has_gift_wrapping | Boolean | Embrulho para presente |
| created_at | Date | Data de criação do produto |
| updated_at | Date | Data de atualização do produto |
| brand | Object | Marca |
| category_default | Object | Categoria pai |
| categories | Object | Categorias relacionadas |
| features | Object | Características |
| exclude_carriers | Object | transportadoras específicas excluídas da entrega do produto |
| components | Object | Componentes do produto |
| variations | Object | Variação do produto |
Response: 200
{
"id": 163,
"external_id": null,
"category_default_id": 32,
"brand_id": 1,
"hotsite_id": null,
"name": "Cópia de bola de futebol",
"slug": "copia-de-bola-de-futebol",
"url": "http://loja.dooca.local/copia-de-bola-de-futebol",
"description": "<p>bola de futebol</p>",
"short_description": null,
"relevance": 1,
"tags": null,
"min_quantity": 1,
"max_quantity": null,
"sell_in_kit_only": false,
"meta_title": null,
"meta_description": null,
"meta_keywords": null,
"kit": false,
"kit_markup": 1,
"is_virtual": false,
"images": [],
"attachments": [],
"video": null,
"weight": null,
"depth": null,
"width": null,
"height": null,
"sell_out_of_stock": false,
"price_out_of_stock": null,
"additional_time_out_of_stock": null,
"price": "30.00",
"price_compare": "50.00",
"billet_discount": null,
"warranty": null,
"model": null,
"gender": null,
"age_group": null,
"stock_location": null,
"st": false,
"ncm": null,
"ipi": null,
"active": true,
"has_gift_wrapping": true,
"created_at": "2020-03-19 17:18:31",
"updated_at": "2020-03-23 14:07:45",
"brand": {
"id": 1,
"external_id": null,
"hotsite_id": null,
"name": "Nike",
"slug": "nike",
"description": null,
"short_description": null,
"image": null,
"banner": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"position": 1,
"url": "http://loja.dooca.local/nike",
"active": true,
"created_at": "2020-01-29 11:54:06",
"updated_at": "2020-01-29 11:54:06"
},
"category_default": {
"id": 32,
"parent_id": null,
"hotsite_id": null,
"external_id": null,
"name": "string",
"slug": "string",
"description": null,
"image": null,
"banner": null,
"banner_link": null,
"position": null,
"depth": 1,
"breadcrumb": "string",
"google_taxonomy_id": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"url": "http://loja.dooca.local/string",
"active": true,
"created_at": "2020-03-09 16:06:30",
"updated_at": "2020-03-09 16:06:30"
},
"categories": [
{
"id": 32,
"parent_id": null,
"hotsite_id": null,
"external_id": null,
"name": "string",
"slug": "string",
"description": null,
"image": null,
"banner": null,
"banner_link": null,
"position": null,
"depth": 1,
"breadcrumb": "string",
"google_taxonomy_id": null,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"url": "http://loja.dooca.local/string",
"active": true,
"created_at": "2020-03-09 16:06:30",
"updated_at": "2020-03-09 16:06:30"
},
{
"id": 34,
"parent_id": 32,
"hotsite_id": null,
"external_id": null,
"name": "string2",
"slug": "string2",
"description": null,
"image": null,
"banner": null,
"banner_link": null,
"position": null,
"depth": 2,
"breadcrumb": "string > string2",
"google_taxonomy_id": 772,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"url": "http://loja.dooca.local/string2",
"active": true,
"created_at": "2020-03-12 15:17:45",
"updated_at": "2020-03-12 15:17:45"
}
],
"features": [
{
"id": 1,
"external_id": null,
"name": "estilo",
"slug": "estilo",
"image": null,
"active": true,
"created_at": "2020-03-12 18:13:23",
"updated_at": "2020-03-18 08:54:39",
"values": [
{
"id": 4,
"feature_id": 1,
"external_id": null,
"name": "couro",
"slug": "couro",
"image": null,
"position": 1,
"active": true,
"created_at": "2020-03-18 08:54:39",
"updated_at": "2020-03-18 08:54:39"
},
{
"id": 5,
"feature_id": 1,
"external_id": null,
"name": "ouro",
"slug": "ouro",
"image": null,
"position": 3,
"active": true,
"created_at": "2020-03-18 08:54:39",
"updated_at": "2020-03-18 08:54:39"
},
{
"id": 6,
"feature_id": 1,
"external_id": null,
"name": "metal",
"slug": "metal",
"image": null,
"position": 2,
"active": true,
"created_at": "2020-03-18 08:54:39",
"updated_at": "2020-03-18 08:54:39"
}
]
},
{
"id": 3,
"external_id": null,
"name": "Linha",
"slug": "linha",
"image": null,
"active": true,
"created_at": "2020-03-20 14:23:52",
"updated_at": "2020-03-20 14:23:52",
"values": [
{
"id": 7,
"feature_id": 3,
"external_id": null,
"name": "Jovem",
"slug": "jovem",
"image": null,
"position": 1,
"active": true,
"created_at": "2020-03-20 14:23:52",
"updated_at": "2020-03-20 14:23:52"
}
]
}
],
"exclude_carriers": [],
"components": [],
"variations": [
{
"id": 173,
"product_id": 163,
"color_id": 1,
"grid_id": "163-1",
"color_secondary_id": null,
"attribute_value_id": 1,
"attribute_value_secondary_id": null,
"external_id": null,
"reference": null,
"sku": null,
"gtin": "234234",
"mpn": "2342",
"price": "30.00",
"price_compare": null,
"additional_shipping_time": null,
"images": null,
"position": null,
"created_at": "2020-03-19 17:18:31",
"updated_at": "2020-03-23 14:07:45",
"active": true,
"balance": 0,
"reserved_balance": 0,
"color": {
"id": 1,
"external_id": null,
"name": "cor cinza",
"slug": "cor-cinza",
"hexadecimal": "#acadae",
"image": null,
"position": null,
"active": true,
"created_at": "2020-03-12 18:08:34",
"updated_at": "2020-03-12 18:08:34"
},
"attribute": {
"id": 1,
"attribute_id": 2,
"attribute_name": "peso",
"external_id": null,
"name": "2kg",
"slug": "2kg",
"position": 1,
"active": true,
"created_at": "2020-03-12 16:52:32",
"updated_at": "2020-03-12 16:52:32"
},
"attribute_secondary": null,
"url": "http://loja.dooca.local/copia-de-bola-de-futebol/cor-cinza"
},
{
"id": 178,
"product_id": 163,
"color_id": 3,
"grid_id": "163-3",
"color_secondary_id": null,
"attribute_value_id": 1,
"attribute_value_secondary_id": null,
"external_id": null,
"reference": null,
"sku": null,
"gtin": null,
"mpn": null,
"price": null,
"price_compare": null,
"additional_shipping_time": null,
"images": null,
"position": null,
"created_at": "2020-03-20 15:16:42",
"updated_at": "2020-03-20 15:57:25",
"active": true,
"balance": 0,
"reserved_balance": 0,
"color": {
"id": 3,
"external_id": null,
"name": "preto",
"slug": "preto",
"hexadecimal": "#3e120c",
"image": null,
"position": null,
"active": true,
"created_at": "2020-03-16 17:45:49",
"updated_at": "2020-03-16 17:45:49"
},
"attribute": {
"id": 1,
"attribute_id": 2,
"attribute_name": "peso",
"external_id": null,
"name": "2kg",
"slug": "2kg",
"position": 1,
"active": true,
"created_at": "2020-03-12 16:52:32",
"updated_at": "2020-03-12 16:52:32"
},
"attribute_secondary": null,
"url": "http://loja.dooca.local/copia-de-bola-de-futebol/preto"
}
],
. "links": {
"first": "http://api.dooca.local/products?page=1",
"last": "http://api.dooca.local/products?page=15",
"prev": null,
"next": "http://api.dooca.local/products?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 15,
"path": "http://api.dooca.local/products",
"per_page": 25,
"to": 25,
"total": 1
}
}
Comentários
0 comentário
Por favor, entre para comentar.