katana_public_api_client.api.inventory.get_all_negative_stock¶
katana_public_api_client.api.inventory.get_all_negative_stock
¶
Classes¶
Functions¶
asyncio(*, client, location_id=UNSET, variant_id=UNSET, latest_negative_stock_date_max=UNSET, latest_negative_stock_date_min=UNSET, name=UNSET, sku=UNSET, category=UNSET, limit=50, page=1)
async
¶
List all variants with negative stock
Returns a list of variants with negative stock balance. Each variant has a date of the latest stock movement that resulted in negative stock balance.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
latest_negative_stock_date_max(Union[Unset, str], default:UNSET) – -
latest_negative_stock_date_min(Union[Unset, str], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
sku(Union[Unset, str], default:UNSET) – -
category(Union[Unset, str], 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 | NegativeStockListResponse | None–Union[ErrorResponse, NegativeStockListResponse]
Source code in katana_public_api_client/api/inventory/get_all_negative_stock.py
asyncio_detailed(*, client, location_id=UNSET, variant_id=UNSET, latest_negative_stock_date_max=UNSET, latest_negative_stock_date_min=UNSET, name=UNSET, sku=UNSET, category=UNSET, limit=50, page=1)
async
¶
List all variants with negative stock
Returns a list of variants with negative stock balance. Each variant has a date of the latest stock movement that resulted in negative stock balance.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
latest_negative_stock_date_max(Union[Unset, str], default:UNSET) – -
latest_negative_stock_date_min(Union[Unset, str], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
sku(Union[Unset, str], default:UNSET) – -
category(Union[Unset, str], 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 | NegativeStockListResponse]–Response[Union[ErrorResponse, NegativeStockListResponse]]
Source code in katana_public_api_client/api/inventory/get_all_negative_stock.py
sync(*, client, location_id=UNSET, variant_id=UNSET, latest_negative_stock_date_max=UNSET, latest_negative_stock_date_min=UNSET, name=UNSET, sku=UNSET, category=UNSET, limit=50, page=1)
¶
List all variants with negative stock
Returns a list of variants with negative stock balance. Each variant has a date of the latest stock movement that resulted in negative stock balance.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
latest_negative_stock_date_max(Union[Unset, str], default:UNSET) – -
latest_negative_stock_date_min(Union[Unset, str], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
sku(Union[Unset, str], default:UNSET) – -
category(Union[Unset, str], 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 | NegativeStockListResponse | None–Union[ErrorResponse, NegativeStockListResponse]
Source code in katana_public_api_client/api/inventory/get_all_negative_stock.py
sync_detailed(*, client, location_id=UNSET, variant_id=UNSET, latest_negative_stock_date_max=UNSET, latest_negative_stock_date_min=UNSET, name=UNSET, sku=UNSET, category=UNSET, limit=50, page=1)
¶
List all variants with negative stock
Returns a list of variants with negative stock balance. Each variant has a date of the latest stock movement that resulted in negative stock balance.
Parameters:
-
location_id(Union[Unset, int], default:UNSET) – -
variant_id(Union[Unset, int], default:UNSET) – -
latest_negative_stock_date_max(Union[Unset, str], default:UNSET) – -
latest_negative_stock_date_min(Union[Unset, str], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
sku(Union[Unset, str], default:UNSET) – -
category(Union[Unset, str], 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 | NegativeStockListResponse]–Response[Union[ErrorResponse, NegativeStockListResponse]]