Páginas filhas
  • DR VA - API Ecommerce - Specification - Especificação de Produto


CONTEÚDO

  1. Visão Geral
  2. Exemplo de utilização


01. VISÃO GERAL

Criação da API para disponibilizar informações de cadastro de especificação de produto para a Vtex referente a requisição ECommerceProductSpecification: Espeficicação de produtos para compor catálogo de produtos na Plataforma de E-Commerce VTEX.

Parâmetro para configuração da classificação de produto que fará parte da lista de marca DS_LST_ECOMMERCE_VA_MARCA.


LAYOUT JSON

https://github.com/totvs/ttalk-standard-message/blob/master/jsonschema/schemas/ECommerceProductSpecification_1_000.json

DOCUMENTAÇÃO API

https://github.com/totvs/ttalk-standard-message/blob/master/jsonschema/apis/ECommerceProductSpecification_v1_000.json

REFERENTE API

https://api.totvs.com.br/apidetails/ECommerceProductSpecification_v1_000.json


02. EXEMPLO DE UTILIZAÇÃO


Exemplo requisição
https://www30.bhan.com.br:12443/api/ecommerce/v1/productspecifications?companyId=1&branchId=1
Exemplo de resposta
{
    "hasNext": false,
    "items": [
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42429-1",
            "createDate": "2017-03-14T14:06:25",
            "lastChange": "2017-03-14T14:06:25",
            "productSKUId": "14",
            "name": null,
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "3970-3",
            "createDate": "2017-04-20T10:59:59",
            "lastChange": "2017-04-20T10:59:59",
            "productSKUId": "100",
            "name": "teste",
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "3970-1",
            "createDate": "2017-04-20T10:59:58",
            "lastChange": "2017-04-20T10:59:58",
            "productSKUId": "100",
            "name": "teste titulo",
            "listOfAvailableValues": null
        },
        {
            "companyId": "1",
            "branchId": "1",
            "productSpecificationId": "42425-1",
            "createDate": "2017-05-02T15:06:16",
            "lastChange": "2017-05-02T15:06:16",
            "productSKUId": "1",
            "name": null,
            "listOfAvailableValues": null
        }
    ]
}