Artigos e Tutoriais da API

GET subdominio.stokki.com.br/api/stokki/oms/product/show
Obter detalhes do produto

Corpo da Requisição 

É obrigatório a especificação do token e do sku no corpo da requisição.

Exemplo do body

{
    "token": "1234567891011121314151",
    "sku": "sku00"
}

Retorno

Em caso de sucesso, será retornado todos os detalhes de um produto.

Caso contrário, um erro será retornado.

O formato da resposta é do tipo JSON.

Exemplo de retorno

 {

        "name": "Produto Lote",

        "sku": "sku00",

        "description": null,

        "category": null,

        "classification": null,

        "ncm": "5464.56.54",

        "gtin": "B002",

        "dun_1": null,

        "dun_type_1": null,

        "dun_quantity_1": null,

        "dun_2": null,

        "dun_type_2": null,

        "dun_quantity_2": null,

        "dun_3": null,

        "dun_type_3": null,

        "dun_quantity_3": null,

        "gtin_1": null,

        "gtin_2": null,

        "gtin_3": null,

        "gtin_4": null,

        "gtin_5": null, "gtin_6": null, "gtin_7": null, "gtin_8": null,

        "gitn_9": null,

        "gtin_10": null,

        "price_stock": null,

        "price_sale": 0,

        "unit": "UN",

        "net_weigth": 0,

        "gross_weigth": 0,

        "height": null,

        "width": null,

        "length": null,

        "quantity_volume": null,

        "quantity_pallet": null,

        "stock_level": null,

        "resupply_time": null,

        "dangerous": 0,

        "serial_number": 0,

        "lot": 1,

        "virtual": 0,

        "parent": 0,

        "compositions": []

}

Caso contrário, um erro será retornado.

O formato da resposta é do tipo JSON.

Exemplo de retorno

{
    "status": 400,
    "message": "SKU nao cadastrado"
}