Skip to content

Report production ​

INFO

Every response arrives in the shared envelope — code, message, messages, status_code, time — with the payload in data. The tables below describe what is inside data.

POST /reports/production/by-product ​

Manufacturing output aggregated by product.

Request body

FieldTypeRequiredDescription
pagenumberYesDefault: 1
limitnumberYesDefault: 20
date_fromstring (date-time)NoStart of the reporting window.
date_tostring (date-time)NoEnd of the reporting window.
organization_idsstring[]No
warehouse_idsstring[]No
currency_idstringNo
responsible_idsstring[]No
customer_idsstring[]No
supplier_idsstring[]No
product_idsstring[]No
category_idsstring[]No
payment_method_idsstring[]No
sort_bystringNoField name to sort by.
sort_orderstringNoOne of: asc, desc. Default: "desc"
searchstringNo
json
{
  "page": 1,
  "limit": 20,
  "date_from": "2025-05-01T12:00:00Z",
  "date_to": "2025-05-01T12:00:00Z",
  "organization_ids": [
    "64b7f4d9e2b3b6a0b7c5d80a"
  ],
  "warehouse_ids": [
    "string"
  ],
  "currency_id": "string",
  "responsible_ids": [
    "string"
  ],
  "customer_ids": [
    "string"
  ],
  "supplier_ids": [
    "string"
  ],
  "product_ids": [
    "string"
  ],
  "category_ids": [
    "string"
  ],
  "payment_method_ids": [
    "string"
  ],
  "sort_by": "string",
  "sort_order": "asc",
  "search": "string"
}

Response

FieldTypeDescription
listobject[]
totalnumber
json
{
  "code": 0,
  "message": "Success",
  "status_code": 200,
  "data": {
    "list": [
      {}
    ],
    "total": 0
  },
  "time": "2025-05-01T12:00:00Z"
}

POST /reports/production/by-responsible ​

Manufacturing output aggregated by responsible user.

Request body

FieldTypeRequiredDescription
pagenumberYesDefault: 1
limitnumberYesDefault: 20
date_fromstring (date-time)NoStart of the reporting window.
date_tostring (date-time)NoEnd of the reporting window.
organization_idsstring[]No
warehouse_idsstring[]No
currency_idstringNo
responsible_idsstring[]No
customer_idsstring[]No
supplier_idsstring[]No
product_idsstring[]No
category_idsstring[]No
payment_method_idsstring[]No
sort_bystringNoField name to sort by.
sort_orderstringNoOne of: asc, desc. Default: "desc"
searchstringNo
json
{
  "page": 1,
  "limit": 20,
  "date_from": "2025-05-01T12:00:00Z",
  "date_to": "2025-05-01T12:00:00Z",
  "organization_ids": [
    "64b7f4d9e2b3b6a0b7c5d80a"
  ],
  "warehouse_ids": [
    "string"
  ],
  "currency_id": "string",
  "responsible_ids": [
    "string"
  ],
  "customer_ids": [
    "string"
  ],
  "supplier_ids": [
    "string"
  ],
  "product_ids": [
    "string"
  ],
  "category_ids": [
    "string"
  ],
  "payment_method_ids": [
    "string"
  ],
  "sort_by": "string",
  "sort_order": "asc",
  "search": "string"
}

Response

Same response shape as POST /reports/production/by-product.

POST /reports/production/by-responsible-and-product ​

Manufacturing output aggregated by (responsible, product) pair.

Request body

FieldTypeRequiredDescription
pagenumberYesDefault: 1
limitnumberYesDefault: 20
date_fromstring (date-time)NoStart of the reporting window.
date_tostring (date-time)NoEnd of the reporting window.
organization_idsstring[]No
warehouse_idsstring[]No
currency_idstringNo
responsible_idsstring[]No
customer_idsstring[]No
supplier_idsstring[]No
product_idsstring[]No
category_idsstring[]No
payment_method_idsstring[]No
sort_bystringNoField name to sort by.
sort_orderstringNoOne of: asc, desc. Default: "desc"
searchstringNo
json
{
  "page": 1,
  "limit": 20,
  "date_from": "2025-05-01T12:00:00Z",
  "date_to": "2025-05-01T12:00:00Z",
  "organization_ids": [
    "64b7f4d9e2b3b6a0b7c5d80a"
  ],
  "warehouse_ids": [
    "string"
  ],
  "currency_id": "string",
  "responsible_ids": [
    "string"
  ],
  "customer_ids": [
    "string"
  ],
  "supplier_ids": [
    "string"
  ],
  "product_ids": [
    "string"
  ],
  "category_ids": [
    "string"
  ],
  "payment_method_ids": [
    "string"
  ],
  "sort_by": "string",
  "sort_order": "asc",
  "search": "string"
}

Response

Same response shape as POST /reports/production/by-product.

POST /reports/production/recommended-to-be-used ​

Recommended raw-materials to use for upcoming production based on stock + open orders.

Request body

FieldTypeRequiredDescription
pagenumberYesDefault: 1
limitnumberYesDefault: 20
date_fromstring (date-time)NoStart of the reporting window.
date_tostring (date-time)NoEnd of the reporting window.
organization_idsstring[]No
warehouse_idsstring[]No
currency_idstringNo
responsible_idsstring[]No
customer_idsstring[]No
supplier_idsstring[]No
product_idsstring[]No
category_idsstring[]No
payment_method_idsstring[]No
sort_bystringNoField name to sort by.
sort_orderstringNoOne of: asc, desc. Default: "desc"
searchstringNo
json
{
  "page": 1,
  "limit": 20,
  "date_from": "2025-05-01T12:00:00Z",
  "date_to": "2025-05-01T12:00:00Z",
  "organization_ids": [
    "64b7f4d9e2b3b6a0b7c5d80a"
  ],
  "warehouse_ids": [
    "string"
  ],
  "currency_id": "string",
  "responsible_ids": [
    "string"
  ],
  "customer_ids": [
    "string"
  ],
  "supplier_ids": [
    "string"
  ],
  "product_ids": [
    "string"
  ],
  "category_ids": [
    "string"
  ],
  "payment_method_ids": [
    "string"
  ],
  "sort_by": "string",
  "sort_order": "asc",
  "search": "string"
}

Response

Same response shape as POST /reports/production/by-product.


This page is generated from the OpenAPI spec.

Bito 2.0 Integration API