statuspro_public_api_client.api.orders.set_order_due_date¶
statuspro_public_api_client.api.orders.set_order_due_date
¶
Classes¶
Functions¶
asyncio(order, *, client, body)
async
¶
Set a due date on the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(SetDueDateRequest) –
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 | MessageResponse | ValidationErrorResponse | None–ErrorResponse | MessageResponse | ValidationErrorResponse
Source code in statuspro_public_api_client/api/orders/set_order_due_date.py
asyncio_detailed(order, *, client, body)
async
¶
Set a due date on the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(SetDueDateRequest) –
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 | MessageResponse | ValidationErrorResponse]–Response[ErrorResponse | MessageResponse | ValidationErrorResponse]
Source code in statuspro_public_api_client/api/orders/set_order_due_date.py
sync(order, *, client, body)
¶
Set a due date on the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(SetDueDateRequest) –
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 | MessageResponse | ValidationErrorResponse | None–ErrorResponse | MessageResponse | ValidationErrorResponse
Source code in statuspro_public_api_client/api/orders/set_order_due_date.py
sync_detailed(order, *, client, body)
¶
Set a due date on the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(SetDueDateRequest) –
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 | MessageResponse | ValidationErrorResponse]–Response[ErrorResponse | MessageResponse | ValidationErrorResponse]