Skip to main content
GET
/
inventory
/
transactions
/
consumption
Consumption report (paginated)
curl --request GET \
  --url https://{companyName}.api.joinluminous.com/external/api/v1/inventory/transactions/consumption \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {}
  ],
  "meta": {
    "current_page": 123,
    "from": 123,
    "last_page": 123,
    "per_page": 123,
    "to": 123,
    "total": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.joinluminous.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Query Parameters

group
enum<string>
default:day_product

Aggregation level for the data items.

Available options:
day_product,
product,
day_product_warehouse,
transaction
per_page
integer
default:10

Number of items per page (max 1000)

Required range: x <= 1000
page
integer
default:1

Page number for pagination

Required range: x >= 1

Response

Consumption data with pagination metadata

data
object[]
meta
object