A integração consiste em enviar todas as categorias que serão utilizados no ECommerce.totvs-custom-tabs-box-items |
---|
Totvs custom tabs box items |
---|
default | yes |
---|
referencia | passo1 |
---|
| Os dados integrados são: colocar tabela | default | no |
---|
referencia | passo2 |
---|
| Exemplo do envio da requisição: Bloco de código |
---|
| method: 'GET',
url: '/api/purchases/v1/productCategoriesproductBrands/' |
Bloco de código |
---|
| order : lastChangebranchId : 1 - Informar a filial *(requerido)
companyId : 1 - ordenação *(requerido)
lastChange : 1900-01-01T00:00:00 - data da última alteração
page : 1 - número de página
pageSize : 10 - quantidade por página
sectionId : 1 - código da seção |
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | passo3 |
---|
| Exemplo JSON da resposta: Bloco de código |
---|
| language | js |
---|
title | Body Response |
---|
| {
{ "first": false,
false, "items": [
{
"description": "string",
"dtcreate": "2020-11-16T14:53:16",
"id": 0,
"keywords": "",
"lastChange": "1900-01-01T00 { "active": false, "avaiable": false, "kit": false, "brandId": 0, "categoryId": 0, "createDate": "2008-08-02T00:00:00",
"name "departmentId": "string",
"section": {
"id": 0,
"description": "string",
"title": "string",
"keywords": "",
"adWordsRemarketingCode": "",
"lastChange": "2020-10-27T09:22:29",
"department": {
"id": 0,
"name": "string",
"fatherCategoryId": 0,
"title": "string",
"description": "string",
"keywords": "",
"adWordsRemarketingCode": null,
"lomadeeCampaignCode": null,
"lastChange": "2020-10-27T08:53:07",
"updateStockGeneral": boolean,
"typeMerchandise": "string",
"dtcreate": "2020-07-16T00:00:00",
"active": boolean
},
"dtcreate": "2020-07-16T00:00:00"
},
"sectionId": 0,
"subcategories": [],
"title": ""
}
],
"hasNext": true
}
0, "description2": "string", "description3": "string", "description4": "string", "description6": "string", "height": 0, "id": 0, "isActive": false, "isAvaiable": false, "isKit": false, "lastChange": "2021-05-12T00:00:00", "length": 0, "listOfEAN": [ 1 ], "name": "string", "nameProduct": "string", "price": 0.00, "productRootId": 0, "productSKUId": "0-00000, "realHeight": 0, "realLength": 0, "realWeightKg": 0, "realWidth": 0, "sectionId": 0, "merchandiseType": "string", "unitMultiplier": 0, "volume": 0, "weightKg": 0, "width": 0 } ], "hasNext": true }
|