katana_public_api_client.api.manufacturing_order.unlink_manufacturing_order¶
katana_public_api_client.api.manufacturing_order.unlink_manufacturing_order
¶
Classes¶
Functions¶
asyncio(*, client, body)
async
¶
Unlink a manufacturing order from sales order row
Unlinks the manufacturing order from a particular sales order row.
Parameters:
-
body(UnlinkManufacturingOrderRequest) –Request to unlink a manufacturing order from its associated sales order row, removing the direct connection while preserving both orders. Example: {'sales_order_row_id': 2501}.
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 | ErrorResponse | None–Union[Any, ErrorResponse]
Source code in katana_public_api_client/api/manufacturing_order/unlink_manufacturing_order.py
asyncio_detailed(*, client, body)
async
¶
Unlink a manufacturing order from sales order row
Unlinks the manufacturing order from a particular sales order row.
Parameters:
-
body(UnlinkManufacturingOrderRequest) –Request to unlink a manufacturing order from its associated sales order row, removing the direct connection while preserving both orders. Example: {'sales_order_row_id': 2501}.
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 | ErrorResponse]–Response[Union[Any, ErrorResponse]]
Source code in katana_public_api_client/api/manufacturing_order/unlink_manufacturing_order.py
sync(*, client, body)
¶
Unlink a manufacturing order from sales order row
Unlinks the manufacturing order from a particular sales order row.
Parameters:
-
body(UnlinkManufacturingOrderRequest) –Request to unlink a manufacturing order from its associated sales order row, removing the direct connection while preserving both orders. Example: {'sales_order_row_id': 2501}.
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 | ErrorResponse | None–Union[Any, ErrorResponse]
Source code in katana_public_api_client/api/manufacturing_order/unlink_manufacturing_order.py
sync_detailed(*, client, body)
¶
Unlink a manufacturing order from sales order row
Unlinks the manufacturing order from a particular sales order row.
Parameters:
-
body(UnlinkManufacturingOrderRequest) –Request to unlink a manufacturing order from its associated sales order row, removing the direct connection while preserving both orders. Example: {'sales_order_row_id': 2501}.
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 | ErrorResponse]–Response[Union[Any, ErrorResponse]]