katana_public_api_client.api.bom_row.create_bom_row¶
katana_public_api_client.api.bom_row.create_bom_row
¶
Classes¶
Functions¶
asyncio(*, client, body)
async
¶
Create a BOM row
Create a new BOM row for a product.
Parameters:
-
body(CreateBomRowRequest) –Request payload for creating a new BOM row Example: {'product_item_id': 3001, 'product_variant_id': 2001, 'ingredient_variant_id': 2002, 'quantity': 2.5, 'notes': 'Handle with care - fragile component'}.
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:
-
Any | DetailedErrorResponse | ErrorResponse | None–Union[Any, DetailedErrorResponse, ErrorResponse]
Source code in katana_public_api_client/api/bom_row/create_bom_row.py
asyncio_detailed(*, client, body)
async
¶
Create a BOM row
Create a new BOM row for a product.
Parameters:
-
body(CreateBomRowRequest) –Request payload for creating a new BOM row Example: {'product_item_id': 3001, 'product_variant_id': 2001, 'ingredient_variant_id': 2002, 'quantity': 2.5, 'notes': 'Handle with care - fragile component'}.
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[Any | DetailedErrorResponse | ErrorResponse]–Response[Union[Any, DetailedErrorResponse, ErrorResponse]]
Source code in katana_public_api_client/api/bom_row/create_bom_row.py
sync(*, client, body)
¶
Create a BOM row
Create a new BOM row for a product.
Parameters:
-
body(CreateBomRowRequest) –Request payload for creating a new BOM row Example: {'product_item_id': 3001, 'product_variant_id': 2001, 'ingredient_variant_id': 2002, 'quantity': 2.5, 'notes': 'Handle with care - fragile component'}.
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:
-
Any | DetailedErrorResponse | ErrorResponse | None–Union[Any, DetailedErrorResponse, ErrorResponse]
Source code in katana_public_api_client/api/bom_row/create_bom_row.py
sync_detailed(*, client, body)
¶
Create a BOM row
Create a new BOM row for a product.
Parameters:
-
body(CreateBomRowRequest) –Request payload for creating a new BOM row Example: {'product_item_id': 3001, 'product_variant_id': 2001, 'ingredient_variant_id': 2002, 'quantity': 2.5, 'notes': 'Handle with care - fragile component'}.
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[Any | DetailedErrorResponse | ErrorResponse]–Response[Union[Any, DetailedErrorResponse, ErrorResponse]]