katana_public_api_client.api.inventory.get_all_inventory_point¶
katana_public_api_client.api.inventory.get_all_inventory_point
¶
Classes¶
Functions¶
asyncio(*, client, location_id=UNSET, variant_id=UNSET, include_archived=UNSET, extend=UNSET, limit=50, page=1)
async
¶
List current inventory
Returns a list for current inventory. The inventory is returned in sorted order, with the oldest locations appearing first.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
include_archived(Union[Unset, bool], default:UNSET) – -
extend(Union[Unset, list[GetAllInventoryPointExtendItem]], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –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:
-
ErrorResponse | InventoryListResponse | None–Union[ErrorResponse, InventoryListResponse]
Source code in katana_public_api_client/api/inventory/get_all_inventory_point.py
asyncio_detailed(*, client, location_id=UNSET, variant_id=UNSET, include_archived=UNSET, extend=UNSET, limit=50, page=1)
async
¶
List current inventory
Returns a list for current inventory. The inventory is returned in sorted order, with the oldest locations appearing first.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
include_archived(Union[Unset, bool], default:UNSET) – -
extend(Union[Unset, list[GetAllInventoryPointExtendItem]], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –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[ErrorResponse | InventoryListResponse]–Response[Union[ErrorResponse, InventoryListResponse]]
Source code in katana_public_api_client/api/inventory/get_all_inventory_point.py
sync(*, client, location_id=UNSET, variant_id=UNSET, include_archived=UNSET, extend=UNSET, limit=50, page=1)
¶
List current inventory
Returns a list for current inventory. The inventory is returned in sorted order, with the oldest locations appearing first.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
include_archived(Union[Unset, bool], default:UNSET) – -
extend(Union[Unset, list[GetAllInventoryPointExtendItem]], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –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:
-
ErrorResponse | InventoryListResponse | None–Union[ErrorResponse, InventoryListResponse]
Source code in katana_public_api_client/api/inventory/get_all_inventory_point.py
sync_detailed(*, client, location_id=UNSET, variant_id=UNSET, include_archived=UNSET, extend=UNSET, limit=50, page=1)
¶
List current inventory
Returns a list for current inventory. The inventory is returned in sorted order, with the oldest locations appearing first.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
include_archived(Union[Unset, bool], default:UNSET) – -
extend(Union[Unset, list[GetAllInventoryPointExtendItem]], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –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[ErrorResponse | InventoryListResponse]–Response[Union[ErrorResponse, InventoryListResponse]]