statuspro_public_api_client.api.orders.update_order_status¶
statuspro_public_api_client.api.orders.update_order_status
¶
Classes¶
Functions¶
asyncio(order, *, client, body)
async
¶
Update an order status
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(UpdateOrderStatusRequest) –
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/update_order_status.py
asyncio_detailed(order, *, client, body)
async
¶
Update an order status
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(UpdateOrderStatusRequest) –
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/update_order_status.py
sync(order, *, client, body)
¶
Update an order status
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(UpdateOrderStatusRequest) –
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/update_order_status.py
sync_detailed(order, *, client, body)
¶
Update an order status
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(UpdateOrderStatusRequest) –
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]