Receipt items

Receipt_items_list

GET
/api/v1/receipt-items

Query Parameters

created__gte?string
Formatdate-time
created__lte?string
Formatdate-time
order_by?string

Which field to use when ordering the results.

page?integer

A page number within the paginated result set.

proof__owner?string
proof_id?integer

The proof this receipt item belongs to

size?integer

Number of results to return per page.

status?unknown

The current status of the item

  • 0 - deleted
  • 1 - linked_to_price
Value in0 | 1
status__isnull?boolean

Response Body

curl -X GET "https://loading/api/v1/receipt-items?created__gte=2019-08-24T14%3A15%3A22Z&created__lte=2019-08-24T14%3A15%3A22Z&order_by=string&page=0&proof__owner=string&proof_id=0&size=0&status=0&status__isnull=true"
{
  "items": [
    [
      {
        "id": 0,
        "proof_id": 0,
        "price_id": 0,
        "order": -2147483648,
        "predicted_data": null,
        "status": 0,
        "created": "2019-08-24T14:15:22Z",
        "updated": "2019-08-24T14:15:22Z",
        "proof_prediction": 0
      }
    ]
  ],
  "page": 1,
  "pages": 16,
  "size": 100,
  "total": 1531
}