statuspro_public_api_client.api.orders.add_order_comment¶
statuspro_public_api_client.api.orders.add_order_comment
¶
Classes¶
Functions¶
asyncio(order, *, client, body)
async
¶
Add a comment to the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(AddOrderCommentRequest) –
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/add_order_comment.py
asyncio_detailed(order, *, client, body)
async
¶
Add a comment to the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(AddOrderCommentRequest) –
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/add_order_comment.py
sync(order, *, client, body)
¶
Add a comment to the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(AddOrderCommentRequest) –
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/add_order_comment.py
sync_detailed(order, *, client, body)
¶
Add a comment to the order
Limited to 60 requests per minute.
Parameters:
-
order(int) – -
body(AddOrderCommentRequest) –
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]