Consultar Categorias
Nesta seção indicaremos como realizar a consulta na lista de categorias da Americanas.
GET - Consulta lista de categorias
https://api.skyhub.com.br/categoriesRequest headers:
Key
Value
Estrutura de resposta:
{
"total": 0,
"limit": 0,
"offset": "0",
"sort": "string",
"values": [
{
"id": "string",
"tenant": "string",
"operator": "string",
"createDate": "1970-01-01T00:00:00.000000",
"lastUpdate": "1970-01-01T00:00:00.000000",
"channel": "string",
"eanRequired": "boolean",
"account": null,
"lastEvent": null,
"categoryData": {
"tag": "string",
"id": "string",
"name": "string",
"id1": "string",
"name1": "string"
},
"attributes": [
{
"marketplace": "string",
"name": "string",
"nameId": "string",
"value": "string",
"valueId": "string",
"group": "string",
"grupId": "string",
"type": "string",
"typeId": "string",
"descriptionValue": "string",
"toSKU": "boolean",
"variant": "boolean",
"binary": "boolean",
"active": "boolean",
"required": "boolean"
}
]
}
]
}
Example request:
Response esperado:
Filtros de consulta
Consultar categoria individualmente
Request headers:
key
value
Estrutura de resposta:
Como consultar pelo nome
Example request:
Response esperado:
Utilizando o limit e o offset
Last updated