API Reference

Dando um GET nesta rota, consegue puxar as vendas do pdv com produtos e serviços, segue exemplo do GET e do retorno.

GET https://sandbox.sistematize.me:8443/api/v1/relatorio/venda/empresa/ID_EMPRESA/produto-servico?data-inicio=2024-09-01&data-fim=2024-09-29%27.

{
    "empresa": {
        "id": "b51ae983-184f-4d31-9f28-92db414557f9",
        "razao_social": "Pedro PCS",
        "nome_fantasia": "PEDRO PCS LTDA"
    },
    "itens": [
        {
            "id": "137f7a19-a8c2-4d07-94c4-e088a6a262e1",
            "sku": "OFERTA",
            "nome": "OFERTA",
            "tipo": "SERVICO",
            "categoria": {
                "id": "0069e64c-b4aa-4b9f-9686-2fde4dfd2d65",
                "nome": "ARRECADAÇÃO",
                "destaque": false,
                "prioridade": 0
            },
            "qtd_sku": 5,
            "qtd_vendido": 7,
            "total_vendas": 16000.00
        },
        {
            "id": "f91c133c-dc2a-42a9-8867-91f949cfdb05",
            "sku": "BALTHV3",
            "nome": "BARBA LENHADOR TESTE HV3 / ROD-MARIA",
            "tipo": "SERVICO",
            "categoria": {
                "id": "1ecea5c0-a1a1-49c5-ae9c-64cc510f6869",
                "nome": "Temperos",
                "destaque": false,
                "prioridade": 0
            },
            "qtd_sku": 4,
            "qtd_vendido": 4,
            "total_vendas": 4500.00
        },
        {
            "id": "d5debdee-5c57-45d8-b4c0-926b45dcc2a7",
            "sku": "F&F\t",
            "nome": "Friends & Family - Mensal\t",
            "tipo": "SERVICO",
            "categoria": {
                "id": "80662c9e-f498-4d30-97ae-207237da0385",
                "nome": "Plano Friends & Family",
                "destaque": false,
                "prioridade": 0
            },
            "qtd_sku": 1,
            "qtd_vendido": 1,
            "total_vendas": 1920.00
        },
        {
            "id": "1e7fe483-0497-4f4a-ab70-805857fb0e54",
            "sku": "F&F\t",
            "nome": "Friends & Family - Semestral\t",
            "tipo": "SERVICO",
            "categoria": {
                "id": "80662c9e-f498-4d30-97ae-207237da0385",
                "nome": "Plano Friends & Family",
                "destaque": false,
                "prioridade": 0
            },
            "qtd_sku": 1,
            "qtd_vendido": 1,
            "total_vendas": 1680.00
        },
        {
            "id": "779b69cb-a77f-43ed-a677-44b18435067b",
            "sku": "F&F\t",
            "nome": "Friends & Family - Mensal\t",
            "tipo": "SERVICO",
            "categoria": {
                "id": "80662c9e-f498-4d30-97ae-207237da0385",
                "nome": "Plano Friends & Family",
                "destaque": false,
                "prioridade": 0
            },
            "qtd_sku": 1,
            "qtd_vendido": 1,
            "total_vendas": 1680.00
        }
    ],
    "total_itens_vendido": 14,
    "valor_total_itens_vendido": 25780.00
}
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!