katana_public_api_client.api.storage_bin.get_bin_inventory¶
katana_public_api_client.api.storage_bin.get_bin_inventory
¶
Classes¶
Functions¶
asyncio(*, client, granularity=UNSET, location_id=UNSET, variant_id=UNSET, bin_location_id=UNSET, batch_id=UNSET, serial_number_id=UNSET, limit=UNSET, page=UNSET)
async
¶
List bin inventory levels
Returns per-bin inventory levels at the chosen granularity. granularity=VARIANT (default) returns
one row per (location, variant, bin); BATCH and SERIAL_NUMBER break rows down further by the
matching traceability axis. Each row carries three decimal-string quantities: quantity_in_stock,
quantity_committed, and quantity_expected.
A null bin_location_id, batch_id, or serial_number_id denotes stock whose traceability on that
axis has not been set (unassigned bin, unbatched stock, untraced serial). Pass ?<param>=null to
target those rows. Bin inventory levels are computed asynchronously and are eventually consistent.
Parameters:
-
granularity(BinInventoryGranularity | Unset, default:UNSET) –Row granularity for a bin inventory query.
VARIANTreturns one row per (location, variant, bin);BATCHandSERIAL_NUMBERbreak rows down further by the matching traceability axis. -
location_id(int | Unset, default:UNSET) – -
variant_id(int | Unset, default:UNSET) – -
bin_location_id(str | Unset, default:UNSET) – -
batch_id(str | Unset, default:UNSET) – -
serial_number_id(str | Unset, default:UNSET) – -
limit(int | Unset, default:UNSET) –Default: 50.
-
page(int | Unset, default:UNSET) –Default: 1.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
BinInventoryListResponse | DetailedErrorResponse | ErrorResponse | None–BinInventoryListResponse | DetailedErrorResponse | ErrorResponse
Source code in katana_public_api_client/api/storage_bin/get_bin_inventory.py
asyncio_detailed(*, client, granularity=UNSET, location_id=UNSET, variant_id=UNSET, bin_location_id=UNSET, batch_id=UNSET, serial_number_id=UNSET, limit=UNSET, page=UNSET)
async
¶
List bin inventory levels
Returns per-bin inventory levels at the chosen granularity. granularity=VARIANT (default) returns
one row per (location, variant, bin); BATCH and SERIAL_NUMBER break rows down further by the
matching traceability axis. Each row carries three decimal-string quantities: quantity_in_stock,
quantity_committed, and quantity_expected.
A null bin_location_id, batch_id, or serial_number_id denotes stock whose traceability on that
axis has not been set (unassigned bin, unbatched stock, untraced serial). Pass ?<param>=null to
target those rows. Bin inventory levels are computed asynchronously and are eventually consistent.
Parameters:
-
granularity(BinInventoryGranularity | Unset, default:UNSET) –Row granularity for a bin inventory query.
VARIANTreturns one row per (location, variant, bin);BATCHandSERIAL_NUMBERbreak rows down further by the matching traceability axis. -
location_id(int | Unset, default:UNSET) – -
variant_id(int | Unset, default:UNSET) – -
bin_location_id(str | Unset, default:UNSET) – -
batch_id(str | Unset, default:UNSET) – -
serial_number_id(str | Unset, default:UNSET) – -
limit(int | Unset, default:UNSET) –Default: 50.
-
page(int | Unset, default:UNSET) –Default: 1.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[BinInventoryListResponse | DetailedErrorResponse | ErrorResponse]–Response[BinInventoryListResponse | DetailedErrorResponse | ErrorResponse]
Source code in katana_public_api_client/api/storage_bin/get_bin_inventory.py
sync(*, client, granularity=UNSET, location_id=UNSET, variant_id=UNSET, bin_location_id=UNSET, batch_id=UNSET, serial_number_id=UNSET, limit=UNSET, page=UNSET)
¶
List bin inventory levels
Returns per-bin inventory levels at the chosen granularity. granularity=VARIANT (default) returns
one row per (location, variant, bin); BATCH and SERIAL_NUMBER break rows down further by the
matching traceability axis. Each row carries three decimal-string quantities: quantity_in_stock,
quantity_committed, and quantity_expected.
A null bin_location_id, batch_id, or serial_number_id denotes stock whose traceability on that
axis has not been set (unassigned bin, unbatched stock, untraced serial). Pass ?<param>=null to
target those rows. Bin inventory levels are computed asynchronously and are eventually consistent.
Parameters:
-
granularity(BinInventoryGranularity | Unset, default:UNSET) –Row granularity for a bin inventory query.
VARIANTreturns one row per (location, variant, bin);BATCHandSERIAL_NUMBERbreak rows down further by the matching traceability axis. -
location_id(int | Unset, default:UNSET) – -
variant_id(int | Unset, default:UNSET) – -
bin_location_id(str | Unset, default:UNSET) – -
batch_id(str | Unset, default:UNSET) – -
serial_number_id(str | Unset, default:UNSET) – -
limit(int | Unset, default:UNSET) –Default: 50.
-
page(int | Unset, default:UNSET) –Default: 1.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
BinInventoryListResponse | DetailedErrorResponse | ErrorResponse | None–BinInventoryListResponse | DetailedErrorResponse | ErrorResponse
Source code in katana_public_api_client/api/storage_bin/get_bin_inventory.py
sync_detailed(*, client, granularity=UNSET, location_id=UNSET, variant_id=UNSET, bin_location_id=UNSET, batch_id=UNSET, serial_number_id=UNSET, limit=UNSET, page=UNSET)
¶
List bin inventory levels
Returns per-bin inventory levels at the chosen granularity. granularity=VARIANT (default) returns
one row per (location, variant, bin); BATCH and SERIAL_NUMBER break rows down further by the
matching traceability axis. Each row carries three decimal-string quantities: quantity_in_stock,
quantity_committed, and quantity_expected.
A null bin_location_id, batch_id, or serial_number_id denotes stock whose traceability on that
axis has not been set (unassigned bin, unbatched stock, untraced serial). Pass ?<param>=null to
target those rows. Bin inventory levels are computed asynchronously and are eventually consistent.
Parameters:
-
granularity(BinInventoryGranularity | Unset, default:UNSET) –Row granularity for a bin inventory query.
VARIANTreturns one row per (location, variant, bin);BATCHandSERIAL_NUMBERbreak rows down further by the matching traceability axis. -
location_id(int | Unset, default:UNSET) – -
variant_id(int | Unset, default:UNSET) – -
bin_location_id(str | Unset, default:UNSET) – -
batch_id(str | Unset, default:UNSET) – -
serial_number_id(str | Unset, default:UNSET) – -
limit(int | Unset, default:UNSET) –Default: 50.
-
page(int | Unset, default:UNSET) –Default: 1.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[BinInventoryListResponse | DetailedErrorResponse | ErrorResponse]–Response[BinInventoryListResponse | DetailedErrorResponse | ErrorResponse]