katana_public_api_client.api.storage_bin.create_storage_bin¶
katana_public_api_client.api.storage_bin.create_storage_bin
¶
Classes¶
Functions¶
asyncio(*, client, body)
async
¶
Create a storage bin
Creates a new storage bin at the specified location.
Parameters:
-
body(StorageBinCreate) –Storage bin fields for create operations Example: {'bin_name': 'A-01-SHELF-2', 'location_id': 12346}.
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:
-
DetailedErrorResponse | ErrorResponse | StorageBinResponse | None–DetailedErrorResponse | ErrorResponse | StorageBinResponse
Source code in katana_public_api_client/api/storage_bin/create_storage_bin.py
asyncio_detailed(*, client, body)
async
¶
Create a storage bin
Creates a new storage bin at the specified location.
Parameters:
-
body(StorageBinCreate) –Storage bin fields for create operations Example: {'bin_name': 'A-01-SHELF-2', 'location_id': 12346}.
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[DetailedErrorResponse | ErrorResponse | StorageBinResponse]–Response[DetailedErrorResponse | ErrorResponse | StorageBinResponse]
Source code in katana_public_api_client/api/storage_bin/create_storage_bin.py
sync(*, client, body)
¶
Create a storage bin
Creates a new storage bin at the specified location.
Parameters:
-
body(StorageBinCreate) –Storage bin fields for create operations Example: {'bin_name': 'A-01-SHELF-2', 'location_id': 12346}.
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:
-
DetailedErrorResponse | ErrorResponse | StorageBinResponse | None–DetailedErrorResponse | ErrorResponse | StorageBinResponse
Source code in katana_public_api_client/api/storage_bin/create_storage_bin.py
sync_detailed(*, client, body)
¶
Create a storage bin
Creates a new storage bin at the specified location.
Parameters:
-
body(StorageBinCreate) –Storage bin fields for create operations Example: {'bin_name': 'A-01-SHELF-2', 'location_id': 12346}.
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[DetailedErrorResponse | ErrorResponse | StorageBinResponse]–Response[DetailedErrorResponse | ErrorResponse | StorageBinResponse]