v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Retrieve the consumption details of products for a center

This API retrieves the consumption details of all products for the specified center.

You must specify appropriate details for the center_id, start_date, and end_date parameters. Optionally, you can provide the necessary details for the report_type and product_code parameters.

get/v1/inventory/stock_movement

Query parameters

center_idstring required

Mandatory Unique 32-character identifier of the center.

start_datestring date required

Mandatory Start date from which the consumption details of all products are to be retrieved.

end_datestring date required

Mandatory End date until which the consumption details of all products are to be retrieved.

report_type'1' | '2' | '3'

Optional Indicates the report for the specific type of products: 1 - All, 2 - retail, and 3 - Consumable. Default value: 1.

product_codestring

Optional Product code for which the report has to be fetched. Default value: null.

Response

200