Documentação - Xtech Commerce

The Public Docs Xtech Commerce Developer Hub

Welcome to the Public Docs Xtech Commerce developer hub. You'll find comprehensive guides and documentation to help you start working with Public Docs Xtech Commerce as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Suggest Edits

Introdução

 

A API da Xtech Commerce fornece acesso para ler ou modificar informações da sua loja, diretamente da aplicação que você está desenvolvendo.

Noções Básicas

Nessa documentação você encontrará todos os endpoints fornecidos pela API, com seus campos listados e explicados.

Para fazer uma requisição você precisa fazer autenticação, e para isso temos alguns itens importantes que é enviado em toda requisição:

  • Subdomínio da loja na Xtech Commerce
  • Chave de Aplicação que é único para cada aplicação
  • Chave da Loja que é fornecida dentro do painel da loja ou através do OAuth

Com os três itens acima em mãos, já é possível utilizar os endpoints descritos nessa documentação para construir sua aplicação. Se tiver dúvidas utilize nosso guia construindo uma requisição.

Testar API

Se você quiser testar rapidamente algum endpoint antes de iniciar o desenvolvimento da sua aplicação, recomendamos que você utilize o Postman, uma extensão para se fazer requisições HTTP. Nós temos disponível uma Collection do Postman para facilitar o uso.

Como obter uma chave de aplicação?

Para que você tenha acesso a APP KEY é preciso solicitar através do e-mail ti@xtechcommerce.com.br

Solicite a chave e faça um breve resumo da sua aplicação.

Obs: Não esqueça de informar se será uma aplicação para várias lojas ou somente para uma específica.

Suggest Edits

Limite de Acesso

 

Nossa API tem limite de acesso para previnir abusos de serviços de terceiros ou usuários. No caso do limite ser atingido, será enviado uma resposta 401 Unauthorized.

Nossos limites são divididos em dois períodos, um curto e outro longo. O curto serve para amenizar a frequência de requisição no servidor. E o longo para suprimir o excesso de requisições.

Períodos

É possivel fazer requisições até atingir o limite descrito nos períodos abaixo.

Período
Limite de Acesso

Período Curto

5 minuto

300

Período Longo

60 minutos

3000

Toda requisição irá retornar os headers descritos na tabela abaixo.

Chave
Valor
Descrição

Api-Access-Counter

2

Contador de acesso do período curto

Api-Access-Limit

300

Limite de acesso do período curto

Api-Retry-After

60

Quantos segundos faltam para acabar o período curto/bloqueado.

Atigindo o limite frequentemente?

Caso seja recorrente, é recomendado que seja feito um algoritmo de prevenção utilizando os headers fornecidos pela requisição.

Suggest Edits

Paginação

 

Alguns endpoints possuem paginação, como por exemplo o listar categorias.

Todas as requisições que possuem paginação, aceitam dois parâmetros no endpoint:

Parâmetro
Valor Exemplo
Descrição

per_page

50

Quantos itens serão exibidos por página.

page

2

Qual página você quer exibir.

Além disso esse tipo de requisição sempre nos retorna um header a mais:

Chave
Valor
Descrição

X-Total-Count

350

Valor total de itens a serem exibidos.

Com essa informação conseguimos utilizar a paginação. Utilizando os valores descritos acima, basta eu dividir o total de itens pelo número de itens exibidos por página, para descobrir quantas páginas eu preciso percorrer para consumir todos os itens.

No caso, temos 350 itens totais, e exibimos 50 itens por página, o que nos resulta em 7 páginas. Basta iterar esse número de vezes, incrementando o valor da page e assim armazenar todos os itens no banco da aplicação.

Algumas requisições podem retornar erros e dependo do status code retornado, ele pode ter ocorrido por diversos motivos.

400 Bad Request

Indica que existe algum problema com a sua requisição. É sempre bom conferir os Headers e o Body do que você está enviando nesse caso.

Caso seja algum erro específico do endpoint, será retornado os parâmetros que precisam ser corrigidos. Dentro dos endpoints você pode encontrar exemplos desses erros.

401 Unauthorized

Nesse caso, geralmente as chaves de acesso estão erradas, ou elas não possuem permissão para acessar o endpoint solicitado. Confira se você preencheu corretamente a X-API-KEY, X-APP-KEY e se está usando corretamente o subdominio da sua loja.

{
  "error": "You have no permission."
}

5xx Server Errors

Este erro pode ocorrer por falha no nosso servidor, ou por alguma situação excepcional não tratada previamente.

No caso de você presenciar um erro 5xx , pedimos para que entre em contato conosco para podemos corrigir o possível erro. Lembre sempre de nos enviar a requisição feita por você, incluindo o endpoint utilizado.

Suggest Edits

Chaves de Acesso

 

Para fazer uma requisição com sucesso para qualquer endpoint, você deve passar no header as suas chaves de acesso, seguindo a tabela abaixo:

Chave
Valor
Descrição

X-APP-KEY

mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm

Referente a sua chave de aplicação

X-API-KEY

f36bd8ea59a790c3c60ca85063d94fa2

Referente a sua chave da loja

Suggest Edits

Listar todas as categorias

 
gethttps://subdomain.xtechcommerce.com/api-v1/categories
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/categories' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"590823",
      "name":"Flash Deals",
      "slug":"flash-deals",
      "parent_id":"590825",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590824",
      "name":"Última chance",
      "slug":"ultima-chance",
      "parent_id":"590825",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590825",
      "name":"SALE",
      "slug":"sale",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590826",
      "name":"Brincos",
      "slug":"brincos",
      "parent_id":"590828",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590827",
      "name":"Colares",
      "slug":"colares",
      "parent_id":"590828",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590828",
      "name":"Acessórios",
      "slug":"acessorios",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590829",
      "name":"Saias",
      "slug":"saias",
      "parent_id":"590834",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590830",
      "name":"Shorts",
      "slug":"shorts",
      "parent_id":"590834",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590831",
      "name":"Leggings",
      "slug":"leggings",
      "parent_id":"590834",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590832",
      "name":"Top",
      "slug":"top",
      "parent_id":"590834",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590833",
      "name":"Vestidos",
      "slug":"vestidos",
      "parent_id":"590834",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590834",
      "name":"Camisas",
      "slug":"roupas",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590835",
      "name":"Home",
      "slug":"home",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590836",
      "name":"Camisetas",
      "slug":"camisetas",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590837",
      "name":"Flash Deals",
      "slug":"flash-deals",
      "parent_id":"590839",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590838",
      "name":"Última chance",
      "slug":"ultima-chance",
      "parent_id":"590839",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590839",
      "name":"SALE",
      "slug":"sale",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590840",
      "name":"Brincos",
      "slug":"brincos",
      "parent_id":"590842",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590841",
      "name":"Colares",
      "slug":"colares",
      "parent_id":"590842",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590842",
      "name":"Acessórios",
      "slug":"acessorios",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590843",
      "name":"Saias",
      "slug":"saias",
      "parent_id":"590848",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590844",
      "name":"Shorts",
      "slug":"shorts",
      "parent_id":"590848",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590845",
      "name":"Leggings",
      "slug":"leggings",
      "parent_id":"590848",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590846",
      "name":"Top",
      "slug":"top",
      "parent_id":"590848",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590847",
      "name":"Vestidos",
      "slug":"vestidos",
      "parent_id":"590848",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590848",
      "name":"Roupas",
      "slug":"roupas",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   },
   {
      "id":"590849",
      "name":"Home",
      "slug":"home",
      "parent_id":"0",
      "enabled":"1",
      "google_shopping_category":""
   }
]

Query Params

per_page
int32

Quantidade de categorias mostrado por requisição. Max. 50.

page
int32

Página que será exibida.

 

Campos da Resposta

Campo
Tipo
Descrição

id

string

Identificador da categoria.

name

string

Nome da categoria.

slug

string

Slug para acessar a rota da categoria.

parent_id

string

ID da categoria pai - Quando não possuir esse valor é retornado como 0.

enabled

boolean

Status da categoria.
0 está desativada.
1 está ativa.

Suggest Edits

Criar uma categoria

 
posthttps://subdomain.xtechcommerce.com/api-v1/categories
curl --request POST \
  --url 'https://subdomain.xtechcommerce.com/api-v1/categories' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '{
  "category": {
    "name": "Camisetas",
    "description": "As camisetas mais estilosas do mercado!",
    "excerpt": "Camisetas estilosas",
    "parent_id": 0
  }
}'
{
   "category":{
      "name":"Camisetas",
      "description":"As camisetas mais estilosas do mercado!",
      "excerpt":"Camisetas estilosas",
      "parent_id":0
   }
}
A binary file was returned

You couldn't be authenticated

{
    "name": "Camisetas",
    "description": "As camisetas mais estilosas do mercado!",
    "excerpt": "Camisetas estilosas",
    "parent_id": "0",
    "slug": "camisetas2",
    "route_id": 2307,
    "id": 590853
}

Body Params

category
object
required
category.name
string
required

Nome da categoria.

category.description
string

Descrição da sua categoria.

category.excerpt
string

Resumo da categoria.

category.parent_id
string

ID da categoria pai.

category.slug
string

Slug para acessar a rota da categoria. Se não passado, irá gerar automaticamente pelo nome da categoria.

category.sequence
integer

Ordenação no sistema.

category.google_shopping_category
string

Categoria no Google Shopping.

category.seo_title
string

Titulo otimizado para SEO.

category.seo_description
string

Descrição otimizada para SEO.

category.seo_keywords
string

Palavras-chaves para SEO.

category.meta
string

Meta tags para essa categoria.

category.enabled
boolean

Status da categoria. 0 está desativada. 1 está ativa.

 
Suggest Edits

Ver uma categoria

 
gethttps://subdomain.xtechcommerce.com/api-v1/categories?id=id
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/categories?id=590850' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

{
    "id": "918720",
    "parent_id": "0",
    "enabled": "1",
    "name": "Camisetas",
    "slug": "camisetas",
    "description": "As camisetas mais estilosas do mercado!",
    "excerpt": "Camisetas estilosas",
    "sequence": "0",
    "image": null,
    "seo_title": "",
    "seo_description": "",
    "seo_keywords": "",
    "meta": "",
    "children": []
}

Path Params

id
int32
required

Identificador da categoria

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador da categoria.

parent_id

string

ID da categoria pai - Quando não possuir esse valor é retornado como 0.

name

string

Nome da categoria.

slug

string

Slug para acessar a rota da categoria.

description

string

Descrição da categoria.

excerpt

string

Resumo da categoria.

sequence

string

Ordenação no sistema.

image

string

Link da imagem da categoria.

seo_title

string

Titulo otimizado para SEO.

seo_description

string

Descrição otimizada para SEO.

seo_keywords

string

Palavras-chaves para SEO.

meta

string

Meta tags para essa categoria.

children

array

Array contendo todas as categorias filhas.

enabled

boolean

Status da categoria.
0 está desativada.
1 está ativa.

Suggest Edits

Atualizar uma categoria

Use para atualizar as informações de uma categoria.

 
puthttps://subdomain.xtechcommerce.com/api-v1/categories?id=id
curl --request PUT \
  --url 'https://subdomain.xtechcommerce.com/api-v1/categories?id=590850' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '{
  "category": {
    "name": "Camisas",
    "description": "As camisas mais estilosas do mercado!",
    "excerpt": "Camisas mais estilosas"
  }
}'
{
   "category":{
      "name":"Camisas",
      "description":"As camisas mais estilosas do mercado!",
      "excerpt":"Camisas mais estilosas"
   }
}
A binary file was returned

You couldn't be authenticated

{
    "name": "Camisas",
    "description": "As camisas mais estilosas do mercado!",
    "excerpt": "Camisas mais estilosas",
    "id": "918720"
}

Path Params

ID
int32
required

Identificador da categoria

Body Params

category
object
required
category.name
string
required

Nome da categoria.

category.description
string

Descrição da sua categoria.

category.excerpt
string

Resumo da categoria.

category.parent_id
string

ID da categoria pai.

category.slug
string

Slug para acessar a rota da categoria. Se não passado, irá gerar automaticamente pelo nome da categoria.

category.sequence
integer

Ordenação no sistema.

category.google_shopping_category
string

Categoria no Google Shopping.

category.seo_title
string

Titulo otimizado para SEO.

category.seo_description
string

Descrição otimizada para SEO.

category.seo_keywords
string

Palavras-chaves para SEO.

category.meta
string

Meta tags para essa categoria.

category.enabled
boolean

Status da categoria. 0 está desativada. 1 está ativa.

 
Suggest Edits

Listar todos os clientes

 
gethttps://subdomain.xtechcommerce.com/api-v1/customers
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/customers' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"42",
      "firstname":"FABIANO",
      "lastname":"HONORATO",
      "email":"f.honorato@xtechcommerce.com.br",
      "newsletter_subscription":"1",
      "phone":"(12) 31231-2312",
      "company":"",
      "active":"1",
      "confirmed":"1",
      "sex":"0",
      "cpf":"152.839.107-99",
      "birthday":"1994-01-25",
      "mobile":"",
      "cnpj":"",
      "company_alt":"",
      "company_registration":"",
      "company_registration_alt":"",
      "company_description":"",
      "facebook_uid":"0",
      "site_id":"2"
   },
   {
      "id":"924",
      "firstname":"Ricardo",
      "lastname":"Oliveira",
      "email":"asd@asd.com",
      "newsletter_subscription":null,
      "phone":"21123456789",
      "company":"",
      "active":"1",
      "confirmed":"0",
      "sex":"0",
      "cpf":"123.123.123-21",
      "birthday":"0000-00-00",
      "mobile":"",
      "cnpj":"",
      "company_alt":"",
      "company_registration":"",
      "company_registration_alt":"",
      "company_description":"",
      "facebook_uid":"0",
      "site_id":"2"
   },
   {
      "id":"925",
      "firstname":"Cliente",
      "lastname":"Loja",
      "email":"cliente@sualoja.com.br",
      "newsletter_subscription":null,
      "phone":"99999-9999",
      "company":"",
      "active":"1",
      "confirmed":"0",
      "sex":"0",
      "cpf":"12312312301",
      "birthday":"0000-00-00",
      "mobile":"",
      "cnpj":"",
      "company_alt":"",
      "company_registration":"",
      "company_registration_alt":"",
      "company_description":"",
      "facebook_uid":"0",
      "site_id":"2"
   }
]
"Customer(s) not found."

Query Params

per_page
int32

Quantidade de categorias mostrado por requisição. Max. 50.

page
int32

Página que será exibida.

 

Campos da Resposta

Campo
Tipo
Descrição

id

string

Identificador do cliente.

firstname

string

Nome do cliente.

lastname

string

Sobrenome do cliente.

email

string

Email do cliente.

newsletter_subscription

boolean

Se usuário está inscrito no newsletter.
0 não está inscrito.
1 está inscrito.

phone

string

Telefone do cliente.

company

string

Empresa do cliente.

active

boollean

Se usuário está ativo.
0 não está ativo.
1 está ativo.

confirmed

boolean

sex

boolean

Sexo do usuário.
0 é masculino.
1 é feminino.

cpf

string

Documento CPF do cliente.

birthday

string

Data de nascimento do cliente.

mobile

string

Celular do cliente.

cnpj

string

Documento CNPJ do cliente.

company_alt

string

Razão Social do cliente.

company_registration

string

Inscrição estadual do cliente.

company_registration_alt

string

Inscrição municipal do cliente.

company_description

string

facebook_uid

string

ID do facebook do cliente.

site_id

string

ID da loja que o client faz parte.

Suggest Edits

Listar clientes que assinam newsletter

 
gethttps://subdomain.xtechcommerce.com/api-v1/customers?onlyNewsletter=only_newsletter
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/customers?id=42' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"42",
      "firstname":"FABIANO",
      "lastname":"HONORATO",
      "email":"f.honorato@xtechcommerce.com.br",
      "newsletter_subscription":"1",
      "phone":"(12) 31231-2312",
      "company":"",
      "active":"1",
      "confirmed":"1",
      "sex":"0",
      "cpf":"152.839.107-99",
      "birthday":"1994-01-25",
      "mobile":"",
      "cnpj":"",
      "company_alt":"",
      "company_registration":"",
      "company_registration_alt":"",
      "company_description":"",
      "facebook_uid":"0",
      "site_id":"2"
   }
]
"Customer(s) not found."

Query Params

per_page
int32

Quantidade de categorias mostrado por requisição. Max. 50.

page
int32

Página que será exibida.

only_newsletter
boolean

Filtra para apenas assinantes da newsletter.

 

Campos da Resposta

Campo
Tipo
Descrição

id

string

Identificador do cliente.

firstname

string

Nome do cliente.

lastname

string

Sobrenome do cliente.

email

string

Email do cliente.

newsletter_subscription

boolean

Se usuário está inscrito no newsletter.
0 não está inscrito.
1 está inscrito.

phone

string

Telefone do cliente.

company

string

Empresa do cliente.

active

boollean

Se usuário está ativo.
0 não está ativo.
1 está ativo.

confirmed

boolean

sex

boolean

Sexo do usuário.
0 é masculino.
1 é feminino.

cpf

string

Documento CPF do cliente.

birthday

string

Data de nascimento do cliente.

mobile

string

Celular do cliente.

cnpj

string

Documento CNPJ do cliente.

company_alt

string

Razão social do cliente.

company_registration

string

Inscrição estadual do cliente.

company_registration_alt

string

Inscrição municipal do cliente.

company_description

string

facebook_uid

string

ID do facebook do cliente.

site_id

string

ID da loja que o client faz parte.

Suggest Edits

Ver um cliente

 
gethttps://subdomain.xtechcommerce.com/api-v1/customers?id=id
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/customers?onlyNewsletter=true' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

{
   "id":"42",
   "firstname":"FABIANO",
   "lastname":"HONORATO",
   "email":"f.honorato@xtechcommerce.com.br",
   "newsletter_subscription":"1",
   "phone":"(12) 31231-2312",
   "company":"",
   "active":"1",
   "confirmed":"1",
   "sex":"0",
   "cpf":"152.839.107-99",
   "birthday":"1994-01-25",
   "mobile":"",
   "cnpj":"",
   "company_alt":"",
   "company_registration":"",
   "company_registration_alt":"",
   "company_description":"",
   "facebook_uid":"0",
   "site_id":"2"
}
"Customer(s) not found."

Query Params

id
int32

Identificador do cliente.

 

Campos da Resposta

Campo
Tipo
Descrição

id

string

Identificador do cliente.

firstname

string

Nome do cliente.

lastname

string

Sobrenome do cliente.

email

string

Email do cliente.

newsletter_subscription

boolean

Se usuário está inscrito no newsletter.
0 não está inscrito.
1 está inscrito.

phone

string

Telefone do cliente.

company

string

Empresa do cliente.

active

boollean

Se usuário está ativo.
0 não está ativo.
1 está ativo.

confirmed

boolean

sex

boolean

Sexo do usuário.
0 é masculino.
1 é feminino.

cpf

string

Documento CPF do cliente.

birthday

string

Data de nascimento do cliente.

mobile

string

Celular do cliente.

cnpj

string

Documento CNPJ do cliente.

company_alt

string

Razão social do cliente.

company_registration

string

Inscrição estadual.

company_registration_alt

string

Inscrição municipal.

company_description

string

facebook_uid

string

ID do facebook do cliente.

site_id

string

ID da loja que o client faz parte.

Suggest Edits

Listar todos os cupons

 
gethttps://subdomain.xtechcommerce.com/api-v1/coupons
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"41",
      "code":"all-shopping-80-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "apply_type":"whole_order",
      "max_product_instances":"0",
      "max_uses":"100",
      "num_uses":"0",
      "reduction_target":"price",
      "reduction_type":"percent",
      "reduction_amount":"80",
      "limit_per_user":"1",
      "min_value":"0",
      "min_product_quantity":"1",
      "cart_order":null,
      "spent_amount":"0",
      "status":"1",
      "first_buy_only":"0"
   },
   {
      "id":"42",
      "code":"all-shirts-20-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "apply_type":"categories",
      "max_product_instances":"1",
      "max_uses":"100",
      "num_uses":"0",
      "reduction_target":"price",
      "reduction_type":"percent",
      "reduction_amount":"20",
      "limit_per_user":"1",
      "min_value":"0",
      "min_product_quantity":"1",
      "cart_order":null,
      "spent_amount":"0",
      "status":"1",
      "first_buy_only":"0"
   },
   {
      "id":"43",
      "code":"all-earring-5-bucks-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "apply_type":"items",
      "max_product_instances":"5",
      "max_uses":"100",
      "num_uses":"0",
      "reduction_target":"price",
      "reduction_type":"fixed",
      "reduction_amount":"5",
      "limit_per_user":"1",
      "min_value":"0",
      "min_product_quantity":"1",
      "cart_order":null,
      "spent_amount":"0",
      "status":"1",
      "first_buy_only":"0"
   }
]

Query Params

per_page
int32

Quantidade de categorias mostrado por requisição. Max. 50.

page
int32

Página que será exibida.

 

Campos da Resposta

Suggest Edits

Ver um cupom

 
gethttps://subdomain.xtechcommerce.com/api-v1/coupons?id=id
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons?id=26' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

{
   "id":"41",
   "code":"all-shopping-80-off",
   "start_date":"2018-06-01",
   "end_date":"2018-06-30",
   "apply_type":"whole_order",
   "max_product_instances":"0",
   "max_uses":"100",
   "num_uses":"0",
   "reduction_target":"price",
   "reduction_type":"percent",
   "reduction_amount":"80",
   "limit_per_user":"1",
   "min_value":"0",
   "min_product_quantity":"1",
   "cart_order":null,
   "spent_amount":"0",
   "status":"1",
   "first_buy_only":"0"
}

Path Params

id
int32
required

Identificador do cupom

 

Campos de Resposta

Suggest Edits

Ver um cupom pelo código

 
gethttps://subdomain.xtechcommerce.com/api-v1/coupons?code=code
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons?code=all-earring-5-bucks-off' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

{
   "id":"43",
   "code":"all-earring-5-bucks-off",
   "start_date":"2018-06-01",
   "end_date":"2018-06-30",
   "apply_type":"items",
   "max_product_instances":"5",
   "max_uses":"100",
   "num_uses":"0",
   "reduction_target":"price",
   "reduction_type":"fixed",
   "reduction_amount":"5",
   "site_id":"2",
   "created_at":"2018-06-12 19:32:00",
   "campaign_id":"0",
   "limit_per_user":"1",
   "min_value":"0",
   "min_product_quantity":"1",
   "cart_order":null,
   "spent_amount":"0",
   "status":"1",
   "first_buy_only":"0",
   "product_list":[
      "304",
      "320"
   ],
   "category_list":[
      "590836"
   ]
}

Path Params

code
string
required

Código do cupom

 

Campos de Resposta

Suggest Edits

Criar cupom de frete grátis

 
posthttps://subdomain.xtechcommerce.com/api-v1/coupons
curl --request POST \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '[
	{
        "code": "free-shipping",
        "start_date": "2018-06-01",
        "end_date": "2018-06-30",
        "status": "1",
        "max_uses": "100",
        "spent_amount": "0",
        "limit_per_user": "1",
        "first_buy_only": "0",
        "min_value": "0",
        "min_product_quantity": "1",
        "reduction_target": "shipping",
        "apply_type": "whole_order"
    }
]'
[
   {
      "code":"free-shipping",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"shipping",
      "apply_type":"whole_order"
   }
]
A binary file was returned

You couldn't be authenticated

[
    {
        "code": "free-shipping",
        "start_date": "2018-06-01",
        "end_date": "2018-06-30",
        "status": "1",
        "max_uses": "100",
        "spent_amount": "0",
        "limit_per_user": "1",
        "first_buy_only": "0",
        "min_value": "0",
        "min_product_quantity": "1",
        "reduction_target": "shipping",
        "apply_type": "whole_order",
        "id": 40
    }
]
 
Suggest Edits

Criar cupom de desconto

 
posthttps://subdomain.xtechcommerce.com/api-v1/coupons
curl --request POST \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '[
	{
        "code": "all-shopping-80-off",
        "start_date": "2018-06-01",
        "end_date": "2018-06-30",
        "status": "1",
        "max_uses": "100",
        "spent_amount": "0",
        "limit_per_user": "1",
        "first_buy_only": "0",
        "min_value": "0",
        "min_product_quantity": "1",
        "reduction_target": "price",
        "reduction_type": "percent",
        "reduction_amount": "80",
        "apply_type": "whole_order"
    },
	{
        "code": "all-shirts-20-off",
        "start_date": "2018-06-01",
        "end_date": "2018-06-30",
        "status": "1",
        "max_uses": "100",
        "spent_amount": "0",
        "limit_per_user": "1",
        "first_buy_only": "0",
        "min_value": "0",
        "min_product_quantity": "1",
        "reduction_target": "price",
        "reduction_type": "percent",
        "reduction_amount": "20",
        "apply_type": "categories",
        "categories_ids": [
        	590836
        ],
        "max_product_instances": 1
    },
	{
        "code": "all-earring-5-bucks-off",
        "start_date": "2018-06-01",
        "end_date": "2018-06-30",
        "status": "1",
        "max_uses": "100",
        "spent_amount": "0",
        "limit_per_user": "1",
        "first_buy_only": "0",
        "min_value": "0",
        "min_product_quantity": "1",
        "reduction_target": "price",
        "reduction_type": "fixed",
        "reduction_amount": "5",
        "apply_type": "items",
        "items_ids": [
        	304,
        	320
        ],
        "max_product_instances": 5
    }
]'
[
   {
      "code":"all-shopping-80-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"price",
      "reduction_type":"percent",
      "reduction_amount":"80",
      "apply_type":"whole_order"
   },
   {
      "code":"all-shirts-20-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"price",
      "reduction_type":"percent",
      "reduction_amount":"20",
      "apply_type":"categories",
      "categories_ids":[
         590836
      ],
      "max_product_instances":1
   },
   {
      "code":"all-earring-5-bucks-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"price",
      "reduction_type":"fixed",
      "reduction_amount":"5",
      "apply_type":"items",
      "items_ids":[
         304,
         320
      ],
      "max_product_instances":5
   }
]
A binary file was returned

You couldn't be authenticated

[
   {
      "code":"all-shopping-80-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"price",
      "reduction_type":"percent",
      "reduction_amount":"80",
      "apply_type":"whole_order",
      "id":41
   },
   {
      "code":"all-shirts-20-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"price",
      "reduction_type":"percent",
      "reduction_amount":"20",
      "apply_type":"categories",
      "max_product_instances":1,
      "id":42
   },
   {
      "code":"all-earring-5-bucks-off",
      "start_date":"2018-06-01",
      "end_date":"2018-06-30",
      "status":"1",
      "max_uses":"100",
      "spent_amount":"0",
      "limit_per_user":"1",
      "first_buy_only":"0",
      "min_value":"0",
      "min_product_quantity":"1",
      "reduction_target":"price",
      "reduction_type":"fixed",
      "reduction_amount":"5",
      "apply_type":"items",
      "max_product_instances":5,
      "id":43
   }
]
 
Suggest Edits

Atualizar um cupom

 
puthttps://subdomain.xtechcommerce.com/api-v1/coupons?id=:id
curl --request PUT \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons?id=40' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '{
	"coupon": {
        "end_date": "2018-08-30",
        "status": "1"
    }
}'
{
   "coupon":{
      "end_date":"2018-08-30",
      "status":"1"
   }
}
A binary file was returned

You couldn't be authenticated

"Coupon updated!"

Path Params

ID
int32
required

Identificador do cupom

 
Suggest Edits

Remover um cupom

 
deletehttps://subdomain.xtechcommerce.com/api-v1/coupons?id=:id
curl --request DELETE \
  --url 'https://subdomain.xtechcommerce.com/api-v1/coupons?id=31' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

"Coupon removed!"
"Coupon not found or invalid!"

Path Params

ID
int32
required

Identificador do cupom

 
Suggest Edits

Listar todas opções

 
gethttps://subdomain.xtechcommerce.com/api-v1/options
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/options' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://staging.ambienteprotegido.com/api-v1/options",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json",
    "x-api-key: f36bd8ea59a790c3c60ca85063d94fa2",
    "x-app-key: NlNWbQkwEqaTHvVahExKCamzVXHTFn"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"4119",
      "name":" Tamanho da peça",
      "type":"droplist",
      "sequence":"1",
      "values":[
         {
            "value_id":"18145",
            "name":"RN",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"18146",
            "name":"0-3 meses",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"18147",
            "name":"3-6 meses",
            "color":"",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"18148",
            "name":"6-9 meses",
            "color":"",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"18149",
            "name":"9-12 meses",
            "color":"",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"18150",
            "name":"12-18 meses",
            "color":"",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"18151",
            "name":"18-24 meses",
            "color":"",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"18152",
            "name":"2 anos",
            "color":"",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"18153",
            "name":"3 anos ",
            "color":"",
            "value":"",
            "sequence":"9"
         },
         {
            "value_id":"19162",
            "name":"4 anos",
            "color":"",
            "value":"",
            "sequence":"10"
         },
         {
            "value_id":"19167",
            "name":"P (3-6 meses)",
            "color":"",
            "value":"",
            "sequence":"16"
         },
         {
            "value_id":"19168",
            "name":"M (6-9 meses)",
            "color":"",
            "value":"",
            "sequence":"17"
         },
         {
            "value_id":"19169",
            "name":"G (9-12meses)",
            "color":"",
            "value":"",
            "sequence":"18"
         },
         {
            "value_id":"19170",
            "name":"GG (12 meses)",
            "color":"",
            "value":"",
            "sequence":"20"
         },
         {
            "value_id":"22655",
            "name":"1 ano",
            "color":"",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"23138",
            "name":"5 anos",
            "color":"",
            "value":"",
            "sequence":"11"
         },
         {
            "value_id":"23143",
            "name":"6 anos",
            "color":"",
            "value":"",
            "sequence":"12"
         },
         {
            "value_id":"23157",
            "name":"7 anos",
            "color":"",
            "value":"",
            "sequence":"13"
         },
         {
            "value_id":"25509",
            "name":"50cm",
            "color":"",
            "value":"",
            "sequence":"21"
         },
         {
            "value_id":"25510",
            "name":"52cm",
            "color":"",
            "value":"",
            "sequence":"22"
         },
         {
            "value_id":"25511",
            "name":"54cm",
            "color":"",
            "value":"",
            "sequence":"23"
         },
         {
            "value_id":"30464",
            "name":"48cm",
            "color":"",
            "value":"",
            "sequence":"24"
         },
         {
            "value_id":"50887",
            "name":"PP (0-3 meses)",
            "color":"",
            "value":"",
            "sequence":"15"
         },
         {
            "value_id":"51327",
            "name":"Tamanho 1",
            "color":"",
            "value":"",
            "sequence":"25"
         },
         {
            "value_id":"51328",
            "name":"Tamanho 2",
            "color":"",
            "value":"",
            "sequence":"26"
         },
         {
            "value_id":"56237",
            "name":"6 a 12 meses",
            "color":"",
            "value":"",
            "sequence":"27"
         },
         {
            "value_id":"65573",
            "name":"RN ",
            "color":"",
            "value":"",
            "sequence":"28"
         },
         {
            "value_id":"65574",
            "name":"P",
            "color":"",
            "value":"",
            "sequence":"30"
         },
         {
            "value_id":"65575",
            "name":"M",
            "color":"",
            "value":"",
            "sequence":"31"
         },
         {
            "value_id":"65576",
            "name":"G",
            "color":"",
            "value":"",
            "sequence":"32"
         },
         {
            "value_id":"65577",
            "name":"GG",
            "color":"",
            "value":"",
            "sequence":"33"
         },
         {
            "value_id":"66517",
            "name":"M (6 a 12 meses)",
            "color":"",
            "value":"",
            "sequence":"34"
         },
         {
            "value_id":"66518",
            "name":"G (12 a 18 meses)",
            "color":"",
            "value":"",
            "sequence":"35"
         },
         {
            "value_id":"66519",
            "name":"GG (18 a 24 meses)",
            "color":"",
            "value":"",
            "sequence":"36"
         },
         {
            "value_id":"70086",
            "name":"RN (0 a 3 meses)",
            "color":"",
            "value":"",
            "sequence":"14"
         },
         {
            "value_id":"70130",
            "name":"PP",
            "color":"",
            "value":"",
            "sequence":"29"
         },
         {
            "value_id":"70168",
            "name":"GG (12 a 18 meses)",
            "color":"",
            "value":"",
            "sequence":"19"
         },
         {
            "value_id":"71982",
            "name":"5 a 12 meses",
            "color":"",
            "value":"",
            "sequence":"37"
         },
         {
            "value_id":"71983",
            "name":"1 a 2 anos",
            "color":"",
            "value":"",
            "sequence":"38"
         },
         {
            "value_id":"72579",
            "name":"6 meses",
            "color":"",
            "value":"",
            "sequence":"39"
         },
         {
            "value_id":"72580",
            "name":"9 meses",
            "color":"",
            "value":"",
            "sequence":"40"
         },
         {
            "value_id":"72581",
            "name":"12 meses",
            "color":"",
            "value":"",
            "sequence":"41"
         },
         {
            "value_id":"72582",
            "name":"18 meses",
            "color":"",
            "value":"",
            "sequence":"42"
         },
         {
            "value_id":"72583",
            "name":"24 meses",
            "color":"",
            "value":"",
            "sequence":"43"
         },
         {
            "value_id":"73086",
            "name":"Listradinho menino",
            "color":"",
            "value":"",
            "sequence":"44"
         },
         {
            "value_id":"73097",
            "name":"36 meses",
            "color":"",
            "value":"",
            "sequence":"45"
         },
         {
            "value_id":"74402",
            "name":"P (0 a 3 Meses)",
            "color":"",
            "value":"",
            "sequence":"46"
         },
         {
            "value_id":"74403",
            "name":"M (3 a 6 Meses)",
            "color":"",
            "value":"",
            "sequence":"47"
         },
         {
            "value_id":"74404",
            "name":"G (6 a 9 Meses)",
            "color":"",
            "value":"",
            "sequence":"48"
         },
         {
            "value_id":"74405",
            "name":"GG (9 a 12 Meses)",
            "color":"",
            "value":"",
            "sequence":"49"
         },
         {
            "value_id":"77183",
            "name":"PP (1 a 2 anos)",
            "color":"",
            "value":"",
            "sequence":"50"
         },
         {
            "value_id":"77184",
            "name":"P (2 a 4 anos)",
            "color":"",
            "value":"",
            "sequence":"51"
         },
         {
            "value_id":"77227",
            "name":"M (4 a 6 anos)",
            "color":"",
            "value":"",
            "sequence":"52"
         },
         {
            "value_id":"78022",
            "name":"4 anos",
            "color":"",
            "value":"",
            "sequence":"53"
         },
         {
            "value_id":"78023",
            "name":"6 anos",
            "color":"",
            "value":"",
            "sequence":"54"
         },
         {
            "value_id":"78024",
            "name":"8 anos",
            "color":"",
            "value":"",
            "sequence":"55"
         },
         {
            "value_id":"78767",
            "name":"56cm ",
            "color":"",
            "value":"",
            "sequence":"56"
         },
         {
            "value_id":"79255",
            "name":"P (0 a 6 meses)",
            "color":"",
            "value":"",
            "sequence":"57"
         },
         {
            "value_id":"79256",
            "name":"M (6 a 18 meses)",
            "color":"",
            "value":"",
            "sequence":"58"
         },
         {
            "value_id":"79257",
            "name":"G (2 a 4 anos)",
            "color":"",
            "value":"",
            "sequence":"59"
         },
         {
            "value_id":"114495",
            "name":"P (1 a 3 meses)",
            "color":"",
            "value":"",
            "sequence":"60"
         },
         {
            "value_id":"121696",
            "name":"RN (0 a 1 Mês)",
            "color":"",
            "value":"",
            "sequence":"61"
         },
         {
            "value_id":"127611",
            "name":"E (9 a 12 meses) ",
            "color":"",
            "value":"",
            "sequence":"62"
         },
         {
            "value_id":"128467",
            "name":"1 (12-18 meses)",
            "color":"",
            "value":"",
            "sequence":"63"
         },
         {
            "value_id":"128468",
            "name":"2 (18-24 meses)",
            "color":"",
            "value":"",
            "sequence":"64"
         },
         {
            "value_id":"128469",
            "name":"3 (24-30 meses)",
            "color":"",
            "value":"",
            "sequence":"65"
         },
         {
            "value_id":"129004",
            "name":"P (7 a 12 meses)",
            "color":"",
            "value":"",
            "sequence":"66"
         },
         {
            "value_id":"129005",
            "name":"M (13 a 18 meses)",
            "color":"",
            "value":"",
            "sequence":"67"
         },
         {
            "value_id":"129006",
            "name":"G (19 a 24 meses)",
            "color":"",
            "value":"",
            "sequence":"68"
         },
         {
            "value_id":"129065",
            "name":"PP (3 a 6 meses)",
            "color":"",
            "value":"",
            "sequence":"69"
         },
         {
            "value_id":"129153",
            "name":"BB (4 a 6 meses)",
            "color":"",
            "value":"",
            "sequence":"70"
         },
         {
            "value_id":"129485",
            "name":"G (6 a 8 anos)",
            "color":"",
            "value":"",
            "sequence":"71"
         },
         {
            "value_id":"129503",
            "name":"BB (4 a 8 Meses)",
            "color":"",
            "value":"",
            "sequence":"72"
         },
         {
            "value_id":"129504",
            "name":"PP (9 a 12 Meses)",
            "color":"",
            "value":"",
            "sequence":"73"
         },
         {
            "value_id":"133088",
            "name":"XG (12 a 18 meses)",
            "color":"",
            "value":"",
            "sequence":"74"
         },
         {
            "value_id":"135344",
            "name":"P (3 meses)",
            "color":"",
            "value":"",
            "sequence":"75"
         },
         {
            "value_id":"135345",
            "name":"M (6 meses)",
            "color":"",
            "value":"",
            "sequence":"76"
         },
         {
            "value_id":"135346",
            "name":"G (9 meses)",
            "color":"",
            "value":"",
            "sequence":"77"
         },
         {
            "value_id":"139135",
            "name":"M ( 4 a 7 anos)",
            "color":"",
            "value":"",
            "sequence":"78"
         },
         {
            "value_id":"139151",
            "name":"P (1 a 3 anos)",
            "color":"",
            "value":"",
            "sequence":"79"
         },
         {
            "value_id":"151314",
            "name":"RN - Com Lata",
            "color":"",
            "value":"",
            "sequence":"80"
         },
         {
            "value_id":"151315",
            "name":"0 - 3 - Com Lata",
            "color":"",
            "value":"",
            "sequence":"81"
         },
         {
            "value_id":"151316",
            "name":"3 - 6 - Com Lata",
            "color":"",
            "value":"",
            "sequence":"82"
         },
         {
            "value_id":"151317",
            "name":"9 - 12 Com Lata",
            "color":"",
            "value":"",
            "sequence":"84"
         },
         {
            "value_id":"151318",
            "name":"12 - 18 Com Lata",
            "color":"",
            "value":"",
            "sequence":"85"
         },
         {
            "value_id":"151319",
            "name":"18 - 24 Com Lata",
            "color":"",
            "value":"",
            "sequence":"86"
         },
         {
            "value_id":"151326",
            "name":"6 - 9 Com  Lata",
            "color":"",
            "value":"",
            "sequence":"83"
         },
         {
            "value_id":"167233",
            "name":"P - 1 a 3 Meses",
            "color":"",
            "value":"",
            "sequence":"87"
         },
         {
            "value_id":"178927",
            "name":"M - 4 a 6 Meses",
            "color":"",
            "value":"",
            "sequence":"88"
         },
         {
            "value_id":"178943",
            "name":"PP - 0 a 1 Ano",
            "color":"",
            "value":"",
            "sequence":"89"
         }
      ]
   },
   {
      "id":"4120",
      "name":"Cor",
      "type":"droplist",
      "sequence":"3",
      "values":[
         {
            "value_id":"18154",
            "name":"Lilás Orquídea",
            "color":"#9774c6",
            "value":"",
            "sequence":"11"
         },
         {
            "value_id":"18156",
            "name":"Rosa Escuro",
            "color":"#db3699",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"18157",
            "name":"Delfinio Ar",
            "color":"#3704a8",
            "value":"",
            "sequence":"14"
         },
         {
            "value_id":"18158",
            "name":"Rosa Claro",
            "color":"#ffb4cf",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"18159",
            "name":"Navajo Turquesa",
            "color":"#24c0f4",
            "value":"",
            "sequence":"16"
         },
         {
            "value_id":"18160",
            "name":"Rosa",
            "color":"#ff86a9",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"18161",
            "name":"Roxo Orquídea",
            "color":"#732ee8",
            "value":"",
            "sequence":"13"
         },
         {
            "value_id":"18162",
            "name":"Rosa Chock",
            "color":"#ed0080",
            "value":"",
            "sequence":"9"
         },
         {
            "value_id":"19141",
            "name":"Verde Aqua ",
            "color":"#5cefef",
            "value":"",
            "sequence":"19"
         },
         {
            "value_id":"19142",
            "name":"Tulipa",
            "color":"#bf7cbc",
            "value":"",
            "sequence":"10"
         },
         {
            "value_id":"19158",
            "name":"Branco",
            "color":"#ffffff",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"20979",
            "name":"Salmão",
            "color":"#f7a8a6",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"20980",
            "name":"Azul Marinho",
            "color":"#0c1889",
            "value":"",
            "sequence":"15"
         },
         {
            "value_id":"22664",
            "name":"Laranja",
            "color":"#ff8c30",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"22665",
            "name":"Preto",
            "color":"#191919",
            "value":"",
            "sequence":"23"
         },
         {
            "value_id":"22688",
            "name":"Vermelho",
            "color":"#ff0000",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"22689",
            "name":"Amarelo",
            "color":"#faff00",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"22690",
            "name":"Verde Escuro",
            "color":"#09922f",
            "value":"",
            "sequence":"21"
         },
         {
            "value_id":"22709",
            "name":"Roxo",
            "color":"#9652c3",
            "value":"",
            "sequence":"12"
         },
         {
            "value_id":"22710",
            "name":"Cinza",
            "color":"#a6a6a6",
            "value":"",
            "sequence":"22"
         },
         {
            "value_id":"23156",
            "name":"Bege",
            "color":"#eed9a9",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"23158",
            "name":"Verde",
            "color":"#38d73c",
            "value":"",
            "sequence":"20"
         },
         {
            "value_id":"23591",
            "name":"Transparente",
            "color":"",
            "value":"",
            "sequence":"24"
         },
         {
            "value_id":"23592",
            "name":"Vermelha e Azul",
            "color":"#ff0000",
            "value":"",
            "sequence":"25"
         },
         {
            "value_id":"23593",
            "name":"Laranja e Verde",
            "color":"#ffaf00",
            "value":"",
            "sequence":"26"
         },
         {
            "value_id":"23594",
            "name":"Rosa e Verde",
            "color":"#ff6ea4",
            "value":"",
            "sequence":"27"
         },
         {
            "value_id":"24561",
            "name":"Azul",
            "color":"#224dbc",
            "value":"",
            "sequence":"17"
         },
         {
            "value_id":"24823",
            "name":"azul claro",
            "color":"#a8e2e2",
            "value":"",
            "sequence":"18"
         },
         {
            "value_id":"51419",
            "name":"Lilás ",
            "color":"#beacd1",
            "value":"",
            "sequence":"28"
         },
         {
            "value_id":"51420",
            "name":"Pistache ",
            "color":"#c0dd69",
            "value":"",
            "sequence":"29"
         },
         {
            "value_id":"51421",
            "name":"Coral",
            "color":"#f47b60",
            "value":"",
            "sequence":"30"
         },
         {
            "value_id":"113802",
            "name":"Glitter prata ",
            "color":"#c6c5c5",
            "value":"",
            "sequence":"31"
         },
         {
            "value_id":"129152",
            "name":"creme",
            "color":"#faf9f9",
            "value":"",
            "sequence":"32"
         },
         {
            "value_id":"189763",
            "name":"Vermelho",
            "color":"#ff0000",
            "value":"",
            "sequence":"33"
         }
      ]
   },
   {
      "id":"5125",
      "name":"Tamanho do Calçado",
      "type":"droplist",
      "sequence":"2",
      "values":[
         {
            "value_id":"22574",
            "name":"15 a 18",
            "color":"",
            "value":"",
            "sequence":"19"
         },
         {
            "value_id":"22575",
            "name":"19 a 22",
            "color":"",
            "value":"",
            "sequence":"20"
         },
         {
            "value_id":"22576",
            "name":"23 a 27",
            "color":"",
            "value":"",
            "sequence":"21"
         },
         {
            "value_id":"22581",
            "name":"22/23",
            "color":"",
            "value":"",
            "sequence":"11"
         },
         {
            "value_id":"22582",
            "name":"24/25",
            "color":"",
            "value":"",
            "sequence":"14"
         },
         {
            "value_id":"22583",
            "name":"26/27",
            "color":"",
            "value":"",
            "sequence":"18"
         },
         {
            "value_id":"22589",
            "name":"19",
            "color":"",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"22590",
            "name":"20",
            "color":"",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"22591",
            "name":"21",
            "color":"",
            "value":"",
            "sequence":"9"
         },
         {
            "value_id":"22592",
            "name":"22",
            "color":"",
            "value":"",
            "sequence":"10"
         },
         {
            "value_id":"22593",
            "name":"23",
            "color":"",
            "value":"",
            "sequence":"12"
         },
         {
            "value_id":"22594",
            "name":"24",
            "color":"",
            "value":"",
            "sequence":"13"
         },
         {
            "value_id":"22595",
            "name":"14/15",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"22596",
            "name":"16/17",
            "color":"",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"22597",
            "name":"20/21",
            "color":"",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"22599",
            "name":"18/19",
            "color":"",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"22667",
            "name":"16",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"22668",
            "name":"17",
            "color":"",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"22669",
            "name":"18",
            "color":"",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"22670",
            "name":"RN",
            "color":"",
            "value":"",
            "sequence":"22"
         },
         {
            "value_id":"23135",
            "name":"25/26",
            "color":"",
            "value":"",
            "sequence":"16"
         },
         {
            "value_id":"23139",
            "name":"25",
            "color":"",
            "value":"",
            "sequence":"15"
         },
         {
            "value_id":"23140",
            "name":"26",
            "color":"",
            "value":"",
            "sequence":"17"
         },
         {
            "value_id":"23815",
            "name":"3 meses",
            "color":"",
            "value":"",
            "sequence":"23"
         },
         {
            "value_id":"23816",
            "name":"6 meses",
            "color":"",
            "value":"",
            "sequence":"24"
         },
         {
            "value_id":"23841",
            "name":"12 meses",
            "color":"",
            "value":"",
            "sequence":"26"
         },
         {
            "value_id":"23842",
            "name":"18 meses",
            "color":"",
            "value":"",
            "sequence":"27"
         },
         {
            "value_id":"23843",
            "name":"24 meses",
            "color":"",
            "value":"",
            "sequence":"28"
         },
         {
            "value_id":"23844",
            "name":"9 meses",
            "color":"",
            "value":"",
            "sequence":"25"
         },
         {
            "value_id":"51978",
            "name":"0 a 4 meses",
            "color":"",
            "value":"",
            "sequence":"29"
         },
         {
            "value_id":"51979",
            "name":"5 a 8 meses",
            "color":"",
            "value":"",
            "sequence":"30"
         },
         {
            "value_id":"51980",
            "name":"9 a 12 meses",
            "color":"",
            "value":"",
            "sequence":"31"
         },
         {
            "value_id":"56628",
            "name":"12/13",
            "color":"",
            "value":"",
            "sequence":"32"
         },
         {
            "value_id":"57936",
            "name":"13",
            "color":"",
            "value":"",
            "sequence":"33"
         },
         {
            "value_id":"57937",
            "name":"15",
            "color":"",
            "value":"",
            "sequence":"34"
         },
         {
            "value_id":"57962",
            "name":"14",
            "color":"",
            "value":"",
            "sequence":"35"
         },
         {
            "value_id":"58409",
            "name":"19 a 22",
            "color":"",
            "value":"",
            "sequence":"36"
         },
         {
            "value_id":"97104",
            "name":"23 a 27",
            "color":"",
            "value":"",
            "sequence":"37"
         },
         {
            "value_id":"109260",
            "name":"12-18 meses",
            "color":"",
            "value":"",
            "sequence":"38"
         },
         {
            "value_id":"178926",
            "name":"M - 4 a 6 meses",
            "color":"",
            "value":"",
            "sequence":"39"
         }
      ]
   },
   {
      "id":"5127",
      "name":"Estampas",
      "type":"droplist",
      "sequence":"4",
      "values":[
         {
            "value_id":"22577",
            "name":"Sereia",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"22578",
            "name":"Pirata",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"22579",
            "name":"Jacaré",
            "color":"",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"22580",
            "name":"Peixe",
            "color":"",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"22657",
            "name":"Barco",
            "color":"",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"22658",
            "name":"Elefante",
            "color":"",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"22659",
            "name":"Borboleta",
            "color":"",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"22660",
            "name":"Cachorro",
            "color":"",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"22661",
            "name":"Joaninha",
            "color":"",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"22662",
            "name":"Tigre",
            "color":"",
            "value":"",
            "sequence":"9"
         },
         {
            "value_id":"22663",
            "name":"Ovelha",
            "color":"",
            "value":"",
            "sequence":"10"
         },
         {
            "value_id":"23065",
            "name":"Galinha Pintadinha",
            "color":"#4071ff",
            "value":"",
            "sequence":"18"
         },
         {
            "value_id":"23066",
            "name":"Pintinho Amarelinho",
            "color":"#fff767",
            "value":"",
            "sequence":"19"
         },
         {
            "value_id":"23067",
            "name":"Sapo Cururu",
            "color":"#59eb5f",
            "value":"",
            "sequence":"20"
         },
         {
            "value_id":"23071",
            "name":"Borboletinha",
            "color":"#ff71c8",
            "value":"",
            "sequence":"21"
         },
         {
            "value_id":"23164",
            "name":"Macaco",
            "color":"",
            "value":"",
            "sequence":"11"
         },
         {
            "value_id":"23165",
            "name":"Coruja",
            "color":"",
            "value":"",
            "sequence":"12"
         },
         {
            "value_id":"23166",
            "name":"Abelha",
            "color":"",
            "value":"",
            "sequence":"13"
         },
         {
            "value_id":"23169",
            "name":"Dinossauro",
            "color":"",
            "value":"",
            "sequence":"14"
         },
         {
            "value_id":"23188",
            "name":"Leão",
            "color":"",
            "value":"",
            "sequence":"15"
         },
         {
            "value_id":"23189",
            "name":"Tubarão",
            "color":"",
            "value":"",
            "sequence":"16"
         },
         {
            "value_id":"23211",
            "name":"Urso",
            "color":"",
            "value":"",
            "sequence":"17"
         },
         {
            "value_id":"23220",
            "name":"Hipopótamo",
            "color":"",
            "value":"",
            "sequence":"22"
         },
         {
            "value_id":"23221",
            "name":"Gato",
            "color":"",
            "value":"",
            "sequence":"23"
         },
         {
            "value_id":"23222",
            "name":"Porco Espinho",
            "color":"",
            "value":"",
            "sequence":"24"
         },
         {
            "value_id":"23223",
            "name":"Zebra",
            "color":"",
            "value":"",
            "sequence":"25"
         },
         {
            "value_id":"23224",
            "name":"Vaca",
            "color":"",
            "value":"",
            "sequence":"26"
         },
         {
            "value_id":"23225",
            "name":"Unicórnio",
            "color":"",
            "value":"",
            "sequence":"27"
         },
         {
            "value_id":"23226",
            "name":"Girafa",
            "color":"",
            "value":"",
            "sequence":"28"
         },
         {
            "value_id":"23227",
            "name":"Panda",
            "color":"",
            "value":"",
            "sequence":"29"
         },
         {
            "value_id":"23584",
            "name":"Pato",
            "color":"",
            "value":"",
            "sequence":"30"
         },
         {
            "value_id":"23793",
            "name":"Robô",
            "color":"",
            "value":"",
            "sequence":"31"
         }
      ]
   },
   {
      "id":"5254",
      "name":"Voltagem",
      "type":"droplist",
      "sequence":"5",
      "values":[
         {
            "value_id":"23167",
            "name":"110v",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"23168",
            "name":"220v",
            "color":"",
            "value":"",
            "sequence":"1"
         }
      ]
   },
   {
      "id":"5263",
      "name":"Estampas Modernas",
      "type":"droplist",
      "sequence":"6",
      "values":[
         {
            "value_id":"23213",
            "name":"Oncinha",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"23214",
            "name":"Caveirinha",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"23215",
            "name":"Camuflado",
            "color":"",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"23216",
            "name":"Renda",
            "color":"",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"23217",
            "name":"Bigode Mustache",
            "color":"",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"23218",
            "name":"Flores Vermelhas",
            "color":"",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"23219",
            "name":"Flores Rosas",
            "color":"",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"75179",
            "name":"Piratas",
            "color":"",
            "value":"",
            "sequence":"7"
         }
      ]
   },
   {
      "id":"5431",
      "name":"Estampa do Tapete",
      "type":"droplist",
      "sequence":"7",
      "values":[
         {
            "value_id":"23806",
            "name":"01",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"23807",
            "name":"02",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"23808",
            "name":"03",
            "color":"",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"23809",
            "name":"04",
            "color":"",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"23810",
            "name":"05",
            "color":"",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"23811",
            "name":"06",
            "color":"",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"23812",
            "name":"07",
            "color":"",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"23813",
            "name":"08",
            "color":"",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"23880",
            "name":"09",
            "color":"",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"23882",
            "name":"10",
            "color":"",
            "value":"",
            "sequence":"9"
         }
      ]
   },
   {
      "id":"19281",
      "name":"Tamanho do Laço",
      "type":"droplist",
      "sequence":"8",
      "values":[
         {
            "value_id":"86434",
            "name":"5 cm",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"86435",
            "name":"7 cm ",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"86436",
            "name":"10 cm",
            "color":"",
            "value":"",
            "sequence":"2"
         }
      ]
   },
   {
      "id":"28700",
      "name":"Personalização:",
      "type":"droplist",
      "sequence":"9",
      "values":[
         {
            "value_id":"135660",
            "name":"1 Mês",
            "color":"",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"135661",
            "name":"2 Meses",
            "color":"",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"135662",
            "name":"3 Meses",
            "color":"",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"135663",
            "name":"4 Meses",
            "color":"",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"135664",
            "name":"5 Meses",
            "color":"",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"135665",
            "name":"6 Meses",
            "color":"",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"135666",
            "name":"7 Meses",
            "color":"",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"135667",
            "name":"8 Meses",
            "color":"",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"135668",
            "name":"9 Meses",
            "color":"",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"135669",
            "name":"10 Meses",
            "color":"",
            "value":"",
            "sequence":"9"
         },
         {
            "value_id":"135670",
            "name":"11 Meses",
            "color":"",
            "value":"",
            "sequence":"10"
         },
         {
            "value_id":"135671",
            "name":"12 meses ou 1 ano ",
            "color":"",
            "value":"",
            "sequence":"11"
         },
         {
            "value_id":"177727",
            "name":"2 anos",
            "color":"",
            "value":"",
            "sequence":"12"
         },
         {
            "value_id":"177728",
            "name":"3 anos",
            "color":"",
            "value":"",
            "sequence":"13"
         },
         {
            "value_id":"177729",
            "name":"4 anos",
            "color":"",
            "value":"",
            "sequence":"14"
         },
         {
            "value_id":"189679",
            "name":"com nome",
            "color":"",
            "value":"",
            "sequence":"15"
         },
         {
            "value_id":"189762",
            "name":"sem Nome ",
            "color":"",
            "value":"",
            "sequence":"16"
         }
      ]
   },
   {
      "id":"31567",
      "name":"Nome Personalização:",
      "type":"textarea",
      "sequence":"10",
      "values":[

      ]
   },
   {
      "id":"33170",
      "name":"Cor do Adesivo ",
      "type":"droplist",
      "sequence":"11",
      "values":[
         {
            "value_id":"160238",
            "name":"Pink",
            "color":"#e844a6",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"160239",
            "name":"Azul",
            "color":"#1298c4",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"160240",
            "name":"Branco",
            "color":"#f4eeee",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"160241",
            "name":"Preto",
            "color":"#000000",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"160242",
            "name":"Dourado",
            "color":"#d6ab65",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"161102",
            "name":"Violeta",
            "color":"#6a237c",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"161103",
            "name":"Rosa Carmin",
            "color":"#cc6898",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"161104",
            "name":"Rosa bebê",
            "color":"#ffc0ed",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"161105",
            "name":"Amarelo",
            "color":"#f4e059",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"161106",
            "name":"Prata",
            "color":"#baa6a6",
            "value":"",
            "sequence":"9"
         }
      ]
   },
   {
      "id":"39436",
      "name":"INFORME AQUI: Nome/ Mês do body:",
      "type":"textarea",
      "sequence":"12",
      "values":[

      ]
   },
   {
      "id":"39437",
      "name":"Cores",
      "type":"droplist",
      "sequence":"0",
      "values":[

      ]
   }
]

Query Params

per_page
string

Quantidade de categorias mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador da opção.

name

string

Nome da opção.

type

string

Tipo da opção, podendo ser os seguintes valores:

droplist - Permite salvar diversos valores para essa opção, no qual o cliente escolhe um.

textarea - Permite um campo de texto grande para o cliente escrever.

textfield - Permite um campo de texto para o cliente escrever.

sequence

string

Ordenação no sistema.

values

array

Contem as subopções.

values.value_id

string

Identificador da subopção.

values.name

string

Nome da subopção.

values.color

string

Código hexadecimal para aplicar cor.

values.sequence

string

Ordenação das opções.

Suggest Edits

Ver uma opção

 
gethttps://subdomain.xtechcommerce.com/api-v1/options?id=id
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/options?id=4120' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"4120",
      "name":"Cor",
      "type":"droplist",
      "sequence":"3",
      "values":[
         {
            "value_id":"18154",
            "name":"Lilás Orquídea",
            "color":"#9774c6",
            "value":"",
            "sequence":"11"
         },
         {
            "value_id":"18156",
            "name":"Rosa Escuro",
            "color":"#db3699",
            "value":"",
            "sequence":"8"
         },
         {
            "value_id":"18157",
            "name":"Delfinio Ar",
            "color":"#3704a8",
            "value":"",
            "sequence":"14"
         },
         {
            "value_id":"18158",
            "name":"Rosa Claro",
            "color":"#ffb4cf",
            "value":"",
            "sequence":"6"
         },
         {
            "value_id":"18159",
            "name":"Navajo Turquesa",
            "color":"#24c0f4",
            "value":"",
            "sequence":"16"
         },
         {
            "value_id":"18160",
            "name":"Rosa",
            "color":"#ff86a9",
            "value":"",
            "sequence":"7"
         },
         {
            "value_id":"18161",
            "name":"Roxo Orquídea",
            "color":"#732ee8",
            "value":"",
            "sequence":"13"
         },
         {
            "value_id":"18162",
            "name":"Rosa Chock",
            "color":"#ed0080",
            "value":"",
            "sequence":"9"
         },
         {
            "value_id":"19141",
            "name":"Verde Aqua ",
            "color":"#5cefef",
            "value":"",
            "sequence":"19"
         },
         {
            "value_id":"19142",
            "name":"Tulipa",
            "color":"#bf7cbc",
            "value":"",
            "sequence":"10"
         },
         {
            "value_id":"19158",
            "name":"Branco",
            "color":"#ffffff",
            "value":"",
            "sequence":"4"
         },
         {
            "value_id":"20979",
            "name":"Salmão",
            "color":"#f7a8a6",
            "value":"",
            "sequence":"5"
         },
         {
            "value_id":"20980",
            "name":"Azul Marinho",
            "color":"#0c1889",
            "value":"",
            "sequence":"15"
         },
         {
            "value_id":"22664",
            "name":"Laranja",
            "color":"#ff8c30",
            "value":"",
            "sequence":"1"
         },
         {
            "value_id":"22665",
            "name":"Preto",
            "color":"#191919",
            "value":"",
            "sequence":"23"
         },
         {
            "value_id":"22688",
            "name":"Vermelho",
            "color":"#ff0000",
            "value":"",
            "sequence":"0"
         },
         {
            "value_id":"22689",
            "name":"Amarelo",
            "color":"#faff00",
            "value":"",
            "sequence":"2"
         },
         {
            "value_id":"22690",
            "name":"Verde Escuro",
            "color":"#09922f",
            "value":"",
            "sequence":"21"
         },
         {
            "value_id":"22709",
            "name":"Roxo",
            "color":"#9652c3",
            "value":"",
            "sequence":"12"
         },
         {
            "value_id":"22710",
            "name":"Cinza",
            "color":"#a6a6a6",
            "value":"",
            "sequence":"22"
         },
         {
            "value_id":"23156",
            "name":"Bege",
            "color":"#eed9a9",
            "value":"",
            "sequence":"3"
         },
         {
            "value_id":"23158",
            "name":"Verde",
            "color":"#38d73c",
            "value":"",
            "sequence":"20"
         },
         {
            "value_id":"23591",
            "name":"Transparente",
            "color":"",
            "value":"",
            "sequence":"24"
         },
         {
            "value_id":"23592",
            "name":"Vermelha e Azul",
            "color":"#ff0000",
            "value":"",
            "sequence":"25"
         },
         {
            "value_id":"23593",
            "name":"Laranja e Verde",
            "color":"#ffaf00",
            "value":"",
            "sequence":"26"
         },
         {
            "value_id":"23594",
            "name":"Rosa e Verde",
            "color":"#ff6ea4",
            "value":"",
            "sequence":"27"
         },
         {
            "value_id":"24561",
            "name":"Azul",
            "color":"#224dbc",
            "value":"",
            "sequence":"17"
         },
         {
            "value_id":"24823",
            "name":"azul claro",
            "color":"#a8e2e2",
            "value":"",
            "sequence":"18"
         },
         {
            "value_id":"51419",
            "name":"Lilás ",
            "color":"#beacd1",
            "value":"",
            "sequence":"28"
         },
         {
            "value_id":"51420",
            "name":"Pistache ",
            "color":"#c0dd69",
            "value":"",
            "sequence":"29"
         },
         {
            "value_id":"51421",
            "name":"Coral",
            "color":"#f47b60",
            "value":"",
            "sequence":"30"
         },
         {
            "value_id":"113802",
            "name":"Glitter prata ",
            "color":"#c6c5c5",
            "value":"",
            "sequence":"31"
         },
         {
            "value_id":"129152",
            "name":"creme",
            "color":"#faf9f9",
            "value":"",
            "sequence":"32"
         },
         {
            "value_id":"189763",
            "name":"Vermelho",
            "color":"#ff0000",
            "value":"",
            "sequence":"33"
         }
      ]
   }
]

Path Params

id
string
required

Identificador da opção

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador da característica.

name

string

Nome da característica.

type

string

Tipo da opção, podendo ser os seguintes valores:

droplist - Permite salvar diversos valores para essa opção, no qual o cliente escolhe um.

textarea - Permite um campo de texto grande para o cliente escrever.

textfield - Permite um campo de texto para o cliente escrever.

sequence

string

Ordenação no sistema.

values

array

Contém as subopções.

values.value_id

string

Identificador da subopção.

values.name

string

Nome da subopção.

values.color

string

Código hexadecimal para aplicar cor.

values.sequence

string

Ordenação das opções.

Suggest Edits

Criar uma opção

 
posthttps://subdomain.xtechcommerce.com/api-v1/options
curl --request POST \
  --url 'https://subdomain.xtechcommerce.com/api-v1/options' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '{
  "options": {
    "name": "Cores",
    "type": "droplist"
  }
}'
{
   "options":{
      "name":"Cores",
      "type":"droplist"
   }
}
A binary file was returned

You couldn't be authenticated

{
    "name": "Cores",
    "type": "droplist",
    "id": 39438
}
 
Suggest Edits

Atualizar uma opção

 
puthttps://subdomain.xtechcommerce.com/api-v1/options?id=:id
curl --request PUT \
  --url 'https://subdomain.xtechcommerce.com/api-v1/options?id=39437' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '{
  "options": {
    "name": "Cores",
    "type": "droplist"
  }
}'
{
   "options":{
      "name":"Cores",
      "type":"droplist"
   }
}
A binary file was returned

You couldn't be authenticated

{
    "name": "Cores",
    "type": "droplist",
    "id": "39437"
}

Path Params

ID
int32
required

Identificador da opção

 
Suggest Edits

Criar uma sub opção

 
posthttps://subdomain.xtechcommerce.com/api-v1/option_values
curl --request POST \
  --url 'https://subdomain.xtechcommerce.com/api-v1/option_values' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '
{
  "option_values": {
    "option_id": 4120,
    "values": [
      {
        "name": "Vermelho",
        "color": "#ff0000"
      }
    ]
  }
}'
{
   "options":{
      "name":"Cores",
      "type":"droplist"
   }
}
A binary file was returned

You couldn't be authenticated

{
   "option_values":{
      "option_id":4120,
      "values":[
         {
            "name":"Vermelho",
            "color":"#ff0000"
         }
      ]
   }
}
 
Suggest Edits

Atualizar uma sub opção

 
puthttps://subdomain.xtechcommerce.com/api-v1/options?id=:id
curl --request PUT \
  --url 'https://subdomain.xtechcommerce.com/api-v1/option_values' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm' \
  --data '{
  "option_value": {
    "id": 18145,
    "name": "RN"
  }
}'
{
   "option_value":{
      "id":18145,
      "name":"RN"
   }
}
A binary file was returned

You couldn't be authenticated

{
    "id": "18145",
    "option_id": "4119",
    "name": "RN",
    "value": "",
    "price": "0.00",
    "weight": "0.00",
    "sequence": "0",
    "limit": null,
    "site_id": "2",
    "quantity": "0",
    "color": ""
}

Path Params

ID
int32
required

Identificador da opção

 
Suggest Edits

Listar todos os pedidos

 
gethttps://subdomain.xtechcommerce.com/api-v1/orders
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/orders' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
  {
    "customer_firstname": "Fabiano",
    "customer_lastname": "Honorato",
    "customer_email": "f.honorato@xtechcommerce.com.br",
    "customer_phone": "(21) 98245-4729",
    "customer_company": "",
    "customer_default_billing_address": "9",
    "customer_default_shipping_address": "9",
    "customer_ship_to_bill_address": "true",
    "customer_active": "1",
    "customer_group_id": "1",
    "customer_sex": "0",
    "customer_cpf": "123.087.857-21",
    "customer_birthday": "1994-03-09",
    "customer_mobile": "",
    "customer_cnpj": "",
    "customer_company_alt": "",
    "customer_company_registration": "",
    "customer_company_registration_alt": "",
    "customer_job": "",
    "customer_company_description": "",
    "customer_facebook_uid": "0",
    "customer_additionals": "",
    "ship_company": "",
    "ship_firstname": "Fabiano",
    "ship_lastname": "Honorato",
    "ship_email": "f.honorato@xtechcommerce.com.br",
    "ship_phone": "(21) 98245-4729",
    "ship_address1": "Sei lá",
    "ship_address2": "Sei lá",
    "ship_anumber": "123",
    "ship_district": "Itanhangá",
    "ship_city": "Rio de Janeiro",
    "ship_zip": "22753-020",
    "ship_zone_id": "458",
    "ship_zone": "RJ",
    "ship_country_id": "30",
    "ship_country": "Brazil",
    "ship_country_code": "BR",
    "ship_reference": "",
    "ship_extra": "{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
    "order_id": "45",
    "order_order_number": "14798443555",
    "order_customer_id": "11",
    "order_status": "Pending",
    "order_ordered_on": "2016-11-22 17:52:56",
    "order_shipped_on": null,
    "order_tax": "0.00",
    "order_total": "206.10",
    "order_subtotal": "190.00",
    "order_gift_card_discount": "0.00",
    "order_coupon_discount": "0.00",
    "order_payment_discount": "0.00",
    "order_shipping": "16.10",
    "order_shipping_notes": "",
    "order_shipping_method": "PAC",
    "order_notes": null,
    "order_payment_info": "{\"module\":\"iugu\",\"boletourl\":\"https:\\/\\/faturas.iugu.com\\/d37cbf1c-5c32-454c-81a3-0825d134d2d2-42ab\"}",
    "order_referral": "",
    "order_company": "",
    "order_firstname": "Fabiano",
    "order_lastname": "Honorato",
    "order_phone": "(21) 98245-4729",
    "order_email": "f.honorato@xtechcommerce.com.br",
    "order_history": "[\"Esperando (22\\/11\\/2016 17:53)\",\"Aguardando Pagamento (22\\/11\\/2016 17:53)\",\"Mensagem enviada: Resumo do seu pedido (22\\/11\\/2016 17:53)\"]",
    "order_tracking_number": "",
    "order_delivery_time": "5",
    "order_production_time": "0",
    "order_days_until_shipped": "0",
    "order_approved_on": "0000-00-00 00:00:00",
    "order_nota_fiscal": "",
    "order_shipping_method_alt": "",
    "order_extra": "",
    "order_payment_type": "BOLETO",
    "order_delivering_on": null,
    "order_payment_id": "14798443555",
    "order_ship_address_id": "49",
    "order_bill_address_id": "49",
    "order_payment_options": "",
    "order_look_discount": "0.00",
    "order_currency": "BRL",
    "order_sent_testimonial": "0",
    "order_ip_address": "187.102.145.186",
    "order_tracking_check": "0000-00-00",
    "order_referral_id": "0",
    "order_referral_converted_value": "0.00",
    "order_referral_info": "",
    "order_referral_discount": "0.00",
    "order_campaign_discount": "0.00",
    "order_referral_confirmation": "0",
    "order_coupon_ids": "0",
    "order_delivered_on": "0000-00-00",
    "order_contents": [
      {
        "id": "20",
        "sku": "DE8997",
        "name": "Tênis Zoom Fly Low",
        "slug": "Tenis-Zoom-Fly-Low",
        "price": "190.00",
        "saleprice": "0.00",
        "free_shipping": "0",
        "shippable": "1",
        "taxable": "0",
        "fixed_quantity": "0",
        "weight": "",
        "track_stock": "1",
        "enabled": "1",
        "height": "0.00",
        "width": "0.00",
        "depth": "0.00",
        "factory_price": "0.00",
        "site_id": "2",
        "installments": "0",
        "stared": "0",
        "variant_details": "0",
        "subscription_days": "0",
        "subscription_period": "",
        "subscription_trial": "0",
        "lookable": "0",
        "reduction_type": "0",
        "reduction_amount": "0",
        "processing_days": "0",
        "rating": "0",
        "ncm_code": "",
        "gtin_code": "",
        "look_products": [],
        "available_options": [],
        "current_category": false,
        "variants": [],
        "discounted_price": "190.00",
        "installment_price": "",
        "base_price": "190.00",
        "file_list": [],
        "is_gc": false,
        "quantity": 1,
        "subtotal": 190
      }
    ]
  },
  {
    "customer_firstname": "xtech",
    "customer_lastname": "commerce",
    "customer_email": "suporte3@xtechcommerce.com.br",
    "customer_phone": "(21) 2233-4455",
    "customer_company": "",
    "customer_default_billing_address": "10",
    "customer_default_shipping_address": "10",
    "customer_ship_to_bill_address": "true",
    "customer_active": "1",
    "customer_group_id": "1",
    "customer_sex": "0",
    "customer_cpf": "117.935.637-30",
    "customer_birthday": "1990-06-22",
    "customer_mobile": "",
    "customer_cnpj": "",
    "customer_company_alt": "",
    "customer_company_registration": "",
    "customer_company_registration_alt": "",
    "customer_job": "",
    "customer_company_description": "",
    "customer_facebook_uid": "0",
    "customer_additionals": "",
    "ship_company": "",
    "ship_firstname": "xtech",
    "ship_lastname": "commerce",
    "ship_email": "suporte3@xtechcommerce.com.br",
    "ship_phone": "(21) 2233-4455",
    "ship_address1": "Rua da América",
    "ship_address2": "",
    "ship_anumber": "22",
    "ship_district": "Santo Cristo",
    "ship_city": "Rio de Janeiro",
    "ship_zip": "20220-590",
    "ship_zone_id": "458",
    "ship_zone": "RJ",
    "ship_country_id": "30",
    "ship_country": "Brazil",
    "ship_country_code": "BR",
    "ship_reference": "",
    "ship_extra": "{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
    "order_id": "44",
    "order_order_number": "147681140069",
    "order_customer_id": "13",
    "order_status": "Pending",
    "order_ordered_on": "2016-10-18 15:25:56",
    "order_shipped_on": null,
    "order_tax": "0.00",
    "order_total": "196.10",
    "order_subtotal": "200.00",
    "order_gift_card_discount": "0.00",
    "order_coupon_discount": "0.00",
    "order_payment_discount": "0.00",
    "order_shipping": "16.10",
    "order_shipping_notes": "",
    "order_shipping_method": "PAC",
    "order_notes": null,
    "order_payment_info": "Sem pagamento",
    "order_referral": "",
    "order_company": "",
    "order_firstname": "xtech",
    "order_lastname": "commerce",
    "order_phone": "(21) 2233-4455",
    "order_email": "suporte3@xtechcommerce.com.br",
    "order_history": "",
    "order_tracking_number": "",
    "order_delivery_time": "5",
    "order_production_time": "0",
    "order_days_until_shipped": "0",
    "order_approved_on": "0000-00-00 00:00:00",
    "order_nota_fiscal": "",
    "order_shipping_method_alt": "",
    "order_extra": "",
    "order_payment_type": "OTHER",
    "order_delivering_on": null,
    "order_payment_id": "147681140069",
    "order_ship_address_id": "48",
    "order_bill_address_id": "48",
    "order_payment_options": "",
    "order_look_discount": "0.00",
    "order_currency": "BRL",
    "order_sent_testimonial": "0",
    "order_ip_address": "189.91.77.38",
    "order_tracking_check": "0000-00-00",
    "order_referral_id": "10",
    "order_referral_converted_value": "20.00",
    "order_referral_info": "{\"commission_value\":\"10\",\"commission_type\":\"percent\",\"apply_type\":\"confirm\"}",
    "order_referral_discount": "20.00",
    "order_campaign_discount": "0.00",
    "order_referral_confirmation": "1",
    "order_coupon_ids": "0",
    "order_delivered_on": "0000-00-00",
    "order_contents": [
      {
        "id": "21",
        "sku": "DE8996-1",
        "name": "Camiseta Authentic",
        "slug": "Camiseta-Authentic",
        "price": "200.00",
        "saleprice": "0.00",
        "free_shipping": "0",
        "shippable": "1",
        "taxable": "0",
        "fixed_quantity": "0",
        "weight": "",
        "track_stock": "1",
        "enabled": "1",
        "height": "0.00",
        "width": "0.00",
        "depth": "0.00",
        "factory_price": "0.00",
        "site_id": "2",
        "installments": "0",
        "stared": "0",
        "variant_details": "0",
        "subscription_days": "0",
        "subscription_period": "",
        "subscription_trial": "0",
        "lookable": "0",
        "reduction_type": "0",
        "reduction_amount": "0",
        "processing_days": "0",
        "rating": "0",
        "ncm_code": "",
        "gtin_code": "",
        "look_products": [],
        "available_options": [
          "6"
        ],
        "current_category": false,
        "variants": {
          "8": {
            "id": "8",
            "price": "0.00",
            "sku": "DE8996-1",
            "weight": "0.00",
            "quantity": "10",
            "gtin_code": "",
            "product_id": "21",
            "option_values": [
              "1"
            ],
            "images": [],
            "original_price": "0.00"
          },
          "9": {
            "id": "9",
            "price": "0.00",
            "sku": "DE8996-2",
            "weight": "0.00",
            "quantity": "10",
            "gtin_code": "",
            "product_id": "21",
            "option_values": [
              "2"
            ],
            "images": [],
            "original_price": "0.00"
          },
          "10": {
            "id": "10",
            "price": "0.00",
            "sku": "DE8996-3",
            "weight": "0.00",
            "quantity": "10",
            "gtin_code": "",
            "product_id": "21",
            "option_values": [
              "3"
            ],
            "images": [],
            "original_price": "0.00"
          }
        },
        "discounted_price": "200.00",
        "installment_price": "",
        "base_price": "200.00",
        "file_list": [],
        "variant": "8",
        "alert_at": "0",
        "available": "10",
        "images": "",
        "options": {
          "Size": "M"
        },
        "is_gc": false,
        "quantity": 1,
        "subtotal": 200
      }
    ]
  }
]

Query Params

per_page
string

Quantidade de pedidos mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_payment_info.installment

string

Info de Pagamento: Texto de parcelamento

order_payment_info.installment_count

string

Info de Pagamento: Número de parcelas

order_payment_info.installment_value

string

Info de Pagamento: Valor individual de cada parcela

order_payment_info.card_brand

string

Info de Pagamento: Bandeira do cartão

order_payment_info.method

string

Info de Pagamento: Método do pagamento

order_payment_info.orderstatus

string

Info de Pagamento: Status do Pedido

order_payment_info.is_subscription

string

Info de Pagamento: Verifica assinatura

order_payment.info.module

string

Info de Pagamento: Módulo

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Contém os produtos do pedido.
Ver Listar Produtos para saber os campos.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Listar pedidos por status

 
gethttps://subdomain.xtechcommerce.com/api-v1/orders?status=:pending
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/orders?status=pending' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://staging.ambienteprotegido.com/api-v1/orders?status=pending",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json",
    "x-api-key: f36bd8ea59a790c3c60ca85063d94fa2",
    "x-app-key: NlNWbQkwEqaTHvVahExKCamzVXHTFn"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
A binary file was returned

You couldn't be authenticated

[
  {
    "customer_firstname": "Fabiano",
    "customer_lastname": "Honorato",
    "customer_email": "f.honorato@xtechcommerce.com.br",
    "customer_phone": "(21) 98245-4729",
    "customer_company": "",
    "customer_default_billing_address": "9",
    "customer_default_shipping_address": "9",
    "customer_ship_to_bill_address": "true",
    "customer_active": "1",
    "customer_group_id": "1",
    "customer_sex": "0",
    "customer_cpf": "123.087.857-21",
    "customer_birthday": "1994-03-09",
    "customer_mobile": "",
    "customer_cnpj": "",
    "customer_company_alt": "",
    "customer_company_registration": "",
    "customer_company_registration_alt": "",
    "customer_job": "",
    "customer_company_description": "",
    "customer_facebook_uid": "0",
    "customer_additionals": "",
    "ship_company": "",
    "ship_firstname": "Fabiano",
    "ship_lastname": "Honorato",
    "ship_email": "f.honorato@xtechcommerce.com.br",
    "ship_phone": "(21) 98245-4729",
    "ship_address1": "Sei lá",
    "ship_address2": "Sei lá",
    "ship_anumber": "123",
    "ship_district": "Itanhangá",
    "ship_city": "Rio de Janeiro",
    "ship_zip": "22753-020",
    "ship_zone_id": "458",
    "ship_zone": "RJ",
    "ship_country_id": "30",
    "ship_country": "Brazil",
    "ship_country_code": "BR",
    "ship_reference": "",
    "ship_extra": "{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
    "order_id": "45",
    "order_order_number": "14798443555",
    "order_customer_id": "11",
    "order_status": "Pending",
    "order_ordered_on": "2016-11-22 17:52:56",
    "order_shipped_on": null,
    "order_tax": "0.00",
    "order_total": "206.10",
    "order_subtotal": "190.00",
    "order_gift_card_discount": "0.00",
    "order_coupon_discount": "0.00",
    "order_payment_discount": "0.00",
    "order_shipping": "16.10",
    "order_shipping_notes": "",
    "order_shipping_method": "PAC",
    "order_notes": null,
    "order_payment_info": "{\"module\":\"iugu\",\"boletourl\":\"https:\\/\\/faturas.iugu.com\\/d37cbf1c-5c32-454c-81a3-0825d134d2d2-42ab\"}",
    "order_referral": "",
    "order_company": "",
    "order_firstname": "Fabiano",
    "order_lastname": "Honorato",
    "order_phone": "(21) 98245-4729",
    "order_email": "f.honorato@xtechcommerce.com.br",
    "order_history": "[\"Esperando (22\\/11\\/2016 17:53)\",\"Aguardando Pagamento (22\\/11\\/2016 17:53)\",\"Mensagem enviada: Resumo do seu pedido (22\\/11\\/2016 17:53)\"]",
    "order_tracking_number": "",
    "order_delivery_time": "5",
    "order_production_time": "0",
    "order_days_until_shipped": "0",
    "order_approved_on": "0000-00-00 00:00:00",
    "order_nota_fiscal": "",
    "order_shipping_method_alt": "",
    "order_extra": "",
    "order_payment_type": "BOLETO",
    "order_delivering_on": null,
    "order_payment_id": "14798443555",
    "order_ship_address_id": "49",
    "order_bill_address_id": "49",
    "order_payment_options": "",
    "order_look_discount": "0.00",
    "order_currency": "BRL",
    "order_sent_testimonial": "0",
    "order_ip_address": "187.102.145.186",
    "order_tracking_check": "0000-00-00",
    "order_referral_id": "0",
    "order_referral_converted_value": "0.00",
    "order_referral_info": "",
    "order_referral_discount": "0.00",
    "order_campaign_discount": "0.00",
    "order_referral_confirmation": "0",
    "order_coupon_ids": "0",
    "order_delivered_on": "0000-00-00",
    "order_contents": [
      {
        "id": "20",
        "sku": "DE8997",
        "name": "Tênis Zoom Fly Low",
        "slug": "Tenis-Zoom-Fly-Low",
        "price": "190.00",
        "saleprice": "0.00",
        "free_shipping": "0",
        "shippable": "1",
        "taxable": "0",
        "fixed_quantity": "0",
        "weight": "",
        "track_stock": "1",
        "enabled": "1",
        "height": "0.00",
        "width": "0.00",
        "depth": "0.00",
        "factory_price": "0.00",
        "site_id": "2",
        "installments": "0",
        "stared": "0",
        "variant_details": "0",
        "subscription_days": "0",
        "subscription_period": "",
        "subscription_trial": "0",
        "lookable": "0",
        "reduction_type": "0",
        "reduction_amount": "0",
        "processing_days": "0",
        "rating": "0",
        "ncm_code": "",
        "gtin_code": "",
        "look_products": [],
        "available_options": [],
        "current_category": false,
        "variants": [],
        "discounted_price": "190.00",
        "installment_price": "",
        "base_price": "190.00",
        "file_list": [],
        "is_gc": false,
        "quantity": 1,
        "subtotal": 190
      }
    ]
  }
]

Path Params

status
string
required

Indique o estado dos pedidos.

Query Params

per_page
string

Quantidade de pedidos mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Ver Listar Produtos para saber os campos.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Listar pedidos por data

 
gethttps://subdomain.xtechcommerce.com/api-v1/orders?from_date=from_date&to_date=to_date
curl --request GET \
  --url 'https://subdomain.xtechcommerce.com/api-v1/orders?from_date=2016-10-18&to_date=2018-01-21' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: f36bd8ea59a790c3c60ca85063d94fa2' \
  --header 'X-APP-KEY: mlhm7IzI6DK1KiUyuwU6ApHZKWwwcm'
A binary file was returned

You couldn't be authenticated

[
  {
    "customer_firstname": "Fabiano",
    "customer_lastname": "Honorato",
    "customer_email": "f.honorato@xtechcommerce.com.br",
    "customer_phone": "(21) 98245-4729",
    "customer_company": "",
    "customer_default_billing_address": "9",
    "customer_default_shipping_address": "9",
    "customer_ship_to_bill_address": "true",
    "customer_active": "1",
    "customer_group_id": "1",
    "customer_sex": "0",
    "customer_cpf": "123.087.857-21",
    "customer_birthday": "1994-03-09",
    "customer_mobile": "",
    "customer_cnpj": "",
    "customer_company_alt": "",
    "customer_company_registration": "",
    "customer_company_registration_alt": "",
    "customer_job": "",
    "customer_company_description": "",
    "customer_facebook_uid": "0",
    "customer_additionals": "",
    "ship_company": "",
    "ship_firstname": "Fabiano",
    "ship_lastname": "Honorato",
    "ship_email": "f.honorato@xtechcommerce.com.br",
    "ship_phone": "(21) 98245-4729",
    "ship_address1": "Sei lá",
    "ship_address2": "Sei lá",
    "ship_anumber": "123",
    "ship_district": "Itanhangá",
    "ship_city": "Rio de Janeiro",
    "ship_zip": "22753-020",
    "ship_zone_id": "458",
    "ship_zone": "RJ",
    "ship_country_id": "30",
    "ship_country": "Brazil",
    "ship_country_code": "BR",
    "ship_reference": "",
    "ship_extra": "{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
    "order_id": "45",
    "order_order_number": "14798443555",
    "order_customer_id": "11",
    "order_status": "Pending",
    "order_ordered_on": "2016-11-22 17:52:56",
    "order_shipped_on": null,
    "order_tax": "0.00",
    "order_total": "206.10",
    "order_subtotal": "190.00",
    "order_gift_card_discount": "0.00",
    "order_coupon_discount": "0.00",
    "order_payment_discount": "0.00",
    "order_shipping": "16.10",
    "order_shipping_notes": "",
    "order_shipping_method": "PAC",
    "order_notes": null,
    "order_payment_info": "{\"module\":\"iugu\",\"boletourl\":\"https:\\/\\/faturas.iugu.com\\/d37cbf1c-5c32-454c-81a3-0825d134d2d2-42ab\"}",
    "order_referral": "",
    "order_company": "",
    "order_firstname": "Fabiano",
    "order_lastname": "Honorato",
    "order_phone": "(21) 98245-4729",
    "order_email": "f.honorato@xtechcommerce.com.br",
    "order_history": "[\"Esperando (22\\/11\\/2016 17:53)\",\"Aguardando Pagamento (22\\/11\\/2016 17:53)\",\"Mensagem enviada: Resumo do seu pedido (22\\/11\\/2016 17:53)\"]",
    "order_tracking_number": "",
    "order_delivery_time": "5",
    "order_production_time": "0",
    "order_days_until_shipped": "0",
    "order_approved_on": "0000-00-00 00:00:00",
    "order_nota_fiscal": "",
    "order_shipping_method_alt": "",
    "order_extra": "",
    "order_payment_type": "BOLETO",
    "order_delivering_on": null,
    "order_payment_id": "14798443555",
    "order_ship_address_id": "49",
    "order_bill_address_id": "49",
    "order_payment_options": "",
    "order_look_discount": "0.00",
    "order_currency": "BRL",
    "order_sent_testimonial": "0",
    "order_ip_address": "187.102.145.186",
    "order_tracking_check": "0000-00-00",
    "order_referral_id": "0",
    "order_referral_converted_value": "0.00",
    "order_referral_info": "",
    "order_referral_discount": "0.00",
    "order_campaign_discount": "0.00",
    "order_referral_confirmation": "0",
    "order_coupon_ids": "0",
    "order_delivered_on": "0000-00-00",
    "order_contents": [
      {
        "id": "20",
        "sku": "DE8997",
        "name": "Tênis Zoom Fly Low",
        "slug": "Tenis-Zoom-Fly-Low",
        "price": "190.00",
        "saleprice": "0.00",
        "free_shipping": "0",
        "shippable": "1",
        "taxable": "0",
        "fixed_quantity": "0",
        "weight": "",
        "track_stock": "1",
        "enabled": "1",
        "height": "0.00",
        "width": "0.00",
        "depth": "0.00",
        "factory_price": "0.00",
        "site_id": "2",
        "installments": "0",
        "stared": "0",
        "variant_details": "0",
        "subscription_days": "0",
        "subscription_period": "",
        "subscription_trial": "0",
        "lookable": "0",
        "reduction_type": "0",
        "reduction_amount": "0",
        "processing_days": "0",
        "rating": "0",
        "ncm_code": "",
        "gtin_code": "",
        "look_products": [],
        "available_options": [],
        "current_category": false,
        "variants": [],
        "discounted_price": "190.00",
        "installment_price": "",
        "base_price": "190.00",
        "file_list": [],
        "is_gc": false,
        "quantity": 1,
        "subtotal": 190
      }
    ]
  }
]

Path Params

from_date
string
required

Inicia periodo para busca de pedido, se passado sozinho, só busca os pedidos do dia.

to_date
string
required

Finaliza periodo de tempo para busca de pedido.

Query Params

per_page
string

Quantidade de pedidos mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Ver Listar Produtos para saber os campos.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Listar pedidos por afiliado

 
gethttps://subdomain.xtechcommerce.com/api-v1/orders?referral_id =referral_id
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/orders?referral_id=1' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://staging.ambienteprotegido.com/api-v1/orders?status=pending",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json",
    "x-api-key: f36bd8ea59a790c3c60ca85063d94fa2",
    "x-app-key: NlNWbQkwEqaTHvVahExKCamzVXHTFn"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
A binary file was returned

You couldn't be authenticated

[
   {
      "customer_firstname":"FABIANO",
      "customer_lastname":"HONORATO",
      "customer_email":"f.honorato@xtechcommerce.com.br",
      "customer_phone":"(12) 31231-2312",
      "customer_company":"",
      "customer_default_billing_address":"30",
      "customer_default_shipping_address":"30",
      "customer_ship_to_bill_address":"true",
      "customer_active":"1",
      "customer_group_id":"0",
      "customer_sex":"0",
      "customer_cpf":"159.839.107-01",
      "customer_birthday":"1994-01-25",
      "customer_mobile":"",
      "customer_cnpj":"",
      "customer_company_alt":"",
      "customer_company_registration":"",
      "customer_company_registration_alt":"",
      "customer_job":"",
      "customer_company_description":"",
      "customer_facebook_uid":"0",
      "customer_additionals":"",
      "customer_payment_method_info":null,
      "ship_company":"",
      "ship_firstname":"FABIANO",
      "ship_lastname":"HONORATO",
      "ship_email":"f.honorato@xtechcommerce.com.br",
      "ship_phone":"(12) 31231-2312",
      "ship_address1":"Estrada do Itanhanga",
      "ship_address2":"Casa 1",
      "ship_anumber":"2715",
      "ship_district":"Itanhangá",
      "ship_city":"Rio de Janeiro",
      "ship_zip":"12800-001",
      "ship_zone_id":"458",
      "ship_zone":"RJ",
      "ship_country_id":"30",
      "ship_country":"Brazil",
      "ship_country_code":"BR",
      "ship_reference":"",
      "ship_extra":"{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
      "order_id":"268",
      "order_order_number":"151922732136",
      "order_customer_id":"42",
      "order_status":"Pending",
      "order_ordered_on":"2018-02-21 12:36:03",
      "order_shipped_on":null,
      "order_tax":"0.00",
      "order_total":"57.45",
      "order_subtotal":"94.90",
      "order_gift_card_discount":"0.00",
      "order_coupon_discount":"0.00",
      "order_payment_discount":"0.00",
      "order_shipping":"10.00",
      "order_shipping_notes":"",
      "order_shipping_method":"Frete fixo",
      "order_notes":null,
      "order_payment_info":"{\"module\":\"Dep\\u00f3sito Banc\\u00e1rio\",\"description\":\"<style type=\\\"text\\/css\\\">\\n\\t.deposito_option div,\\n\\t.deposito_option p{\\n\\t\\tfont-family: 'Arial';\\n\\t}\\n\\t.deposito_option h4{\\n\\t\\tfont-size: 18px;\\n\\t}\\n\\t.deposito-type-list{\\n\\t\\tcolor: #666;\\n\\t\\tlist-style: none;\\n\\t\\tline-height: 145%;\\n\\t\\tpadding: 20px 0px;\\n\\t}\\n\\t.deposito-type-list li{\\n\\t\\tfont-size: 14px;\\n\\t\\tfont-weight: 300;\\n\\t\\tmargin-bottom: 30px;\\n\\t}\\n\\t.deposito-type-list p{\\n\\t\\tmargin-bottom: 0;\\n\\t}\\n\\t.deposito-img{\\n\\t\\tfloat: left;\\n\\t\\tmargin: 0 20px 40px 0;\\n\\t\\twidth: 100px !important;\\n\\t}\\n<\\/style>\\n<div class=\\\"deposito_option\\\">\\n\\t<ul class=\\\"deposito-type-list\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\tN\\u00e3o h\\u00e1 informa\\u00e7\\u00f5es sobre a conta banc\\u00e1ria para dep\\u00f3sito.<br>\\n\\t\\t\\tPor favor, entre em contato pelo email <strong><\\/strong> solicitando.\\n\\t\\t<\\/li>\\n\\t\\t<\\/ul>\\n<\\/div>\"}",
      "order_referral":"",
      "order_company":"",
      "order_firstname":"FABIANO",
      "order_lastname":"HONORATO",
      "order_phone":"(12) 31231-2312",
      "order_email":"f.honorato@xtechcommerce.com.br",
      "order_history":"[\"Aguardando Pagamento (21\\/02\\/2018 12:36:03)\"]",
      "order_tracking_number":"",
      "order_delivery_time":"5",
      "order_production_time":"0",
      "order_days_until_shipped":"0",
      "order_approved_on":"0000-00-00 00:00:00",
      "order_nota_fiscal":"",
      "order_shipping_method_alt":"",
      "order_extra":"",
      "order_payment_type":"DIRECT_DEPOSIT",
      "order_delivering_on":null,
      "order_payment_id":"151922732136",
      "order_ship_address_id":"244",
      "order_bill_address_id":"244",
      "order_payment_options":"",
      "order_look_discount":"0.00",
      "order_currency":"BRL",
      "order_coupon_ids":"",
      "order_delivered_on":null,
      "order_sent_testimonial":"0",
      "order_ip_address":"172.18.0.1",
      "order_tracking_check":"0000-00-00",
      "order_referral_id":"1",
      "order_referral_converted_value":"9.49",
      "order_referral_info":"{\"commission_value\":\"10\",\"commission_type\":\"percent\",\"apply_type\":\"confirm\"}",
      "order_referral_discount":"47.45",
      "order_campaign_discount":"0.00",
      "order_referral_confirmation":"1",
      "order_pricing_ids":null,
      "order_used_device":"desktop",
      "order_payment_method":null,
      "order_payment_status_check":"0000-00-00",
      "order_external_info":"",
      "order_company_alt":"",
      "order_company_registration":"",
      "order_company_registration_alt":"",
      "order_deleted_on":null,
      "order_user_agent":null,
      "order_contents":[
         {
            "id":"301",
            "sku":"MO8991",
            "name":"Top Must-Have Cami",
            "slug":"Top-Must-Have-Cami",
            "price":94.9,
            "saleprice":0,
            "free_shipping":"0",
            "shippable":"1",
            "taxable":"0",
            "fixed_quantity":"0",
            "weight":"",
            "track_stock":"1",
            "enabled":"1",
            "site_id":"2",
            "video":"",
            "height":"5.00",
            "width":"20.00",
            "depth":"20.00",
            "factory_price":"0.00",
            "installments":"3",
            "stared":"0",
            "variant_details":"0",
            "subscription_days":"0",
            "subscription_period":"0",
            "subscription_trial":"0",
            "lookable":"0",
            "reduction_type":"0",
            "reduction_amount":"0",
            "processing_days":"0",
            "rating":"0",
            "ncm_code":"",
            "gtin_code":"",
            "product_main_category":"0",
            "look_products":[

            ],
            "available_options":[

            ],
            "current_category":false,
            "variants":[

            ],
            "discounted_price":94.9,
            "installment_price":31.633333333333,
            "base_price":94.9,
            "original_quantity":"997",
            "file_list":[

            ],
            "is_gc":false,
            "quantity":1,
            "subtotal":94.9
         }
      ]
   },
   {
      "customer_firstname":"FABIANO",
      "customer_lastname":"HONORATO",
      "customer_email":"f.honorato@xtechcommerce.com.br",
      "customer_phone":"(12) 31231-2312",
      "customer_company":"",
      "customer_default_billing_address":"30",
      "customer_default_shipping_address":"30",
      "customer_ship_to_bill_address":"true",
      "customer_active":"1",
      "customer_group_id":"0",
      "customer_sex":"0",
      "customer_cpf":"159.839.107-01",
      "customer_birthday":"1994-01-25",
      "customer_mobile":"",
      "customer_cnpj":"",
      "customer_company_alt":"",
      "customer_company_registration":"",
      "customer_company_registration_alt":"",
      "customer_job":"",
      "customer_company_description":"",
      "customer_facebook_uid":"0",
      "customer_additionals":"",
      "customer_payment_method_info":null,
      "ship_company":"",
      "ship_firstname":"FABIANO",
      "ship_lastname":"HONORATO",
      "ship_email":"f.honorato@xtechcommerce.com.br",
      "ship_phone":"(12) 31231-2312",
      "ship_address1":"Estrada do Itanhanga",
      "ship_address2":"Casa 1",
      "ship_anumber":"2715",
      "ship_district":"Itanhangá",
      "ship_city":"Rio de Janeiro",
      "ship_zip":"12800-001",
      "ship_zone_id":"458",
      "ship_zone":"RJ",
      "ship_country_id":"30",
      "ship_country":"Brazil",
      "ship_country_code":"BR",
      "ship_reference":"",
      "ship_extra":"{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
      "order_id":"267",
      "order_order_number":"151922727187",
      "order_customer_id":"42",
      "order_status":"Pending",
      "order_ordered_on":"2018-02-21 12:35:20",
      "order_shipped_on":null,
      "order_tax":"0.00",
      "order_total":"57.45",
      "order_subtotal":"94.90",
      "order_gift_card_discount":"0.00",
      "order_coupon_discount":"0.00",
      "order_payment_discount":"0.00",
      "order_shipping":"10.00",
      "order_shipping_notes":"",
      "order_shipping_method":"Frete fixo",
      "order_notes":null,
      "order_payment_info":"{\"module\":\"Dep\\u00f3sito Banc\\u00e1rio\",\"description\":\"<style type=\\\"text\\/css\\\">\\n\\t.deposito_option div,\\n\\t.deposito_option p{\\n\\t\\tfont-family: 'Arial';\\n\\t}\\n\\t.deposito_option h4{\\n\\t\\tfont-size: 18px;\\n\\t}\\n\\t.deposito-type-list{\\n\\t\\tcolor: #666;\\n\\t\\tlist-style: none;\\n\\t\\tline-height: 145%;\\n\\t\\tpadding: 20px 0px;\\n\\t}\\n\\t.deposito-type-list li{\\n\\t\\tfont-size: 14px;\\n\\t\\tfont-weight: 300;\\n\\t\\tmargin-bottom: 30px;\\n\\t}\\n\\t.deposito-type-list p{\\n\\t\\tmargin-bottom: 0;\\n\\t}\\n\\t.deposito-img{\\n\\t\\tfloat: left;\\n\\t\\tmargin: 0 20px 40px 0;\\n\\t\\twidth: 100px !important;\\n\\t}\\n<\\/style>\\n<div class=\\\"deposito_option\\\">\\n\\t<ul class=\\\"deposito-type-list\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\tN\\u00e3o h\\u00e1 informa\\u00e7\\u00f5es sobre a conta banc\\u00e1ria para dep\\u00f3sito.<br>\\n\\t\\t\\tPor favor, entre em contato pelo email <strong><\\/strong> solicitando.\\n\\t\\t<\\/li>\\n\\t\\t<\\/ul>\\n<\\/div>\"}",
      "order_referral":"",
      "order_company":"",
      "order_firstname":"FABIANO",
      "order_lastname":"HONORATO",
      "order_phone":"(12) 31231-2312",
      "order_email":"f.honorato@xtechcommerce.com.br",
      "order_history":"[\"Aguardando Pagamento (21\\/02\\/2018 12:35:20)\"]",
      "order_tracking_number":"",
      "order_delivery_time":"5",
      "order_production_time":"0",
      "order_days_until_shipped":"0",
      "order_approved_on":"0000-00-00 00:00:00",
      "order_nota_fiscal":"",
      "order_shipping_method_alt":"",
      "order_extra":"",
      "order_payment_type":"DIRECT_DEPOSIT",
      "order_delivering_on":null,
      "order_payment_id":"151922727187",
      "order_ship_address_id":"243",
      "order_bill_address_id":"243",
      "order_payment_options":"",
      "order_look_discount":"0.00",
      "order_currency":"BRL",
      "order_coupon_ids":"",
      "order_delivered_on":null,
      "order_sent_testimonial":"0",
      "order_ip_address":"172.18.0.1",
      "order_tracking_check":"0000-00-00",
      "order_referral_id":"1",
      "order_referral_converted_value":"100000.00",
      "order_referral_info":"{\"commission_value\":\"100000\",\"commission_type\":\"fixed\",\"apply_type\":\"confirm\"}",
      "order_referral_discount":"47.45",
      "order_campaign_discount":"0.00",
      "order_referral_confirmation":"1",
      "order_pricing_ids":null,
      "order_used_device":"desktop",
      "order_payment_method":null,
      "order_payment_status_check":"0000-00-00",
      "order_external_info":"",
      "order_company_alt":"",
      "order_company_registration":"",
      "order_company_registration_alt":"",
      "order_deleted_on":null,
      "order_user_agent":null,
      "order_contents":[
         {
            "id":"301",
            "sku":"MO8991",
            "name":"Top Must-Have Cami",
            "slug":"Top-Must-Have-Cami",
            "price":94.9,
            "saleprice":0,
            "free_shipping":"0",
            "shippable":"1",
            "taxable":"0",
            "fixed_quantity":"0",
            "weight":"",
            "track_stock":"1",
            "enabled":"1",
            "site_id":"2",
            "video":"",
            "height":"5.00",
            "width":"20.00",
            "depth":"20.00",
            "factory_price":"0.00",
            "installments":"3",
            "stared":"0",
            "variant_details":"0",
            "subscription_days":"0",
            "subscription_period":"0",
            "subscription_trial":"0",
            "lookable":"0",
            "reduction_type":"0",
            "reduction_amount":"0",
            "processing_days":"0",
            "rating":"0",
            "ncm_code":"",
            "gtin_code":"",
            "product_main_category":"0",
            "look_products":[

            ],
            "available_options":[

            ],
            "current_category":false,
            "variants":[

            ],
            "discounted_price":94.9,
            "installment_price":31.633333333333,
            "base_price":94.9,
            "original_quantity":"998",
            "file_list":[

            ],
            "is_gc":false,
            "quantity":1,
            "subtotal":94.9
         }
      ]
   },
   {
      "customer_firstname":"FABIANO",
      "customer_lastname":"HONORATO",
      "customer_email":"f.honorato@xtechcommerce.com.br",
      "customer_phone":"(12) 31231-2312",
      "customer_company":"",
      "customer_default_billing_address":"30",
      "customer_default_shipping_address":"30",
      "customer_ship_to_bill_address":"true",
      "customer_active":"1",
      "customer_group_id":"0",
      "customer_sex":"0",
      "customer_cpf":"159.839.107-01",
      "customer_birthday":"1994-01-25",
      "customer_mobile":"",
      "customer_cnpj":"",
      "customer_company_alt":"",
      "customer_company_registration":"",
      "customer_company_registration_alt":"",
      "customer_job":"",
      "customer_company_description":"",
      "customer_facebook_uid":"0",
      "customer_additionals":"",
      "customer_payment_method_info":null,
      "ship_company":"",
      "ship_firstname":"FABIANO",
      "ship_lastname":"HONORATO",
      "ship_email":"f.honorato@xtechcommerce.com.br",
      "ship_phone":"(12) 31231-2312",
      "ship_address1":"Estrada do Itanhanga",
      "ship_address2":"Casa 1",
      "ship_anumber":"2715",
      "ship_district":"Itanhangá",
      "ship_city":"Rio de Janeiro",
      "ship_zip":"12800-001",
      "ship_zone_id":"458",
      "ship_zone":"RJ",
      "ship_country_id":"30",
      "ship_country":"Brazil",
      "ship_country_code":"BR",
      "ship_reference":"",
      "ship_extra":"{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
      "order_id":"266",
      "order_order_number":"15190872649",
      "order_customer_id":"42",
      "order_status":"Pending",
      "order_ordered_on":"2018-02-21 12:34:30",
      "order_shipped_on":null,
      "order_tax":"0.00",
      "order_total":"57.45",
      "order_subtotal":"94.90",
      "order_gift_card_discount":"0.00",
      "order_coupon_discount":"0.00",
      "order_payment_discount":"0.00",
      "order_shipping":"10.00",
      "order_shipping_notes":"",
      "order_shipping_method":"Frete fixo",
      "order_notes":null,
      "order_payment_info":"{\"module\":\"Dep\\u00f3sito Banc\\u00e1rio\",\"description\":\"<style type=\\\"text\\/css\\\">\\n\\t.deposito_option div,\\n\\t.deposito_option p{\\n\\t\\tfont-family: 'Arial';\\n\\t}\\n\\t.deposito_option h4{\\n\\t\\tfont-size: 18px;\\n\\t}\\n\\t.deposito-type-list{\\n\\t\\tcolor: #666;\\n\\t\\tlist-style: none;\\n\\t\\tline-height: 145%;\\n\\t\\tpadding: 20px 0px;\\n\\t}\\n\\t.deposito-type-list li{\\n\\t\\tfont-size: 14px;\\n\\t\\tfont-weight: 300;\\n\\t\\tmargin-bottom: 30px;\\n\\t}\\n\\t.deposito-type-list p{\\n\\t\\tmargin-bottom: 0;\\n\\t}\\n\\t.deposito-img{\\n\\t\\tfloat: left;\\n\\t\\tmargin: 0 20px 40px 0;\\n\\t\\twidth: 100px !important;\\n\\t}\\n<\\/style>\\n<div class=\\\"deposito_option\\\">\\n\\t<ul class=\\\"deposito-type-list\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\tN\\u00e3o h\\u00e1 informa\\u00e7\\u00f5es sobre a conta banc\\u00e1ria para dep\\u00f3sito.<br>\\n\\t\\t\\tPor favor, entre em contato pelo email <strong><\\/strong> solicitando.\\n\\t\\t<\\/li>\\n\\t\\t<\\/ul>\\n<\\/div>\"}",
      "order_referral":"",
      "order_company":"",
      "order_firstname":"FABIANO",
      "order_lastname":"HONORATO",
      "order_phone":"(12) 31231-2312",
      "order_email":"f.honorato@xtechcommerce.com.br",
      "order_history":"[\"Aguardando Pagamento (21\\/02\\/2018 12:34:30)\"]",
      "order_tracking_number":"",
      "order_delivery_time":"5",
      "order_production_time":"0",
      "order_days_until_shipped":"0",
      "order_approved_on":"0000-00-00 00:00:00",
      "order_nota_fiscal":"",
      "order_shipping_method_alt":"",
      "order_extra":"",
      "order_payment_type":"DIRECT_DEPOSIT",
      "order_delivering_on":null,
      "order_payment_id":"15190872649",
      "order_ship_address_id":"242",
      "order_bill_address_id":"242",
      "order_payment_options":"",
      "order_look_discount":"0.00",
      "order_currency":"BRL",
      "order_coupon_ids":"",
      "order_delivered_on":null,
      "order_sent_testimonial":"0",
      "order_ip_address":"172.18.0.1",
      "order_tracking_check":"0000-00-00",
      "order_referral_id":"1",
      "order_referral_converted_value":"100000.00",
      "order_referral_info":"{\"commission_value\":\"100000\",\"commission_type\":\"fixed\",\"apply_type\":\"delivered\"}",
      "order_referral_discount":"47.45",
      "order_campaign_discount":"0.00",
      "order_referral_confirmation":"0",
      "order_pricing_ids":null,
      "order_used_device":"desktop",
      "order_payment_method":null,
      "order_payment_status_check":"0000-00-00",
      "order_external_info":"",
      "order_company_alt":"",
      "order_company_registration":"",
      "order_company_registration_alt":"",
      "order_deleted_on":null,
      "order_user_agent":null,
      "order_contents":[
         {
            "id":"301",
            "sku":"MO8991",
            "name":"Top Must-Have Cami",
            "slug":"Top-Must-Have-Cami",
            "price":94.9,
            "saleprice":0,
            "free_shipping":"0",
            "shippable":"1",
            "taxable":"0",
            "fixed_quantity":"0",
            "weight":"",
            "track_stock":"1",
            "enabled":"1",
            "site_id":"2",
            "video":"",
            "height":"5.00",
            "width":"20.00",
            "depth":"20.00",
            "factory_price":"0.00",
            "installments":"3",
            "stared":"0",
            "variant_details":"0",
            "subscription_days":"0",
            "subscription_period":"0",
            "subscription_trial":"0",
            "lookable":"0",
            "reduction_type":"0",
            "reduction_amount":"0",
            "processing_days":"0",
            "rating":"0",
            "ncm_code":"",
            "gtin_code":"",
            "product_main_category":"0",
            "look_products":[

            ],
            "available_options":[

            ],
            "current_category":false,
            "variants":[

            ],
            "discounted_price":94.9,
            "installment_price":31.633333333333,
            "base_price":94.9,
            "original_quantity":"999",
            "file_list":[

            ],
            "is_gc":false,
            "quantity":1,
            "subtotal":94.9
         }
      ]
   }
]

Path Params

referral_id
int32
required

Identificador do afiliado

Query Params

per_page
string

Quantidade de pedidos mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Ver Listar Produtos para saber os campos.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Ver pedido

 
gethttps://subdomain.xtechcommerce.com/api-v1/orders?id=id
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/orders?id=268' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://staging.ambienteprotegido.com/api-v1/orders?id=45",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json",
    "x-api-key: f36bd8ea59a790c3c60ca85063d94fa2",
    "x-app-key: NlNWbQkwEqaTHvVahExKCamzVXHTFn"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
A binary file was returned

You couldn't be authenticated

{
    "customer_firstname": "Fabiano",
    "customer_lastname": "Honorato",
    "customer_email": "f.honorato@xtechcommerce.com.br",
    "customer_phone": "(21) 98245-4729",
    "customer_company": "",
    "customer_default_billing_address": "9",
    "customer_default_shipping_address": "9",
    "customer_ship_to_bill_address": "true",
    "customer_active": "1",
    "customer_group_id": "1",
    "customer_sex": "0",
    "customer_cpf": "123.087.857-21",
    "customer_birthday": "1994-03-09",
    "customer_mobile": "",
    "customer_cnpj": "",
    "customer_company_alt": "",
    "customer_company_registration": "",
    "customer_company_registration_alt": "",
    "customer_job": "",
    "customer_company_description": "",
    "customer_facebook_uid": "0",
    "customer_additionals": "",
    "ship_company": "",
    "ship_firstname": "Fabiano",
    "ship_lastname": "Honorato",
    "ship_email": "f.honorato@xtechcommerce.com.br",
    "ship_phone": "(21) 98245-4729",
    "ship_address1": "Sei lá",
    "ship_address2": "Sei lá",
    "ship_anumber": "123",
    "ship_district": "Itanhangá",
    "ship_city": "Rio de Janeiro",
    "ship_zip": "22753-020",
    "ship_zone_id": "458",
    "ship_zone": "RJ",
    "ship_country_id": "30",
    "ship_country": "Brazil",
    "ship_country_code": "BR",
    "ship_reference": "",
    "ship_extra": "{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
    "order_id": "45",
    "order_order_number": "14798443555",
    "order_customer_id": "11",
    "order_status": "Pending",
    "order_ordered_on": "2016-11-22 17:52:56",
    "order_shipped_on": null,
    "order_tax": "0.00",
    "order_total": "206.10",
    "order_subtotal": "190.00",
    "order_gift_card_discount": "0.00",
    "order_coupon_discount": "0.00",
    "order_payment_discount": "0.00",
    "order_shipping": "16.10",
    "order_shipping_notes": "",
    "order_shipping_method": "PAC",
    "order_notes": null,
    "order_payment_info": "{\"module\":\"iugu\",\"boletourl\":\"https:\\/\\/faturas.iugu.com\\/d37cbf1c-5c32-454c-81a3-0825d134d2d2-42ab\"}",
    "order_referral": "",
    "order_company": "",
    "order_firstname": "Fabiano",
    "order_lastname": "Honorato",
    "order_phone": "(21) 98245-4729",
    "order_email": "f.honorato@xtechcommerce.com.br",
    "order_history": "[\"Esperando (22\\/11\\/2016 17:53)\",\"Aguardando Pagamento (22\\/11\\/2016 17:53)\",\"Mensagem enviada: Resumo do seu pedido (22\\/11\\/2016 17:53)\"]",
    "order_tracking_number": "",
    "order_delivery_time": "5",
    "order_production_time": "0",
    "order_days_until_shipped": "0",
    "order_approved_on": "0000-00-00 00:00:00",
    "order_nota_fiscal": "",
    "order_shipping_method_alt": "",
    "order_extra": "",
    "order_payment_type": "BOLETO",
    "order_delivering_on": null,
    "order_payment_id": "14798443555",
    "order_ship_address_id": "49",
    "order_bill_address_id": "49",
    "order_payment_options": "",
    "order_look_discount": "0.00",
    "order_currency": "BRL",
    "order_sent_testimonial": "0",
    "order_ip_address": "187.102.145.186",
    "order_tracking_check": "0000-00-00",
    "order_referral_id": "0",
    "order_referral_converted_value": "0.00",
    "order_referral_info": "",
    "order_referral_discount": "0.00",
    "order_campaign_discount": "0.00",
    "order_referral_confirmation": "0",
    "order_coupon_ids": "0",
    "order_delivered_on": "0000-00-00",
    "order_contents": [
        {
            "id": "20",
            "sku": "DE8997",
            "name": "Tênis Zoom Fly Low",
            "slug": "Tenis-Zoom-Fly-Low",
            "price": "190.00",
            "saleprice": "0.00",
            "free_shipping": "0",
            "shippable": "1",
            "taxable": "0",
            "fixed_quantity": "0",
            "weight": "",
            "track_stock": "1",
            "enabled": "1",
            "height": "0.00",
            "width": "0.00",
            "depth": "0.00",
            "factory_price": "0.00",
            "site_id": "2",
            "installments": "0",
            "stared": "0",
            "variant_details": "0",
            "subscription_days": "0",
            "subscription_period": "",
            "subscription_trial": "0",
            "lookable": "0",
            "reduction_type": "0",
            "reduction_amount": "0",
            "processing_days": "0",
            "rating": "0",
            "ncm_code": "",
            "gtin_code": "",
            "look_products": [],
            "available_options": [],
            "current_category": false,
            "variants": [],
            "discounted_price": "190.00",
            "installment_price": "",
            "base_price": "190.00",
            "file_list": [],
            "is_gc": false,
            "quantity": 1,
            "subtotal": 190
        }
    ]
}

Path Params

id
string
required

Identificador do pedido.

 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Contém os produtos do pedido.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Ver pedido pelo número do pedido

 
gethttps://subdomain.xtechcommerce.com/api-v1/orders?order_number=order_number
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/orders?order_number=151922732136' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://staging.ambienteprotegido.com/api-v1/orders?order_number=14798443555",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json",
    "x-api-key: f36bd8ea59a790c3c60ca85063d94fa2",
    "x-app-key: NlNWbQkwEqaTHvVahExKCamzVXHTFn"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
A binary file was returned

You couldn't be authenticated

{
   "customer_firstname":"FABIANO",
   "customer_lastname":"HONORATO",
   "customer_email":"f.honorato@xtechcommerce.com.br",
   "customer_phone":"(12) 31231-2312",
   "customer_company":"",
   "customer_default_billing_address":"30",
   "customer_default_shipping_address":"30",
   "customer_ship_to_bill_address":"true",
   "customer_active":"1",
   "customer_group_id":"0",
   "customer_sex":"0",
   "customer_cpf":"159.839.107-01",
   "customer_birthday":"1994-01-25",
   "customer_mobile":"",
   "customer_cnpj":"",
   "customer_company_alt":"",
   "customer_company_registration":"",
   "customer_company_registration_alt":"",
   "customer_job":"",
   "customer_company_description":"",
   "customer_facebook_uid":"0",
   "customer_additionals":"",
   "customer_payment_method_info":null,
   "ship_company":"",
   "ship_firstname":"FABIANO",
   "ship_lastname":"HONORATO",
   "ship_email":"f.honorato@xtechcommerce.com.br",
   "ship_phone":"(12) 31231-2312",
   "ship_address1":"Estrada do Itanhanga",
   "ship_address2":"Casa 1",
   "ship_anumber":"2715",
   "ship_district":"Itanhangá",
   "ship_city":"Rio de Janeiro",
   "ship_zip":"12800-001",
   "ship_zone_id":"458",
   "ship_zone":"RJ",
   "ship_country_id":"30",
   "ship_country":"Brazil",
   "ship_country_code":"BR",
   "ship_reference":"",
   "ship_extra":"{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
   "order_id":"268",
   "order_order_number":"151922732136",
   "order_customer_id":"42",
   "order_status":"Pending",
   "order_ordered_on":"2018-02-21 12:36:03",
   "order_shipped_on":null,
   "order_tax":"0.00",
   "order_total":"57.45",
   "order_subtotal":"94.90",
   "order_gift_card_discount":"0.00",
   "order_coupon_discount":"0.00",
   "order_payment_discount":"0.00",
   "order_shipping":"10.00",
   "order_shipping_notes":"",
   "order_shipping_method":"Frete fixo",
   "order_notes":null,
   "order_payment_info":"{\"module\":\"Dep\\u00f3sito Banc\\u00e1rio\",\"description\":\"<style type=\\\"text\\/css\\\">\\n\\t.deposito_option div,\\n\\t.deposito_option p{\\n\\t\\tfont-family: 'Arial';\\n\\t}\\n\\t.deposito_option h4{\\n\\t\\tfont-size: 18px;\\n\\t}\\n\\t.deposito-type-list{\\n\\t\\tcolor: #666;\\n\\t\\tlist-style: none;\\n\\t\\tline-height: 145%;\\n\\t\\tpadding: 20px 0px;\\n\\t}\\n\\t.deposito-type-list li{\\n\\t\\tfont-size: 14px;\\n\\t\\tfont-weight: 300;\\n\\t\\tmargin-bottom: 30px;\\n\\t}\\n\\t.deposito-type-list p{\\n\\t\\tmargin-bottom: 0;\\n\\t}\\n\\t.deposito-img{\\n\\t\\tfloat: left;\\n\\t\\tmargin: 0 20px 40px 0;\\n\\t\\twidth: 100px !important;\\n\\t}\\n<\\/style>\\n<div class=\\\"deposito_option\\\">\\n\\t<ul class=\\\"deposito-type-list\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\tN\\u00e3o h\\u00e1 informa\\u00e7\\u00f5es sobre a conta banc\\u00e1ria para dep\\u00f3sito.<br>\\n\\t\\t\\tPor favor, entre em contato pelo email <strong><\\/strong> solicitando.\\n\\t\\t<\\/li>\\n\\t\\t<\\/ul>\\n<\\/div>\"}",
   "order_referral":"",
   "order_company":"",
   "order_firstname":"FABIANO",
   "order_lastname":"HONORATO",
   "order_phone":"(12) 31231-2312",
   "order_email":"f.honorato@xtechcommerce.com.br",
   "order_history":"[\"Aguardando Pagamento (21\\/02\\/2018 12:36:03)\"]",
   "order_tracking_number":"",
   "order_delivery_time":"5",
   "order_production_time":"0",
   "order_days_until_shipped":"0",
   "order_approved_on":"0000-00-00 00:00:00",
   "order_nota_fiscal":"",
   "order_shipping_method_alt":"",
   "order_extra":"",
   "order_payment_type":"DIRECT_DEPOSIT",
   "order_delivering_on":null,
   "order_payment_id":"151922732136",
   "order_ship_address_id":"244",
   "order_bill_address_id":"244",
   "order_payment_options":"",
   "order_look_discount":"0.00",
   "order_currency":"BRL",
   "order_coupon_ids":"",
   "order_delivered_on":null,
   "order_sent_testimonial":"0",
   "order_ip_address":"172.18.0.1",
   "order_tracking_check":"0000-00-00",
   "order_referral_id":"1",
   "order_referral_converted_value":"9.49",
   "order_referral_info":"{\"commission_value\":\"10\",\"commission_type\":\"percent\",\"apply_type\":\"confirm\"}",
   "order_referral_discount":"47.45",
   "order_campaign_discount":"0.00",
   "order_referral_confirmation":"1",
   "order_pricing_ids":null,
   "order_used_device":"desktop",
   "order_payment_method":null,
   "order_payment_status_check":"0000-00-00",
   "order_external_info":"",
   "order_company_alt":"",
   "order_company_registration":"",
   "order_company_registration_alt":"",
   "order_deleted_on":null,
   "order_user_agent":null,
   "order_contents":[
      {
         "id":"301",
         "sku":"MO8991",
         "name":"Top Must-Have Cami",
         "slug":"Top-Must-Have-Cami",
         "price":94.9,
         "saleprice":0,
         "free_shipping":"0",
         "shippable":"1",
         "taxable":"0",
         "fixed_quantity":"0",
         "weight":"",
         "track_stock":"1",
         "enabled":"1",
         "site_id":"2",
         "video":"",
         "height":"5.00",
         "width":"20.00",
         "depth":"20.00",
         "factory_price":"0.00",
         "installments":"3",
         "stared":"0",
         "variant_details":"0",
         "subscription_days":"0",
         "subscription_period":"0",
         "subscription_trial":"0",
         "lookable":"0",
         "reduction_type":"0",
         "reduction_amount":"0",
         "processing_days":"0",
         "rating":"0",
         "ncm_code":"",
         "gtin_code":"",
         "product_main_category":"0",
         "look_products":[

         ],
         "available_options":[

         ],
         "current_category":false,
         "variants":[

         ],
         "discounted_price":94.9,
         "installment_price":31.633333333333,
         "base_price":94.9,
         "original_quantity":"997",
         "file_list":[

         ],
         "is_gc":false,
         "quantity":1,
         "subtotal":94.9
      }
   ]
}

Path Params

order_number
string
required

Número do pedido.

 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Contém os produtos do pedido.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Criar um pedido

 
posthttps://subdomain.xtechcommerce.com/api-v1/orders
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/orders?order_number=151922732136' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
{
   "total":415.30,
   "status":"Pending",
   "shipping_cost":16.90,
   "shipping_method":"PAC",
   "customer":{
      "first_name":"Cliente",
      "last_name":"Loja",
      "gender":"Male",
      "email":"cliente@sualoja.com.br",
      "document":"12312312301",
      "phone":"99999-9999",
      "address":{
         "receiver_name":"Cliente Loja",
         "zip":"20270214",
         "city":"Rio de Janeiro",
         "state":"RJ",
         "country":"Brazil",
         "street":"Rua Campos Sales",
         "number":"116",
         "district":"Tijuca",
         "complement":"América Futebol Clube"
      }
   },
   "products":[
      {
         "id":"307",
         "variant":"2",
         "quantity":"1"
      }
   ]
}
A binary file was returned

You couldn't be authenticated

{
   "ship_id":"246",
   "ship_created_at":"0000-00-00 00:00:00",
   "ship_company":"",
   "ship_firstname":"Cliente",
   "ship_lastname":"Loja",
   "ship_email":"cliente@sualoja.com.br",
   "ship_phone":"99999-9999",
   "ship_address1":"Rua Campos Sales",
   "ship_address2":"América Futebol Clube",
   "ship_anumber":"116",
   "ship_district":"Tijuca",
   "ship_city":"Rio de Janeiro",
   "ship_zip":"20270214",
   "ship_zone_id":"458",
   "ship_zone":"RJ",
   "ship_country_id":"30",
   "ship_country":"Brazil",
   "ship_country_code":"BR",
   "ship_reference":"",
   "ship_extra":"{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
   "ship_site_id":"2",
   "bill_id":"246",
   "bill_created_at":"0000-00-00 00:00:00",
   "bill_company":"",
   "bill_firstname":"Cliente",
   "bill_lastname":"Loja",
   "bill_email":"cliente@sualoja.com.br",
   "bill_phone":"99999-9999",
   "bill_address1":"Rua Campos Sales",
   "bill_address2":"América Futebol Clube",
   "bill_anumber":"116",
   "bill_district":"Tijuca",
   "bill_city":"Rio de Janeiro",
   "bill_zip":"20270214",
   "bill_zone_id":"458",
   "bill_zone":"RJ",
   "bill_country_id":"30",
   "bill_country":"Brazil",
   "bill_country_code":"BR",
   "bill_reference":"",
   "bill_extra":"{\"cnpj\":\"\",\"company_registration\":\"\",\"company_alt\":\"\"}",
   "bill_site_id":"2",
   "customer_id":"925",
   "customer_firstname":"Cliente",
   "customer_lastname":"Loja",
   "customer_email":"cliente@sualoja.com.br",
   "customer_email_subscribe":null,
   "customer_phone":"99999-9999",
   "customer_company":"",
   "customer_default_billing_address":null,
   "customer_default_shipping_address":null,
   "customer_ship_to_bill_address":"true",
   "customer_password":"",
   "customer_active":"1",
   "customer_group_id":"1",
   "customer_confirmed":"0",
   "customer_sex":"0",
   "customer_cpf":"12312312301",
   "customer_birthday":"0000-00-00",
   "customer_mobile":"",
   "customer_cnpj":"",
   "customer_company_alt":"",
   "customer_company_registration":"",
   "customer_company_registration_alt":"",
   "customer_subscribed":"0",
   "customer_job":"",
   "customer_company_description":"",
   "customer_site_id":"2",
   "customer_facebook_uid":"0",
   "customer_instant_buy_token":"",
   "customer_additionals":"",
   "customer_payment_method_info":null,
   "id":"270",
   "site_id":"2",
   "order_number":"152884633012",
   "status":"Pending",
   "ordered_on":"2018-06-12 20:32:10",
   "shipped_on":null,
   "tax":"0.00",
   "total":"415.30",
   "subtotal":"2.00",
   "gift_card_discount":"0.00",
   "coupon_discount":"0.00",
   "payment_discount":"0.00",
   "shipping":"16.90",
   "shipping_notes":"",
   "shipping_method":"PAC",
   "notes":null,
   "payment_info":"",
   "referral":"Xtech Readme",
   "company":"",
   "firstname":"Cliente",
   "lastname":"Loja",
   "phone":"",
   "email":"cliente@sualoja.com.br",
   "history":"",
   "tracking_number":"",
   "delivery_time":"0",
   "production_time":"0",
   "days_until_shipped":"0",
   "approved_on":"0000-00-00 00:00:00",
   "test":"1",
   "contaazul":"0",
   "sentalert":"0",
   "nota_fiscal":"",
   "shipping_method_alt":"",
   "extra":"",
   "payment_type":"OTHER",
   "delivering_on":null,
   "payment_id":"",
   "origin_id":"0",
   "salesman_id":"0",
   "ship_address_id":"246",
   "bill_address_id":"246",
   "payment_options":"",
   "look_discount":"0.00",
   "currency":"BRL",
   "coupon_ids":"",
   "delivered_on":null,
   "sent_testimonial":"0",
   "ip_address":"",
   "tracking_check":"0000-00-00",
   "referral_id":"0",
   "referral_converted_value":"0.00",
   "referral_info":"",
   "referral_discount":"0.00",
   "campaign_discount":"0.00",
   "referral_confirmation":"0",
   "pricing_ids":null,
   "used_device":"",
   "payment_method":null,
   "payment_status_check":"0000-00-00",
   "external_info":"",
   "company_alt":"",
   "company_registration":"",
   "company_registration_alt":"",
   "deleted_on":null,
   "user_agent":"PostmanRuntime/7.1.5",
   "payment":{
      "module":""
   },
   "contents":[
      {
         "order_id":"270",
         "product_id":"307",
         "variant_id":"2",
         "excerpt":"An origami skort featuring a contrast striped trim. Invisible side zipper with hook-eye closure. Boyshorts attached. Stretch knit. Lightweight.",
         "description":"<p>An origami skort featuring a contrast striped trim. Invisible side zipper with hook-eye closure. Boyshorts attached. Stretch knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>12\" waist side seam to hem, 1.5\" inseam, 18\" leg opening, 27\" waist</li><li>Measured from Small</li><li>62% rayon, 34% polyester, 4% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
         "order_item_id":"402",
         "id":"307",
         "sku":"MO8996-1",
         "name":"Short Prepster Origami Skort",
         "slug":"Short-Prepster-Origami-Skort",
         "price":"2.00",
         "saleprice":"0.00",
         "free_shipping":"0",
         "shippable":"1",
         "taxable":"0",
         "fixed_quantity":"0",
         "weight":"",
         "track_stock":"1",
         "quantity":"1",
         "enabled":"1",
         "site_id":"2",
         "height":"5.00",
         "width":"20.00",
         "depth":"20.00",
         "factory_price":"5.00",
         "installments":"3",
         "stared":"0",
         "variant_details":"1",
         "subscription_days":"0",
         "subscription_period":"0",
         "subscription_trial":"0",
         "lookable":"0",
         "reduction_type":"0",
         "reduction_amount":"0",
         "processing_days":"0",
         "rating":"0",
         "ncm_code":"",
         "gtin_code":"",
         "product_main_category":"0",
         "variant":"2",
         "options":{
            " Tamanho da peça":"4 anos",
            "Tamanho do Calçado":"23"
         },
         "base_price":"2.00"
      }
   ],
   "total_discounts":0
}
 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Contém os produtos do pedido.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Atualizar um pedido

 
puthttps://subdomain.xtechcommerce.com/api-v1/orders
curl --request PUT \
  --url 'http://{{xtech-url}}/api-v1/orders' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}' \
  --data '{
  "order": {
    "id": "269",
    "tracking_number": "PD000000014BR",
    "status": "Processing",
    "nota_fiscal": "123123123"
  }
}'
{
   "order":{
      "id":"269",
      "tracking_number":"PD000000014BR",
      "status":"Processing",
      "nota_fiscal":"123123123"
   }
}
A binary file was returned

You couldn't be authenticated

{
   "id":"269",
   "site_id":"2",
   "order_number":"152883642881",
   "customer_id":"925",
   "status":"Processing",
   "ordered_on":"2018-06-12 17:47:08",
   "shipped_on":null,
   "tax":"0.00",
   "total":"415.30",
   "subtotal":"2.00",
   "gift_card_discount":"0.00",
   "coupon_discount":"0.00",
   "payment_discount":"0.00",
   "shipping":"16.90",
   "shipping_notes":"",
   "shipping_method":"PAC",
   "notes":null,
   "payment_info":"",
   "referral":"Xtech Readme",
   "company":"",
   "firstname":"Cliente",
   "lastname":"Loja",
   "phone":"",
   "email":"cliente@sualoja.com.br",
   "history":"[\"Pagamento Aprovado (12\\/06\\/2018 17:48:24) - Alterado por: Xtech Readme\"]",
   "tracking_number":"PD000000014BR",
   "delivery_time":"0",
   "production_time":"0",
   "days_until_shipped":"0",
   "approved_on":"2018-06-12 17:48:24",
   "test":"1",
   "contaazul":"0",
   "sentalert":"0",
   "nota_fiscal":"123123123",
   "shipping_method_alt":"",
   "extra":"",
   "payment_type":"OTHER",
   "delivering_on":null,
   "payment_id":"",
   "origin_id":"0",
   "salesman_id":"0",
   "ship_address_id":"245",
   "bill_address_id":"245",
   "payment_options":"",
   "look_discount":"0.00",
   "currency":"BRL",
   "coupon_ids":"",
   "delivered_on":null,
   "sent_testimonial":"0",
   "ip_address":"",
   "tracking_check":"0000-00-00",
   "referral_id":"0",
   "referral_converted_value":"0.00",
   "referral_info":"",
   "referral_discount":"0.00",
   "campaign_discount":"0.00",
   "referral_confirmation":"0",
   "pricing_ids":null,
   "used_device":"",
   "payment_method":null,
   "payment_status_check":"0000-00-00",
   "external_info":"",
   "company_alt":"",
   "company_registration":"",
   "company_registration_alt":"",
   "deleted_on":null,
   "user_agent":"PostmanRuntime/7.1.5"
}
 

Campos de Resposta

Campo
Tipo
Descrição

customer_firstname

string

Primeiro nome do cliente.

customer_lastname

string

Ultimo nome do cliente.

customer_email

string

Email do cliente.

customer_phone

string

Telefone do cliente.

customer_company

string

Nome da empresa do cliente.

customer_active

string

Verifica se o cliente está ativo.

customer_sex

string

Indica o gênero do cliente. Sendo:
0 - Masculino
1 - Feminino

customer_cpf

string

CPF do cliente.

customer_birthday

string

Data de nascimento do cliente.

customer_mobile

string

Celular do cliente.

customer_cnpj

string

CNPJ do cliente.

customer_company_alt

string

Razão social do cliente.

customer_company_registration

string

Inscrição estadual do cliente.

customer_company_registration_alt

string

Inscrição municipal do cliente.

customer_facebook_uid

string

Identificador único do facebook.

ship_company

string

Nome da empresa para frete.

ship_firstname

string

Primeiro nome do cliente para frete.

ship_lastname

string

Último nome do cliente para frete.

ship_email

string

Email do cliente para frete.

ship_phone

string

Telefone do cliente para frete.

ship_address1

string

Endereço do cliente para frete.

ship_address2

string

Complemento do endereço do cliente para frete.

ship_anumber

string

Número do endereço do cliente para frete.

ship_district

string

Bairro do cliente para frete.

ship_city

string

Cidade do cliente para frete.

ship_zip

string

CEP do cliente para frete.

ship_zone_id

string

Identificador do estado.

ship_zone

string

Estado do cliente.

ship_country_id

string

Identificador do país.

ship_country

string

País do cliente.

ship_country_code

string

Código do país do cliente.

ship_reference

string

Referência do endereço do cliente para frete.

ship_extra

string

Informações extras do cliente para frete.

order_id

string

Identificador do pedido.

order_order_number

string

Número do pedido.

order_customer_id

string

Identificador do cliente.

order_status

string

Estado do pedido.

order_ordered_on

string

Data em que o pedido foi feito.

order_shipped_on

string

Data em que o pedido saiu para entrega.

order_tax

string

Valor das taxas aplicadas ao pedido.

order_total

string

Valor total do pedido.

order_subtotal

string

Valor do subtotal do pedido.

order_coupon_discount

string

Desconto de cupom aplicado no pedido.

order_payment_discount

string

Desconto aplicado no pedido.

order_shipping

string

Valor do frete do pedido.

order_shipping_notes

string

Observações de entrega no pedido.

order_shipping_method

string

Método de envio do pedido.

order_payment_info

string

Informação de método de pagamento.

order_referral

string

Identificador do afiliado.

order_company

string

Nome da empresa no pedido.

order_firstname

string

Primeiro nome do cliente no pedido.

order_lastname

string

Ultimo nome do cliente no pedido.

order_phone

string

Telefone do cliente no pedido.

order_email

string

Email do cliente no pedido.

order_history

string

Histórico de mudanças do pedido em JSON.

order_tracking_number

string

Código de rastreio do pedido.

order_delivery_time

string

Tempo estimado de entrega do pedido.

order_production_time

string

Tempo de produção do pedido.

order_days_until_shipped

string

Tempo em dias para o pedido sair para entrega.

order_approved_on

string

Data em que o pedido foi aprovado.

order_nota_fiscal

string

Nota fiscal do pedido.

order_shipping_method_alt

string

Método de entrega alterado pelo lojista.

order_payment_type

string

Método de pagamento.

order_delivering_on

string

Previsão para entrega do pedido.

order_payment_id

string

Identificador do pagamento.

order_ship_address_id

string

Identificador do endereço de entrega.

order_bill_address_id

string

Identificador do endereço de cobrança.

order_payment_options

string

Opções de pagamento.

order_look_discount

string

Desconto aplicado por compre junto.

order_currency

string

Moeda utilizada no pedido.

order_sent_testimonial

string

Verifica se já foi enviado avaliação do produto.

order_ip_address

string

Endereço de IP do cliente.

order_referral_id

string

Identificador do afiliado.

order_referral_converted_value

string

Valor convertido para afiliado.

order_referral_info

string

Informações do afiliado.

order_referral_discount

string

Desconto do afiliado.

order_campaign_discount

string

Desconto no pedido aplicado por campanha.

order_referral_confirmation

string

Verfica confirmação do afiliado.

order_coupon_ids

array

Contém identificadores dos cupons usados no pedido.

order_delivered_on

string

Data em que pedido foi entregue.

order_contents

array

Contém os produtos do pedido.

order_contents.subtotal

string

Subtotal dos itens do pedido.

Suggest Edits

Listar todos os produtos

 
gethttps://subdomain.xtechcommerce.com/api-v1/products
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/orders' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://staging.ambienteprotegido.com/api-v1/products",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json",
    "x-api-key: f36bd8ea59a790c3c60ca85063d94fa2",
    "x-app-key: NlNWbQkwEqaTHvVahExKCamzVXHTFn"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"301",
      "enabled":"1",
      "name":"Top Must-Have Cami",
      "sku":"MO8991",
      "slug":"Top-Must-Have-Cami",
      "description":"<p>A cami featuring spaghetti straps. Round neckline. Knit. Lightweight.</p><p>DETAILS:</p><ul><li>20\" approx. length from high point shoulder to hem, 30\" chest, 28\" waist</li><li>Measured from Small</li><li>95% cotton, 5% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A cami featuring spaghetti straps. Round neckline. Knit. Lightweight.",
      "price":"94.90",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"3",
      "quantity":"996",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"06d7ec94f4239e7b896729fe66c036ea\":{\"filename\":\"06d7ec94f4239e7b896729fe66c036ea.jpg\",\"alt\":\"Top Must-Have Cami MO8991\",\"caption\":\"\",\"primary\":true},\"ae9ddd31a2e99508a2e52b1608b50342\":{\"filename\":\"ae9ddd31a2e99508a2e52b1608b50342.jpg\",\"alt\":\"\",\"caption\":\"\"},\"73b47ea17d60b0eb3e56d6f72d5f8328\":{\"filename\":\"73b47ea17d60b0eb3e56d6f72d5f8328.jpg\",\"alt\":\"\",\"caption\":\"\"},\"a57a5684e40b56d7580647259d3506dc\":{\"filename\":\"a57a5684e40b56d7580647259d3506dc.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590832",
            "name":"Top",
            "slug":"top",
            "product_id":"301"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"301"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"301"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"302",
      "enabled":"1",
      "name":"Vestido Must-Have Sweatshirt",
      "sku":"MO8992",
      "slug":"Vestido-Must-Have-Sweatshirt",
      "description":"<p>A French terry sweatshirt dress featuring long raglan sleeves. Round neckline. Banded trim. Knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>34\" approx. length from high point shoulder to hem, 38\" chest, 36\" waist, 30\" sleeve length from high point shoulder</li><li>Measured from Small</li><li>61% cotton, 39% viscose</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"Love 21 - A French terry sweatshirt dress featuring long raglan sleeves. Round neckline. Banded trim. Knit. Lightweight.",
      "price":"150.00",
      "saleprice":"0.00",
      "factory_price":"10.00",
      "installments":"3",
      "quantity":"10002",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"f9677fc211677b591bc8556fb39f0087\":{\"filename\":\"f9677fc211677b591bc8556fb39f0087.jpg\",\"alt\":\"\",\"caption\":\"\",\"primary\":true},\"98294d55cd19a70113bbff60ecb8ca99\":{\"filename\":\"98294d55cd19a70113bbff60ecb8ca99.jpg\",\"alt\":\"Vestido Must-Have Sweatshirt MO8992\",\"caption\":\"\"},\"1b63355b69f2597a28ff0a66ea79e16e\":{\"filename\":\"1b63355b69f2597a28ff0a66ea79e16e.jpg\",\"alt\":\"\",\"caption\":\"\"},\"507c0e817b739693dee2b2acd4f9ff1e\":{\"filename\":\"507c0e817b739693dee2b2acd4f9ff1e.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590833",
            "name":"Vestidos",
            "slug":"vestidos",
            "product_id":"302"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"302"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"302"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"303",
      "enabled":"1",
      "name":"Saia Global Girl Bodycon",
      "sku":"MO8990",
      "slug":"Saia-Global-Girl-Bodycon",
      "description":"<p>A bodycon skirt featuring a striped tribal print. Elasticized waist. Finished trim. Stretch-knit. Lightweight.</p><p>DETAILS:</p><ul><li>15\" approx. length from waist to hem, 26\" waist</li><li>Measured from Small</li><li>95% cotton, 5% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A bodycon skirt featuring a striped tribal print. Elasticized waist. Finished trim. Stretch-knit. Lightweight.",
      "price":"8.00",
      "saleprice":"0.00",
      "factory_price":"2.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[322,323,324,326]",
      "video":"",
      "video_img":"",
      "images":"{\"f32b6f3355b70b10ccb66c03574fb0f2\":{\"filename\":\"f32b6f3355b70b10ccb66c03574fb0f2.jpg\",\"alt\":\"Saia Global Girl Bodycon MO8990\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"a20c7f713c64f08c5844e9ff4e044612\":{\"filename\":\"a20c7f713c64f08c5844e9ff4e044612.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"8834c7b57b4be2555fe1343b3e69bbdb\":{\"filename\":\"8834c7b57b4be2555fe1343b3e69bbdb.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"2a2daaf41ca15cd83af43760589114a5\":{\"filename\":\"2a2daaf41ca15cd83af43760589114a5.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"a312c0ff3d81a50a71fa6ef4d494955f\":{\"filename\":\"a312c0ff3d81a50a71fa6ef4d494955f.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590829",
            "name":"Saias",
            "slug":"saias",
            "product_id":"303"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"303"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"303"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"304",
      "enabled":"1",
      "name":"Brincos Arrowhead Geo Drop",
      "sku":"MO8993",
      "slug":"Brincos-Arrowhead-Geo-Drop",
      "description":"<p>\n\tA pair of arrowhead-shaped drop earrings featuring a lacquered stripe. High polish finish. Post backs. Medium weight.</p><p>\n\tDETAILS:</p><ul>\n\t\n<li>approx. 1.6\" length x 1.1\" width</li>\t\n<li>Imported</li></ul>",
      "excerpt":"A pair of arrowhead-shaped drop earrings featuring a lacquered stripe. High polish finish. Post backs. Medium weight.",
      "price":"132.90",
      "saleprice":"0.00",
      "factory_price":"1.00",
      "installments":"3",
      "quantity":"995",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"10.00",
      "depth":"10.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"45c8dd4b63276f5e2d0dd19e85121c0a\":{\"filename\":\"45c8dd4b63276f5e2d0dd19e85121c0a.jpg\",\"alt\":\"Brincos Arrowhead Geo Drop MO8993\",\"caption\":\"\",\"primary\":true},\"69504ca36130b6c49546e79d176f8740\":{\"filename\":\"69504ca36130b6c49546e79d176f8740.jpg\",\"alt\":\"\",\"caption\":\"\"},\"8ec8f189c3da66c632d7f27b83e3de83\":{\"filename\":\"8ec8f189c3da66c632d7f27b83e3de83.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590826",
            "name":"Brincos",
            "slug":"brincos",
            "product_id":"304"
         },
         {
            "id":"590828",
            "name":"Acessórios",
            "slug":"acessorios",
            "product_id":"304"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"304"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"305",
      "enabled":"1",
      "name":"Colar Down-to-Earth Charm",
      "sku":"MO8994",
      "slug":"Colar-Down-to-Earth-Charm",
      "description":"<p>A long cable chain necklace featuring a faux geode charm. Lobster clasp. High polish finish. Medium weight.</p><p>DETAILS:</p><ul>\n<li>Chain length: approx. 23.5\"; Décor: approx. 2\" x 1\"</li><li>Imported</li></ul>",
      "excerpt":"A long cable chain necklace featuring a faux geode charm. Lobster clasp. High polish finish. Medium weight.",
      "price":"5.00",
      "saleprice":"4.00",
      "factory_price":"1.00",
      "installments":"3",
      "quantity":"15",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0",
      "height":"5.00",
      "width":"10.00",
      "depth":"10.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[320]",
      "video":"",
      "video_img":"",
      "images":"{\"39edefd4dcba706427087fa5f692c0ef\":{\"filename\":\"39edefd4dcba706427087fa5f692c0ef.jpg\",\"alt\":\"Colar Down-to-Earth Charm MO8994\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"3f24574ed1ccb393baa36fdc4dbed87d\":{\"filename\":\"3f24574ed1ccb393baa36fdc4dbed87d.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"d6b8dfac0cc774422babaa6317493e61\":{\"filename\":\"d6b8dfac0cc774422babaa6317493e61.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590827",
            "name":"Colares",
            "slug":"colares",
            "product_id":"305"
         },
         {
            "id":"590828",
            "name":"Acessórios",
            "slug":"acessorios",
            "product_id":"305"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"305"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"306",
      "enabled":"1",
      "name":"Mini Saia Day Dreamer Abstract",
      "sku":"MO8995",
      "slug":"Mini-Saia-Day-Dreamer-Abstract",
      "description":"<p>A mini skirt featuring an abstract print. Smocked waist. Shirred waistline. Unlined. Knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>16\" approx. length from waist to hem, 27\" waist</li><li>Measured from Small</li><li>95% rayon, 5% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A mini skirt featuring an abstract print. Smocked waist. Shirred waistline. Unlined. Knit. Lightweight.",
      "price":"8.00",
      "saleprice":"0.00",
      "factory_price":"3.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[318,317,319,322]",
      "video":"",
      "video_img":"",
      "images":"{\"c2d897f6f91b667647a342a8a174f612\":{\"filename\":\"c2d897f6f91b667647a342a8a174f612.jpg\",\"alt\":\"Mini Saia Day Dreamer Abstract MO8995\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"3d42c58b095b4d58c6250fdd3f7727cf\":{\"filename\":\"3d42c58b095b4d58c6250fdd3f7727cf.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"7f89513d954251f22574ac00a09b9948\":{\"filename\":\"7f89513d954251f22574ac00a09b9948.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"09aeac86e21e65f0a6c244f9503f673b\":{\"filename\":\"09aeac86e21e65f0a6c244f9503f673b.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"d104ee6ea7242704c59a899a9ffd8ccc\":{\"filename\":\"d104ee6ea7242704c59a899a9ffd8ccc.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590829",
            "name":"Saias",
            "slug":"saias",
            "product_id":"306"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"306"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"306"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"307",
      "enabled":"1",
      "name":"Short Prepster Origami Skort",
      "sku":"MO8996",
      "slug":"Short-Prepster-Origami-Skort",
      "description":"<p>An origami skort featuring a contrast striped trim. Invisible side zipper with hook-eye closure. Boyshorts attached. Stretch knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>12\" waist side seam to hem, 1.5\" inseam, 18\" leg opening, 27\" waist</li><li>Measured from Small</li><li>62% rayon, 34% polyester, 4% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"An origami skort featuring a contrast striped trim. Invisible side zipper with hook-eye closure. Boyshorts attached. Stretch knit. Lightweight.",
      "price":"2.00",
      "saleprice":"0.00",
      "factory_price":"5.00",
      "installments":"3",
      "quantity":"138",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"1",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"a2197de603096698f04a3f9927e93d14\":{\"filename\":\"a2197de603096698f04a3f9927e93d14.jpg\",\"alt\":\"Short Prepster Origami Skort MO8996\",\"caption\":\"\",\"primary\":true},\"54a3dd9c447b70ebc9886b507c63d681\":{\"filename\":\"54a3dd9c447b70ebc9886b507c63d681.jpg\",\"alt\":\"\",\"caption\":\"\"},\"75de688d4c5a6fd855139999b37cadf8\":{\"filename\":\"75de688d4c5a6fd855139999b37cadf8.jpg\",\"alt\":\"\",\"caption\":\"\"},\"069b63458a2483d19d3f0db6c5f0e03e\":{\"filename\":\"069b63458a2483d19d3f0db6c5f0e03e.jpg\",\"alt\":\"\",\"caption\":\"\"},\"0eb6c5e8a80963ae2901c62a733788d4\":{\"filename\":\"0eb6c5e8a80963ae2901c62a733788d4.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590830",
            "name":"Shorts",
            "slug":"shorts",
            "product_id":"307"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"307"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"307"
         }
      ],
      "properties":[

      ],
      "variants":[
         {
            "id":"2",
            "price":"0.00",
            "quantity":"18",
            "sku":"MO8996-1",
            "gtin_code":"",
            "product_id":"307"
         },
         {
            "id":"3",
            "price":"0.00",
            "quantity":"10",
            "sku":"MO8996-2",
            "gtin_code":"",
            "product_id":"307"
         },
         {
            "id":"5",
            "price":"20.00",
            "quantity":"55",
            "sku":"MO8996-3",
            "gtin_code":"1234567891234",
            "product_id":"307"
         },
         {
            "id":"6",
            "price":"15.00",
            "quantity":"55",
            "sku":"MO8996-3",
            "gtin_code":"1234567891234",
            "product_id":"307"
         }
      ]
   },
   {
      "id":"308",
      "enabled":"1",
      "name":"Legging Faux Leather Sailor",
      "sku":"MO8997",
      "slug":"Legging-Faux-Leather-Sailor",
      "description":"<p>A pair of <strong>faux leather leggings</strong> featuring a high-waist with nautical button accents. Knit back. Lightweight.</p><p>DETAILS:</p><ul>\n<li>29\" approx. inseam, 24\" approx. waist</li><li>Measured from Small</li><li>Shell 1: 100% polyurethane; Backing: 100% polyester; Shell 2: 66% rayon, 30% nylon, 9% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A pair of faux leather leggings featuring a high-waist with nautical button accents. Knit back. Lightweight.",
      "price":"22.00",
      "saleprice":"0.00",
      "factory_price":"9.00",
      "installments":"3",
      "quantity":"4",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"98ed240e4ae939ecba2a5a5e3b564963\":{\"filename\":\"98ed240e4ae939ecba2a5a5e3b564963.jpg\",\"alt\":\"Legging Faux Leather Sailor MO8997\",\"caption\":\"\",\"primary\":true},\"29e49a0f1bd314262b6d33596177659c\":{\"filename\":\"29e49a0f1bd314262b6d33596177659c.jpg\",\"alt\":\"\",\"caption\":\"\"},\"4623fc11a1d9f273c6a7420bc830e875\":{\"filename\":\"4623fc11a1d9f273c6a7420bc830e875.jpg\",\"alt\":\"\",\"caption\":\"\"},\"a0fc267235e1824b9bba13aaae02fcd6\":{\"filename\":\"a0fc267235e1824b9bba13aaae02fcd6.jpg\",\"alt\":\"\",\"caption\":\"\"},\"a4c4d58094fb22dc6be644e2134b0b97\":{\"filename\":\"a4c4d58094fb22dc6be644e2134b0b97.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590831",
            "name":"Leggings",
            "slug":"leggings",
            "product_id":"308"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"308"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"308"
         }
      ],
      "properties":[

      ],
      "variants":[
         {
            "id":"4",
            "price":"22.00",
            "quantity":"3",
            "sku":"MO8997-1",
            "gtin_code":"",
            "product_id":"308"
         }
      ]
   },
   {
      "id":"309",
      "enabled":"1",
      "name":"Top Reckless Cropped Tee",
      "sku":"MO8998",
      "slug":"Top-Reckless-Cropped-Tee",
      "description":"<p>A cropped tee featuring a bold \"Reckless\" graphic. Round neckline. Short sleeves. Knit. Lightweight.</p><p>DETAILS:</p><ul><li>16\" approx. length from high point shoulder to hem, 40\" chest, 40\" waist, 9\" sleeve length from high point shoulder</li><li>Measured from Small</li><li>100% cotton</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A cropped tee featuring a bold \"Reckless\" graphic. Round neckline. Short sleeves. Knit. Lightweight.",
      "price":"94.90",
      "saleprice":"80.66",
      "factory_price":"3.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"36877d54375ac839355ed6552b4539b0\":{\"filename\":\"36877d54375ac839355ed6552b4539b0.jpg\",\"alt\":\"Top Reckless Cropped Tee MO8998\",\"caption\":\"\",\"primary\":true},\"fb7791a26954bf36afd7dee2c3d6bd27\":{\"filename\":\"fb7791a26954bf36afd7dee2c3d6bd27.jpg\",\"alt\":\"\",\"caption\":\"\"},\"0f2549399a5d8d58f1f97f1f189562ca\":{\"filename\":\"0f2549399a5d8d58f1f97f1f189562ca.jpg\",\"alt\":\"\",\"caption\":\"\"},\"d995d6d576609ec90dcd7ac1dd10cff4\":{\"filename\":\"d995d6d576609ec90dcd7ac1dd10cff4.jpg\",\"alt\":\"\",\"caption\":\"\"},\"fc6a3517bdf9a87408ca0cc246cf4c0f\":{\"filename\":\"fc6a3517bdf9a87408ca0cc246cf4c0f.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590832",
            "name":"Top",
            "slug":"top",
            "product_id":"309"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"309"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"309"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"310",
      "enabled":"1",
      "name":"Vestido Opulent A-Line",
      "sku":"MO8999",
      "slug":"Vestido-Opulent-A-Line",
      "description":"<p>A backless A-line dress featuring a <strong>baroque pattern</strong>. Sleeveless. Round neckline. Knit. Unlined. Medium weight.</p><p>DETAILS:</p><ul><li>34\" approx. length from high point shoulder to hem, 32\" chest, 26\" waist</li><li>Measured from Small</li><li>58% polyester, 40% rayon, 2% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A backless A-line dress featuring a baroque pattern. Sleeveless. Round neckline. Knit. Unlined. Medium weight.",
      "price":"24.00",
      "saleprice":"0.00",
      "factory_price":"5.00",
      "installments":"3",
      "quantity":"6",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"{\"3135efa877a18694f0c22a76da362d95\":{\"filename\":\"3135efa877a18694f0c22a76da362d95.jpg\",\"alt\":\"Vestido Opulent A-Line MO8999\",\"caption\":\"\",\"primary\":true},\"bffc088cd026a7138979869153722e08\":{\"filename\":\"bffc088cd026a7138979869153722e08.jpg\",\"alt\":\"\",\"caption\":\"\"},\"0718ce9f2728c797bfa5f3d4a87bfa72\":{\"filename\":\"0718ce9f2728c797bfa5f3d4a87bfa72.jpg\",\"alt\":\"\",\"caption\":\"\"},\"3faa1c3d9c86346c20e7f52f4bae53c3\":{\"filename\":\"3faa1c3d9c86346c20e7f52f4bae53c3.jpg\",\"alt\":\"\",\"caption\":\"\"},\"f11580b1e25e432e66f7f55d089ded62\":{\"filename\":\"f11580b1e25e432e66f7f55d089ded62.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590833",
            "name":"Vestidos",
            "slug":"vestidos",
            "product_id":"310"
         },
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"310"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"310"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"311",
      "enabled":"1",
      "name":"Teste",
      "sku":"MO9003",
      "slug":"Teste",
      "description":"",
      "excerpt":"",
      "price":"0.00",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"0",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"0",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"0",
      "processing_days":"0",
      "weight":"0",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"0",
      "gtin_code":"0",
      "lookable":"1",
      "variant_details":"0",
      "reduction_type":"percent",
      "reduction_amount":"10",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"false",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"311"
         }
      ],
      "look_products":[
         "301",
         "304",
         "308"
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"312",
      "enabled":"1",
      "name":"Lalala",
      "sku":"MO9004",
      "slug":"Lalala",
      "description":"",
      "excerpt":"",
      "price":"100.00",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"0",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"false",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"312"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"313",
      "enabled":"1",
      "name":"lalala 2",
      "sku":"MO9005",
      "slug":"lalala-2",
      "description":"",
      "excerpt":"",
      "price":"50.00",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"0",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"false",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"313"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"314",
      "enabled":"1",
      "name":"Teste 1",
      "sku":"MO9006",
      "slug":"Teste-1",
      "description":"",
      "excerpt":"",
      "price":"229.90",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"0",
      "quantity":"99",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"false",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"314"
         },
         {
            "id":"590835",
            "name":"Home",
            "slug":"home",
            "product_id":"314"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"315",
      "enabled":"1",
      "name":"Teste 3",
      "sku":"MO9007",
      "slug":"Teste-3",
      "description":"",
      "excerpt":"",
      "price":"50.00",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"0",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"false",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"315"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"316",
      "enabled":"1",
      "name":"Teste 6",
      "sku":"MO9008",
      "slug":"Teste-6",
      "description":"",
      "excerpt":"",
      "price":"999.00",
      "saleprice":"0.00",
      "factory_price":"0.00",
      "installments":"0",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"0",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"0",
      "subscription_trial":"0",
      "seo_title":"",
      "seo_description":"",
      "seo_keywords":"",
      "meta":"",
      "related_products":"",
      "video":"",
      "video_img":"",
      "images":"false",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590834",
            "name":"Camisas",
            "slug":"roupas",
            "product_id":"316"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"317",
      "enabled":"1",
      "name":"Top Must-Have Cami",
      "sku":"MO8991",
      "slug":"Top-Must-Have-Cami",
      "description":"<p>A cami featuring spaghetti straps. Round neckline. Knit. Lightweight.</p><p>DETAILS:</p><ul><li>20\" approx. length from high point shoulder to hem, 30\" chest, 28\" waist</li><li>Measured from Small</li><li>95% cotton, 5% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A cami featuring spaghetti straps. Round neckline. Knit. Lightweight.",
      "price":"1.00",
      "saleprice":"0.00",
      "factory_price":"0.50",
      "installments":"3",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[326,324,323,317]",
      "video":"",
      "video_img":"",
      "images":"{\"06d7ec94f4239e7b896729fe66c036ea\":{\"filename\":\"06d7ec94f4239e7b896729fe66c036ea.jpg\",\"alt\":\"Top Must-Have Cami MO8991\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"ae9ddd31a2e99508a2e52b1608b50342\":{\"filename\":\"ae9ddd31a2e99508a2e52b1608b50342.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"73b47ea17d60b0eb3e56d6f72d5f8328\":{\"filename\":\"73b47ea17d60b0eb3e56d6f72d5f8328.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"a57a5684e40b56d7580647259d3506dc\":{\"filename\":\"a57a5684e40b56d7580647259d3506dc.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590846",
            "name":"Top",
            "slug":"top",
            "product_id":"317"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"317"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"317"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"318",
      "enabled":"1",
      "name":"Vestido Must-Have Sweatshirt",
      "sku":"MO8992",
      "slug":"Vestido-Must-Have-Sweatshirt",
      "description":"<p>A French terry sweatshirt dress featuring long raglan sleeves. Round neckline. Banded trim. Knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>34\" approx. length from high point shoulder to hem, 38\" chest, 36\" waist, 30\" sleeve length from high point shoulder</li><li>Measured from Small</li><li>61% cotton, 39% viscose</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"Love 21 - A French terry sweatshirt dress featuring long raglan sleeves. Round neckline. Banded trim. Knit. Lightweight.",
      "price":"22.80",
      "saleprice":"15.00",
      "factory_price":"10.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":null,
      "video":"",
      "video_img":"",
      "images":"{\"98294d55cd19a70113bbff60ecb8ca99\":{\"filename\":\"98294d55cd19a70113bbff60ecb8ca99.jpg\",\"alt\":\"Vestido Must-Have Sweatshirt MO8992\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"1b63355b69f2597a28ff0a66ea79e16e\":{\"filename\":\"1b63355b69f2597a28ff0a66ea79e16e.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"f9677fc211677b591bc8556fb39f0087\":{\"filename\":\"f9677fc211677b591bc8556fb39f0087.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"507c0e817b739693dee2b2acd4f9ff1e\":{\"filename\":\"507c0e817b739693dee2b2acd4f9ff1e.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590847",
            "name":"Vestidos",
            "slug":"vestidos",
            "product_id":"318"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"318"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"318"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"319",
      "enabled":"1",
      "name":"Saia Global Girl Bodycon",
      "sku":"MO8990",
      "slug":"Saia-Global-Girl-Bodycon",
      "description":"<p>A bodycon skirt featuring a striped tribal print. Elasticized waist. Finished trim. Stretch-knit. Lightweight.</p><p>DETAILS:</p><ul><li>15\" approx. length from waist to hem, 26\" waist</li><li>Measured from Small</li><li>95% cotton, 5% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A bodycon skirt featuring a striped tribal print. Elasticized waist. Finished trim. Stretch-knit. Lightweight.",
      "price":"8.80",
      "saleprice":"0.00",
      "factory_price":"2.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[322,323,324,326]",
      "video":"",
      "video_img":"",
      "images":"{\"f32b6f3355b70b10ccb66c03574fb0f2\":{\"filename\":\"f32b6f3355b70b10ccb66c03574fb0f2.jpg\",\"alt\":\"Saia Global Girl Bodycon MO8990\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"a20c7f713c64f08c5844e9ff4e044612\":{\"filename\":\"a20c7f713c64f08c5844e9ff4e044612.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"8834c7b57b4be2555fe1343b3e69bbdb\":{\"filename\":\"8834c7b57b4be2555fe1343b3e69bbdb.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"2a2daaf41ca15cd83af43760589114a5\":{\"filename\":\"2a2daaf41ca15cd83af43760589114a5.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"a312c0ff3d81a50a71fa6ef4d494955f\":{\"filename\":\"a312c0ff3d81a50a71fa6ef4d494955f.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590843",
            "name":"Saias",
            "slug":"saias",
            "product_id":"319"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"319"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"319"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"320",
      "enabled":"1",
      "name":"Brincos Arrowhead Geo Drop",
      "sku":"MO8993",
      "slug":"Brincos-Arrowhead-Geo-Drop",
      "description":"<p>\n\tA pair of arrowhead-shaped drop earrings featuring a lacquered stripe. High polish finish. Post backs. Medium weight.</p><p>\n\tDETAILS:</p><ul>\n\t\n<li>approx. 1.6\" length x 1.1\" width</li>\t\n<li>Imported</li></ul>",
      "excerpt":"A pair of arrowhead-shaped drop earrings featuring a lacquered stripe. High polish finish. Post backs. Medium weight.",
      "price":"4.80",
      "saleprice":"0.00",
      "factory_price":"1.00",
      "installments":"3",
      "quantity":"2",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"10.00",
      "depth":"10.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[321]",
      "video":"",
      "video_img":"",
      "images":"{\"45c8dd4b63276f5e2d0dd19e85121c0a\":{\"filename\":\"45c8dd4b63276f5e2d0dd19e85121c0a.jpg\",\"alt\":\"Brincos Arrowhead Geo Drop MO8993\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"69504ca36130b6c49546e79d176f8740\":{\"filename\":\"69504ca36130b6c49546e79d176f8740.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"8ec8f189c3da66c632d7f27b83e3de83\":{\"filename\":\"8ec8f189c3da66c632d7f27b83e3de83.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590840",
            "name":"Brincos",
            "slug":"brincos",
            "product_id":"320"
         },
         {
            "id":"590842",
            "name":"Acessórios",
            "slug":"acessorios",
            "product_id":"320"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"321",
      "enabled":"1",
      "name":"Colar Down-to-Earth Charm",
      "sku":"MO8994",
      "slug":"Colar-Down-to-Earth-Charm",
      "description":"<p>A long cable chain necklace featuring a faux geode charm. Lobster clasp. High polish finish. Medium weight.</p><p>DETAILS:</p><ul>\n<li>Chain length: approx. 23.5\"; Décor: approx. 2\" x 1\"</li><li>Imported</li></ul>",
      "excerpt":"A long cable chain necklace featuring a faux geode charm. Lobster clasp. High polish finish. Medium weight.",
      "price":"5.80",
      "saleprice":"4.00",
      "factory_price":"1.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"10.00",
      "depth":"10.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[320]",
      "video":"",
      "video_img":"",
      "images":"{\"39edefd4dcba706427087fa5f692c0ef\":{\"filename\":\"39edefd4dcba706427087fa5f692c0ef.jpg\",\"alt\":\"Colar Down-to-Earth Charm MO8994\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"3f24574ed1ccb393baa36fdc4dbed87d\":{\"filename\":\"3f24574ed1ccb393baa36fdc4dbed87d.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"d6b8dfac0cc774422babaa6317493e61\":{\"filename\":\"d6b8dfac0cc774422babaa6317493e61.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590841",
            "name":"Colares",
            "slug":"colares",
            "product_id":"321"
         },
         {
            "id":"590842",
            "name":"Acessórios",
            "slug":"acessorios",
            "product_id":"321"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"322",
      "enabled":"1",
      "name":"Mini Saia Day Dreamer Abstract",
      "sku":"MO8995",
      "slug":"Mini-Saia-Day-Dreamer-Abstract",
      "description":"<p>A mini skirt featuring an abstract print. Smocked waist. Shirred waistline. Unlined. Knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>16\" approx. length from waist to hem, 27\" waist</li><li>Measured from Small</li><li>95% rayon, 5% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A mini skirt featuring an abstract print. Smocked waist. Shirred waistline. Unlined. Knit. Lightweight.",
      "price":"8.80",
      "saleprice":"0.00",
      "factory_price":"3.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[318,317,319,322]",
      "video":"",
      "video_img":"",
      "images":"{\"c2d897f6f91b667647a342a8a174f612\":{\"filename\":\"c2d897f6f91b667647a342a8a174f612.jpg\",\"alt\":\"Mini Saia Day Dreamer Abstract MO8995\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"3d42c58b095b4d58c6250fdd3f7727cf\":{\"filename\":\"3d42c58b095b4d58c6250fdd3f7727cf.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"7f89513d954251f22574ac00a09b9948\":{\"filename\":\"7f89513d954251f22574ac00a09b9948.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"09aeac86e21e65f0a6c244f9503f673b\":{\"filename\":\"09aeac86e21e65f0a6c244f9503f673b.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"d104ee6ea7242704c59a899a9ffd8ccc\":{\"filename\":\"d104ee6ea7242704c59a899a9ffd8ccc.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590843",
            "name":"Saias",
            "slug":"saias",
            "product_id":"322"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"322"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"322"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"323",
      "enabled":"1",
      "name":"Short Prepster Origami Skort",
      "sku":"MO8996",
      "slug":"Short-Prepster-Origami-Skort",
      "description":"<p>An origami skort featuring a contrast striped trim. Invisible side zipper with hook-eye closure. Boyshorts attached. Stretch knit. Lightweight.</p><p>DETAILS:</p><ul>\n<li>12\" waist side seam to hem, 1.5\" inseam, 18\" leg opening, 27\" waist</li><li>Measured from Small</li><li>62% rayon, 34% polyester, 4% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"An origami skort featuring a contrast striped trim. Invisible side zipper with hook-eye closure. Boyshorts attached. Stretch knit. Lightweight.",
      "price":"17.80",
      "saleprice":"0.00",
      "factory_price":"5.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":null,
      "video":"",
      "video_img":"",
      "images":"{\"a2197de603096698f04a3f9927e93d14\":{\"filename\":\"a2197de603096698f04a3f9927e93d14.jpg\",\"alt\":\"Short Prepster Origami Skort MO8996\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"54a3dd9c447b70ebc9886b507c63d681\":{\"filename\":\"54a3dd9c447b70ebc9886b507c63d681.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"75de688d4c5a6fd855139999b37cadf8\":{\"filename\":\"75de688d4c5a6fd855139999b37cadf8.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"069b63458a2483d19d3f0db6c5f0e03e\":{\"filename\":\"069b63458a2483d19d3f0db6c5f0e03e.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"0eb6c5e8a80963ae2901c62a733788d4\":{\"filename\":\"0eb6c5e8a80963ae2901c62a733788d4.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590844",
            "name":"Shorts",
            "slug":"shorts",
            "product_id":"323"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"323"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"323"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"324",
      "enabled":"1",
      "name":"Legging Faux Leather Sailor",
      "sku":"MO8997",
      "slug":"Legging-Faux-Leather-Sailor",
      "description":"<p>A pair of <strong>faux leather leggings</strong> featuring a high-waist with nautical button accents. Knit back. Lightweight.</p><p>DETAILS:</p><ul>\n<li>29\" approx. inseam, 24\" approx. waist</li><li>Measured from Small</li><li>Shell 1: 100% polyurethane; Backing: 100% polyester; Shell 2: 66% rayon, 30% nylon, 9% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A pair of faux leather leggings featuring a high-waist with nautical button accents. Knit back. Lightweight.",
      "price":"22.80",
      "saleprice":"0.00",
      "factory_price":"9.00",
      "installments":"3",
      "quantity":"1",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[326,323,324,322]",
      "video":"",
      "video_img":"",
      "images":"{\"98ed240e4ae939ecba2a5a5e3b564963\":{\"filename\":\"98ed240e4ae939ecba2a5a5e3b564963.jpg\",\"alt\":\"Legging Faux Leather Sailor MO8997\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"29e49a0f1bd314262b6d33596177659c\":{\"filename\":\"29e49a0f1bd314262b6d33596177659c.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"4623fc11a1d9f273c6a7420bc830e875\":{\"filename\":\"4623fc11a1d9f273c6a7420bc830e875.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"a0fc267235e1824b9bba13aaae02fcd6\":{\"filename\":\"a0fc267235e1824b9bba13aaae02fcd6.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"a4c4d58094fb22dc6be644e2134b0b97\":{\"filename\":\"a4c4d58094fb22dc6be644e2134b0b97.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590845",
            "name":"Leggings",
            "slug":"leggings",
            "product_id":"324"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"324"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"324"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"325",
      "enabled":"1",
      "name":"Top Reckless Cropped Tee",
      "sku":"MO8998",
      "slug":"Top-Reckless-Cropped-Tee",
      "description":"<p>A cropped tee featuring a bold \"Reckless\" graphic. Round neckline. Short sleeves. Knit. Lightweight.</p><p>DETAILS:</p><ul><li>16\" approx. length from high point shoulder to hem, 40\" chest, 40\" waist, 9\" sleeve length from high point shoulder</li><li>Measured from Small</li><li>100% cotton</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A cropped tee featuring a bold \"Reckless\" graphic. Round neckline. Short sleeves. Knit. Lightweight.",
      "price":"10.80",
      "saleprice":"0.00",
      "factory_price":"3.00",
      "installments":"3",
      "quantity":"3",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":null,
      "video":"",
      "video_img":"",
      "images":"{\"36877d54375ac839355ed6552b4539b0\":{\"filename\":\"36877d54375ac839355ed6552b4539b0.jpg\",\"alt\":\"Top Reckless Cropped Tee MO8998\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"fb7791a26954bf36afd7dee2c3d6bd27\":{\"filename\":\"fb7791a26954bf36afd7dee2c3d6bd27.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"0f2549399a5d8d58f1f97f1f189562ca\":{\"filename\":\"0f2549399a5d8d58f1f97f1f189562ca.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"d995d6d576609ec90dcd7ac1dd10cff4\":{\"filename\":\"d995d6d576609ec90dcd7ac1dd10cff4.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"fc6a3517bdf9a87408ca0cc246cf4c0f\":{\"filename\":\"fc6a3517bdf9a87408ca0cc246cf4c0f.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590846",
            "name":"Top",
            "slug":"top",
            "product_id":"325"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"325"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"325"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"326",
      "enabled":"1",
      "name":"Vestido Opulent A-Line",
      "sku":"MO8999",
      "slug":"Vestido-Opulent-A-Line",
      "description":"<p>A backless A-line dress featuring a <strong>baroque pattern</strong>. Sleeveless. Round neckline. Knit. Unlined. Medium weight.</p><p>DETAILS:</p><ul><li>34\" approx. length from high point shoulder to hem, 32\" chest, 26\" waist</li><li>Measured from Small</li><li>58% polyester, 40% rayon, 2% spandex</li><li>Hand wash cold, dry flat</li><li>Imported</li></ul>",
      "excerpt":"A backless A-line dress featuring a baroque pattern. Sleeveless. Round neckline. Knit. Unlined. Medium weight.",
      "price":"24.80",
      "saleprice":"10.00",
      "factory_price":"5.00",
      "installments":"3",
      "quantity":"6",
      "fixed_quantity":"0",
      "track_stock":"1",
      "free_shipping":"0",
      "taxable":"0",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.3",
      "height":"5.00",
      "width":"20.00",
      "depth":"20.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":null,
      "seo_description":"",
      "seo_keywords":"",
      "meta":null,
      "related_products":"[323,324,319,322]",
      "video":"",
      "video_img":"",
      "images":"{\"3135efa877a18694f0c22a76da362d95\":{\"filename\":\"3135efa877a18694f0c22a76da362d95.jpg\",\"alt\":\"Vestido Opulent A-Line MO8999\",\"variant_id\":\"\",\"caption\":\"\",\"primary\":true},\"bffc088cd026a7138979869153722e08\":{\"filename\":\"bffc088cd026a7138979869153722e08.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"0718ce9f2728c797bfa5f3d4a87bfa72\":{\"filename\":\"0718ce9f2728c797bfa5f3d4a87bfa72.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"3faa1c3d9c86346c20e7f52f4bae53c3\":{\"filename\":\"3faa1c3d9c86346c20e7f52f4bae53c3.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"},\"f11580b1e25e432e66f7f55d089ded62\":{\"filename\":\"f11580b1e25e432e66f7f55d089ded62.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"caption\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590847",
            "name":"Vestidos",
            "slug":"vestidos",
            "product_id":"326"
         },
         {
            "id":"590848",
            "name":"Roupas",
            "slug":"roupas",
            "product_id":"326"
         },
         {
            "id":"590849",
            "name":"Home",
            "slug":"home",
            "product_id":"326"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"327",
      "enabled":"1",
      "name":"Camisa de Malha",
      "sku":"XT8995",
      "slug":"camisa-de-malha29",
      "description":"Camisa de malha fina, muito bacana",
      "excerpt":"Uma camisa de malha",
      "price":"19.90",
      "saleprice":"24.90",
      "factory_price":"30.00",
      "installments":"6",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"0",
      "free_shipping":"0",
      "taxable":"1",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana",
      "meta":"",
      "related_products":null,
      "video":"",
      "video_img":"",
      "images":"null",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590823",
            "name":"Flash Deals",
            "slug":"flash-deals",
            "product_id":"327"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"328",
      "enabled":"1",
      "name":"Camisa de Malha",
      "sku":"XT8995",
      "slug":"camisa-de-malha30",
      "description":"Camisa de malha fina, muito bacana",
      "excerpt":"Uma camisa de malha",
      "price":"19.90",
      "saleprice":"24.90",
      "factory_price":"30.00",
      "installments":"6",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"0",
      "free_shipping":"0",
      "taxable":"1",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana",
      "meta":"",
      "related_products":null,
      "video":"",
      "video_img":"",
      "images":"null",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590823",
            "name":"Flash Deals",
            "slug":"flash-deals",
            "product_id":"328"
         }
      ],
      "properties":[

      ],
      "variants":[

      ]
   },
   {
      "id":"329",
      "enabled":"1",
      "name":"Camisa de Malha",
      "sku":"XT8995",
      "slug":"camisa-de-malha",
      "description":"Camisa de malha fina, muito bacana mesmo!",
      "excerpt":"Uma camisa de malha",
      "price":"19.90",
      "saleprice":"24.90",
      "factory_price":"30.00",
      "installments":"6",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"0",
      "free_shipping":"0",
      "taxable":"1",
      "shippable":"1",
      "processing_days":"0",
      "weight":"",
      "height":"0.00",
      "width":"0.00",
      "depth":"0.00",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana",
      "meta":"",
      "related_products":"[\"328\"]",
      "video":"",
      "video_img":"",
      "images":"null",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590823",
            "name":"Flash Deals",
            "slug":"flash-deals",
            "product_id":"329"
         }
      ],
      "properties":[
         {
            "id":"590852",
            "name":"Algodão",
            "slug":"algodao",
            "product_id":"329"
         }
      ],
      "variants":[

      ]
   },
   {
      "id":"330",
      "enabled":"1",
      "name":"Camisa de Malha",
      "sku":"XT8995",
      "slug":"camisa-de-malha32",
      "description":"Camisa de malha fina, muito bacana",
      "excerpt":"Uma camisa de malha",
      "price":"19.90",
      "saleprice":"24.90",
      "factory_price":"30.00",
      "installments":"6",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"0",
      "free_shipping":"0",
      "taxable":"1",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.6",
      "height":"0.50",
      "width":"0.30",
      "depth":"0.20",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana",
      "meta":"",
      "related_products":"[\"328\"]",
      "video":"",
      "video_img":"",
      "images":"null",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590823",
            "name":"Flash Deals",
            "slug":"flash-deals",
            "product_id":"330"
         }
      ],
      "properties":[
         {
            "id":"590852",
            "name":"Algodão",
            "slug":"algodao",
            "product_id":"330"
         }
      ],
      "variants":[

      ]
   },
   {
      "id":"331",
      "enabled":"1",
      "name":"Camisa de Malha",
      "sku":"XT8995",
      "slug":"camisa-de-malha33",
      "description":"Camisa de malha fina, muito bacana",
      "excerpt":"Uma camisa de malha",
      "price":"19.90",
      "saleprice":"24.90",
      "factory_price":"30.00",
      "installments":"6",
      "quantity":"0",
      "fixed_quantity":"0",
      "track_stock":"0",
      "free_shipping":"0",
      "taxable":"1",
      "shippable":"1",
      "processing_days":"0",
      "weight":"0.6",
      "height":"0.50",
      "width":"0.30",
      "depth":"0.20",
      "ncm_code":"",
      "gtin_code":"",
      "lookable":"0",
      "variant_details":"0",
      "reduction_type":"",
      "reduction_amount":"0",
      "subscription_days":"0",
      "subscription_period":"",
      "subscription_trial":null,
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana",
      "meta":"",
      "related_products":"[\"328\"]",
      "video":"",
      "video_img":"",
      "images":"{\"4065be1dca5200def08b6f10758b9387\":{\"filename\":\"4065be1dca5200def08b6f10758b9387.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"options\":\"\",\"caption\":\"\",\"primary\":\"\"}}",
      "image_folders":{
         "full":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size":"1400x1400"
         },
         "medium":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size":"1000x1000"
         },
         "small":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size":"350x1000"
         },
         "thumbnails":{
            "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size":"192x192"
         }
      },
      "categories":[
         {
            "id":"590823",
            "name":"Flash Deals",
            "slug":"flash-deals",
            "product_id":"331"
         }
      ],
      "properties":[
         {
            "id":"590852",
            "name":"Algodão",
            "slug":"algodao",
            "product_id":"331"
         }
      ],
      "variants":[

      ]
   }
]

Query Params

per_page
string

Quantidade de categorias mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador do produto.

enabled

string

Verifica se produto está vísivel.

sku

string

Referência do produto.

name

string

Nome do produto.

excerpt

string

Resumo do produto.

installments

string

Número de parcelas para fins descritivos.

description

string

Descrição do produto.

slug

string

Slug para acessar a rota do produto.

price

string

Preço do produto.

saleprice

string

Preço promocional do produto.

factory_price

string

Custo de fábrica do produto.

track_stock

string

Verifica se o controle de estoque está habilitado.

quantity

string

Quantidade de produtos disponíveis em estoque.

gtin_code

string

Código GTIN/EAN para itens comerciais.

ncm_code

string

Nomenclatura Comum do Mercosul.

weight

string

Peso do produto.

width

string

Comprimento do produto, para envio.

depth

string

Profundidade do produto, para envio.

height

string

Altura do produto, para envio.

images

string

JSON contendo os nomes dos arquivos de imagem do produto.

categories

array

Contém as categorias no qual o produto faz parte.

properties

array

Contém as características no qual o produto faz parte.

variants

array

Contém as variações desse produto.

image_folders

object

Contém os caminhos de imagem de todos os tamanhos desse produto.

Suggest Edits

Criar um produto

 
posthttps://subdomain.xtechcommerce.com/api-v1/products
curl --request POST \
  --url 'http://{{xtech-url}}/api-v1/products' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}' \
  --data '{
  "product": {
    "name": "Camisa de Malha",
    "slug": "camisa-de-malha",
    "excerpt": "Uma camisa de malha",
    "description": "Camisa de malha fina, muito bacana",
    "sku": "XT8995",
    "price": 19.9,
    "saleprice": 24.9,
    "factory_price": 30,
    "categories": [
		590823
    ],
    "properties": [
    	590852
    ],
    "related_products": [
    	328
    ],
    "images": [
    	"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/45c8dd4b63276f5e2d0dd19e85121c0a.jpg"
    ],
    "special_options": [],
    "installments": "6",
    "gtin_code": "",
    "ncm_code": "",
    "shippable": 1,
    "fixed_quantity": 0,
    "track_stock": 0,
    "weight": "0.6",
    "height": "0.5",
    "width": "0.3",
    "depth": "0.2",
    "enabled": 1,
    "video": "",
    "meta": "",
    "seo_title": "",
    "seo_description": "Camisa de malha fina, muito bacana",
    "seo_keywords": "camisa,malha,fina,bacana"
  }
}'
{
   "product":{
      "name":"Camisa de Malha",
      "slug":"camisa-de-malha",
      "excerpt":"Uma camisa de malha",
      "description":"Camisa de malha fina, muito bacana",
      "sku":"XT8995",
      "price":19.9,
      "saleprice":24.9,
      "factory_price":30,
      "categories":[
         590823
      ],
      "properties":[
         590852
      ],
      "related_products":[
         328
      ],
      "images":[
         "https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/45c8dd4b63276f5e2d0dd19e85121c0a.jpg"
      ],
      "special_options":[

      ],
      "installments":"6",
      "gtin_code":"",
      "ncm_code":"",
      "shippable":1,
      "fixed_quantity":0,
      "track_stock":0,
      "weight":"0.6",
      "height":"0.5",
      "width":"0.3",
      "depth":"0.2",
      "enabled":1,
      "video":"",
      "meta":"",
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana"
   }
}
A binary file was returned

You couldn't be authenticated

{
    "id": "332",
    "enabled": "1",
    "sku": "XT8995",
    "name": "Camisa de Malha",
    "excerpt": "Uma camisa de malha",
    "installments": "6",
    "description": "Camisa de malha fina, muito bacana",
    "slug": "camisa-de-malha31",
    "price": "19.90",
    "saleprice": "24.90",
    "factory_price": "30.00",
    "track_stock": "0",
    "quantity": "0",
    "gtin_code": "",
    "ncm_code": "",
    "weight": "0.6",
    "width": "0.30",
    "depth": "0.20",
    "height": "0.50",
    "images": "{\"0c6e535f49fdf5b7c3b8c950705e60bf\":{\"filename\":\"0c6e535f49fdf5b7c3b8c950705e60bf.jpg\",\"alt\":\"\",\"variant_id\":\"\",\"options\":\"\",\"caption\":\"\",\"primary\":\"\"}}",
    "image_folders": {
        "full": {
            "path": "https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
            "size": "1400x1400"
        },
        "medium": {
            "path": "https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
            "size": "1000x1000"
        },
        "small": {
            "path": "https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
            "size": "350x1000"
        },
        "thumbnails": {
            "path": "https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
            "size": "192x192"
        }
    }
}

Query Params

per_page
string

Quantidade de categorias mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador do produto.

enabled

string

Verifica se produto está vísivel.

sku

string

Referência do produto.

name

string

Nome do produto.

excerpt

string

Resumo do produto.

installments

string

Número de parcelas para fins descritivos.

description

string

Descrição do produto.

slug

string

Slug para acessar a rota do produto.

price

string

Preço do produto.

saleprice

string

Preço promocional do produto.

factory_price

string

Custo de fábrica do produto.

track_stock

string

Verifica se o controle de estoque está habilitado.

quantity

string

Quantidade de produtos disponíveis em estoque.

gtin_code

string

Código GTIN/EAN para itens comerciais.

ncm_code

string

Nomenclatura Comum do Mercosul.

weight

string

Peso do produto.

width

string

Comprimento do produto, para envio.

depth

string

Profundidade do produto, para envio.

height

string

Altura do produto, para envio.

images

string

JSON contendo os nomes dos arquivos de imagem do produto.

categories

array

Contém as categorias no qual o produto faz parte.

properties

array

Contém as características no qual o produto faz parte.

variants

array

Contém as variações desse produto.

image_folders

object

Contém os caminhos de imagem de todos os tamanhos desse produto.

Suggest Edits

Ver um produto

 
gethttps://subdomain.xtechcommerce.com/api-v1/products?id=id
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/products?id=301' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
A binary file was returned

You couldn't be authenticated

{
   "id":"301",
   "enabled":"1",
   "name":"Top Must-Have Cami",
   "sku":"MO8991",
   "slug":"Top-Must-Have-Cami",
   "description":"<p>A cami featuring spaghetti straps. Round neckline. Knit. Lightweight.</p><p>DETAILS:</p><ul><li>20\" approx. length from high point shoulder to hem, 30\" chest, 28\" waist</li><li>Measured from Small</li><li>95% cotton, 5% spandex</li><li>Machine wash cold, dry flat</li><li>Imported</li></ul>",
   "excerpt":"A cami featuring spaghetti straps. Round neckline. Knit. Lightweight.",
   "price":"94.90",
   "saleprice":"0.00",
   "factory_price":"0.00",
   "installments":"3",
   "quantity":"996",
   "fixed_quantity":"0",
   "track_stock":"1",
   "free_shipping":"0",
   "taxable":"0",
   "shippable":"1",
   "processing_days":"0",
   "weight":"",
   "height":"5.00",
   "width":"20.00",
   "depth":"20.00",
   "ncm_code":"",
   "gtin_code":"",
   "lookable":"0",
   "variant_details":"0",
   "reduction_type":"0",
   "reduction_amount":"0",
   "subscription_days":"0",
   "subscription_period":"0",
   "subscription_trial":"0",
   "seo_title":"",
   "seo_description":"",
   "seo_keywords":"",
   "meta":"",
   "related_products":"",
   "video":"",
   "video_img":"",
   "images":"{\"06d7ec94f4239e7b896729fe66c036ea\":{\"filename\":\"06d7ec94f4239e7b896729fe66c036ea.jpg\",\"alt\":\"Top Must-Have Cami MO8991\",\"caption\":\"\",\"primary\":true},\"ae9ddd31a2e99508a2e52b1608b50342\":{\"filename\":\"ae9ddd31a2e99508a2e52b1608b50342.jpg\",\"alt\":\"\",\"caption\":\"\"},\"73b47ea17d60b0eb3e56d6f72d5f8328\":{\"filename\":\"73b47ea17d60b0eb3e56d6f72d5f8328.jpg\",\"alt\":\"\",\"caption\":\"\"},\"a57a5684e40b56d7580647259d3506dc\":{\"filename\":\"a57a5684e40b56d7580647259d3506dc.jpg\",\"alt\":\"\",\"caption\":\"\"}}",
   "image_folders":{
      "full":{
         "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/full/",
         "size":"1400x1400"
      },
      "medium":{
         "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/medium/",
         "size":"1000x1000"
      },
      "small":{
         "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/small/",
         "size":"350x1000"
      },
      "thumbnails":{
         "path":"https://xtechfiles-dev.s3.amazonaws.com/uploads/images/thumbnails/",
         "size":"192x192"
      }
   },
   "categories":[
      {
         "id":"590832",
         "name":"Top",
         "slug":"top"
      },
      {
         "id":"590834",
         "name":"Camisas",
         "slug":"roupas"
      },
      {
         "id":"590835",
         "name":"Home",
         "slug":"home"
      }
   ],
   "properties":[

   ],
   "variants":[

   ]
}

Path Params

id
string
required

Identificador do produto

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador do produto.

enabled

string

Verifica se produto está vísivel.

sku

string

Referência do produto.

name

string

Nome do produto.

excerpt

string

Resumo do produto.

installments

string

Número de parcelas para fins descritivos.

description

string

Descrição do produto.

slug

string

Slug para acessar a rota do produto.

price

string

Preço do produto.

saleprice

string

Preço promocional do produto.

shippable

string

Verifica se o produto é entregável.

fixed_quantity

string

Proibe o cliente de adicionar mais de uma unidade deste produto no carrinho.

factory_price

string

Custo de fábrica do produto.

track_stock

string

Verifica se o controle de estoque está habilitado.

quantity

string

Quantidade de produtos disponíveis em estoque.

gtin_code

string

Código GTIN/EAN para itens comerciais.

related_products

array

Contém os produtos relacionados.

ncm_code

string

Nomenclatura Comum do Mercosul.

weight

string

Peso do produto.

width

string

Comprimento do produto, para envio.

depth

string

Profundidade do produto, para envio.

height

string

Altura do produto, para envio.

images

string

JSON contendo os nomes dos arquivos de imagem do produto.

seo_title

string

Título do produto otimizado para SEO.

seo_description

string

Descrição do produto otimizado para SEO.

seo_keywords

string

Palavras-chaves do produto otimizado para SEO.

meta

string

Metatags para SEO.

video

string

Link para vídeo do produto.

video_img

string

Imagem do vídeo do produto.

categories

array

Contém as categorias no qual o produto faz parte.

properties

array

Contém as características no qual o produto faz parte.

variants

array

Contém as variações desse produto.

image_folders

object

Contém os caminhos de imagem de todos os tamanhos desse produto.

Suggest Edits

Atualizar um produto

 
puthttps://subdomain.xtechcommerce.com/api-v1/products?id=:id
curl --request PUT \
  --url 'http://{{xtech-url}}/api-v1/products?id=329' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}' \
  --data '{
  "product": {
    "name": "Camisa de Malha",
    "sku": "XT8995",
    "description": "Camisa de malha fina, muito bacana mesmo!",
    "price": 19.9,
    "saleprice": 24.9,
    "categories": [
      590823
    ],
    "properties": [
      590852
    ],
    "related_products": [
      328
    ],
    "slug": "camisa-de-malha",
    "excerpt": "Uma camisa de malha",
    "factory_price": 30,
    "installments": "6",
    "shippable": 1,
    "fixed_quantity": 0,
    "gtin_code": "",
    "ncm_code": "",
    "track_stock": 0,
    "enabled": 1,
    "video": "",
    "weight": "",
    "height": "",
    "width": "",
    "depth": "",
    "meta": "",
    "seo_title": "",
    "seo_description": "Camisa de malha fina, muito bacana",
    "seo_keywords": "camisa,malha,fina,bacana"
  }
}'
{
   "product":{
      "name":"Camisa de Malha",
      "sku":"XT8995",
      "description":"Camisa de malha fina, muito bacana mesmo!",
      "price":19.9,
      "saleprice":24.9,
      "categories":[
         590823
      ],
      "properties":[
         590852
      ],
      "related_products":[
         328
      ],
      "slug":"camisa-de-malha",
      "excerpt":"Uma camisa de malha",
      "factory_price":30,
      "installments":"6",
      "shippable":1,
      "fixed_quantity":0,
      "gtin_code":"",
      "ncm_code":"",
      "track_stock":0,
      "enabled":1,
      "video":"",
      "weight":"",
      "height":"",
      "width":"",
      "depth":"",
      "meta":"",
      "seo_title":"",
      "seo_description":"Camisa de malha fina, muito bacana",
      "seo_keywords":"camisa,malha,fina,bacana"
   }
}
A binary file was returned

You couldn't be authenticated

{
   "name":"Camisa de Malha",
   "sku":"XT8995",
   "description":"Camisa de malha fina, muito bacana mesmo!",
   "price":"19.9",
   "saleprice":"24.9",
   "related_products":"[\"328\"]",
   "slug":"camisa-de-malha",
   "excerpt":"Uma camisa de malha",
   "factory_price":"30",
   "installments":"6",
   "shippable":"1",
   "fixed_quantity":"0",
   "track_stock":"0",
   "enabled":"1",
   "seo_description":"Camisa de malha fina, muito bacana",
   "seo_keywords":"camisa,malha,fina,bacana",
   "id":"329"
}

Path Params

ID
int32
required

Identificador do produto

Query Params

per_page
string

Quantidade de categorias mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador do produto.

enabled

string

Verifica se produto está vísivel.

sku

string

Referência do produto.

name

string

Nome do produto.

excerpt

string

Resumo do produto.

installments

string

Número de parcelas para fins descritivos.

description

string

Descrição do produto.

slug

string

Slug para acessar a rota do produto.

price

string

Preço do produto.

saleprice

string

Preço promocional do produto.

factory_price

string

Custo de fábrica do produto.

track_stock

string

Verifica se o controle de estoque está habilitado.

quantity

string

Quantidade de produtos disponíveis em estoque.

gtin_code

string

Código GTIN/EAN para itens comerciais.

ncm_code

string

Nomenclatura Comum do Mercosul.

weight

string

Peso do produto.

width

string

Comprimento do produto, para envio.

depth

string

Profundidade do produto, para envio.

height

string

Altura do produto, para envio.

images

string

JSON contendo os nomes dos arquivos de imagem do produto.

categories

array

Contém as categorias no qual o produto faz parte.

properties

array

Contém as características no qual o produto faz parte.

variants

array

Contém as variações desse produto.

image_folders

object

Contém os caminhos de imagem de todos os tamanhos desse produto.

Suggest Edits

Listar todas as características

 
gethttps://subdomain.xtechcommerce.com/api-v1/properties
curl --request GET \
  --url 'http://{{xtech-url}}/api-v1/properties' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}'
A binary file was returned

You couldn't be authenticated

[
   {
      "id":"590851",
      "parent_id":"0",
      "name":"Material",
      "slug":"material",
      "description":"Tipo de material utilizado na fabricação.",
      "excerpt":"",
      "sequence":"0",
      "image":"",
      "on_category_ids":""
   },
   {
      "id":"590852",
      "parent_id":"590851",
      "name":"Algodão",
      "slug":"algodao",
      "description":"Algodão maneiro.",
      "excerpt":"",
      "sequence":"0",
      "image":"",
      "on_category_ids":""
   }
]
[]

Query Params

per_page
string

Quantidade de categorias mostrado por requisição. Max. 50.

page
string

Página que será exibida.

 

Campos de Resposta

Campo
Tipo
Descrição

id

string

Identificador da característica.

parent_id

string

ID da característica pai - Quando não possuir esse valor é retornado como 0.

name

string

Nome da característica.

slug

string

Slug da característica.

description

string

Descrição da característica.

excerpt

string

Resumo da característica.

sequence

string

Ordenação do sistema.

image

string

Link da imagem da característica.

on_category_ids

array

Contém todas as categorias em que a característica é visível.

Suggest Edits

Criar uma característica

 
posthttps://subdomain.xtechcommerce.com/api-v1/properties
curl --request POST \
  --url 'http://{{xtech-url}}/api-v1/properties' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {{api-key}}' \
  --header 'X-APP-KEY: {{app-key}}' \
  --data '{
    "property": {
        "parent_id": 0,
        "name": "Materiais",
        "slug": "materiais",
        "description": "Tipo de material utilizado na fabricação.",
        "excerpt": "",
        "sequence": 0,
        "image": "",
        "on_category_ids": ""
    }
}'