katana_public_api_client.api.recipe.update_recipe_row¶
katana_public_api_client.api.recipe.update_recipe_row
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update a recipe row
Updates a recipe row. The recipe rows endpoint is deprecated in favor of BOM rows.
Parameters:
-
id(int) – -
body(UpdateRecipeRowBody) –
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 | Recipe | None–Union[DetailedErrorResponse, ErrorResponse, Recipe]
Source code in katana_public_api_client/api/recipe/update_recipe_row.py
asyncio_detailed(id, *, client, body)
async
¶
Update a recipe row
Updates a recipe row. The recipe rows endpoint is deprecated in favor of BOM rows.
Parameters:
-
id(int) – -
body(UpdateRecipeRowBody) –
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 | Recipe]–Response[Union[DetailedErrorResponse, ErrorResponse, Recipe]]
Source code in katana_public_api_client/api/recipe/update_recipe_row.py
sync(id, *, client, body)
¶
Update a recipe row
Updates a recipe row. The recipe rows endpoint is deprecated in favor of BOM rows.
Parameters:
-
id(int) – -
body(UpdateRecipeRowBody) –
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 | Recipe | None–Union[DetailedErrorResponse, ErrorResponse, Recipe]
Source code in katana_public_api_client/api/recipe/update_recipe_row.py
sync_detailed(id, *, client, body)
¶
Update a recipe row
Updates a recipe row. The recipe rows endpoint is deprecated in favor of BOM rows.
Parameters:
-
id(int) – -
body(UpdateRecipeRowBody) –
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 | Recipe]–Response[Union[DetailedErrorResponse, ErrorResponse, Recipe]]