/Purchases/{StoreCode}

Exemplo de requisição para consultar operações de compra:

Request:
GET /pos/v1/purchases/Matriz?Locator=3165408069&_page=1&_pageSize=1
        
Response:
{
    "_pageSize": 1,
    "_page": 1,
    "_total": 1,
    "items": [
    {
        "locator": "3165408069",
        "storeCode": "Matriz",
        "deviceCode": "987654321",
        "purchaseDate": "2017-06-16T00:00:00Z",
        "memberIdentification": "75266902710",
        "employeeIdentification": "84772314946",
        "items": [
        {
            "sku": "654321",
            "ean": "123456",
            "quantity": 2,
            "unitPrice": 10.6,
            "itemPrice": 21.2,
            "supplierIdentification": "61506481000104",
            "name": "Produto Teste Paulistão",
            "discount": 5.63,
            "offerCode": "wqDm2l3mLO0NxYK",
            "points": 250
        }
        ],
        "transactionId": "59bc0156ecc4b50017035781",
        "description": null,
        "points": 500,
        "bonusPoints": 250,
        "totalPoints": 750,
        "purchaseValue": 50.55,
        "status": 1,
        "payments": [
        {
            "paymentType": 1,
            "bin": "",
            "amount": 8
        },
        {
            "paymentType": 2,
            "bin": "",
            "amount": 8
        }
        ]
      }
    ]
}

Informe a sigla da loja (StoreCode) para buscar todas as compras realizadas naquela loja especificamente.

Language
Click Try It! to start a request and see the response here!