Skip to content

Latest commit

 

History

History
52 lines (46 loc) · 818 Bytes

File metadata and controls

52 lines (46 loc) · 818 Bytes

Busca vendas

Dados

{
  "total": 0,
  "pages": 0,
  "currentPage": 0,
  "items": [
    {
      "productId": "string",
      "productName": "string",
      "productImage": "string",
      "quantity": 0,
      "unitPrice": 0
    }
  ],
  "paymentMethod": "pix",
  "paymentDetails": {
    "customerKey": "string"
  },
  "deliveryAddress": {
    "cep": "string",
    "address": "string",
    "number": "string",
    "state": "string",
    "city": "string"
  },
  "totalAmount": 0,
  "date": "2024-06-09T13:03:05.176Z"
}

Filtros

{
  "productId": "string",
  "customerId": "string",
  "categoryId": "string",
  "subCategoryId": "string",
  "startDate": "string",
  "endDate": "string",
  "limit": 10,
  "page": 1
}

Requisitos

  • ❎ Um administrador deve conseguir listar suas vendas