statuspro_public_api_client.api.orders.list_orders¶
statuspro_public_api_client.api.orders.list_orders
¶
Classes¶
Functions¶
asyncio(*, client, search=UNSET, status_code=UNSET, tags=UNSET, tags_any=UNSET, financial_status=UNSET, fulfillment_status=UNSET, exclude_cancelled=UNSET, due_date_from=UNSET, due_date_to=UNSET, per_page=15)
async
¶
Retrieve a paginated list of orders
Limited to 60 requests per minute.
Parameters:
-
search(str | Unset, default:UNSET) – -
status_code(str | Unset, default:UNSET) – -
tags(list[str] | Unset, default:UNSET) – -
tags_any(list[str] | Unset, default:UNSET) – -
financial_status(list[ListOrdersFinancialStatusItem] | Unset, default:UNSET) – -
fulfillment_status(list[ListOrdersFulfillmentStatusItem] | Unset, default:UNSET) – -
exclude_cancelled(bool | Unset, default:UNSET) – -
due_date_from(date | Unset, default:UNSET) – -
due_date_to(date | Unset, default:UNSET) – -
per_page(int | Unset, default:15) –Default: 15.
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 | OrderListResponse | ValidationErrorResponse | None–ErrorResponse | OrderListResponse | ValidationErrorResponse
Source code in statuspro_public_api_client/api/orders/list_orders.py
asyncio_detailed(*, client, search=UNSET, status_code=UNSET, tags=UNSET, tags_any=UNSET, financial_status=UNSET, fulfillment_status=UNSET, exclude_cancelled=UNSET, due_date_from=UNSET, due_date_to=UNSET, per_page=15)
async
¶
Retrieve a paginated list of orders
Limited to 60 requests per minute.
Parameters:
-
search(str | Unset, default:UNSET) – -
status_code(str | Unset, default:UNSET) – -
tags(list[str] | Unset, default:UNSET) – -
tags_any(list[str] | Unset, default:UNSET) – -
financial_status(list[ListOrdersFinancialStatusItem] | Unset, default:UNSET) – -
fulfillment_status(list[ListOrdersFulfillmentStatusItem] | Unset, default:UNSET) – -
exclude_cancelled(bool | Unset, default:UNSET) – -
due_date_from(date | Unset, default:UNSET) – -
due_date_to(date | Unset, default:UNSET) – -
per_page(int | Unset, default:15) –Default: 15.
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 | OrderListResponse | ValidationErrorResponse]–Response[ErrorResponse | OrderListResponse | ValidationErrorResponse]
Source code in statuspro_public_api_client/api/orders/list_orders.py
sync(*, client, search=UNSET, status_code=UNSET, tags=UNSET, tags_any=UNSET, financial_status=UNSET, fulfillment_status=UNSET, exclude_cancelled=UNSET, due_date_from=UNSET, due_date_to=UNSET, per_page=15)
¶
Retrieve a paginated list of orders
Limited to 60 requests per minute.
Parameters:
-
search(str | Unset, default:UNSET) – -
status_code(str | Unset, default:UNSET) – -
tags(list[str] | Unset, default:UNSET) – -
tags_any(list[str] | Unset, default:UNSET) – -
financial_status(list[ListOrdersFinancialStatusItem] | Unset, default:UNSET) – -
fulfillment_status(list[ListOrdersFulfillmentStatusItem] | Unset, default:UNSET) – -
exclude_cancelled(bool | Unset, default:UNSET) – -
due_date_from(date | Unset, default:UNSET) – -
due_date_to(date | Unset, default:UNSET) – -
per_page(int | Unset, default:15) –Default: 15.
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 | OrderListResponse | ValidationErrorResponse | None–ErrorResponse | OrderListResponse | ValidationErrorResponse
Source code in statuspro_public_api_client/api/orders/list_orders.py
sync_detailed(*, client, search=UNSET, status_code=UNSET, tags=UNSET, tags_any=UNSET, financial_status=UNSET, fulfillment_status=UNSET, exclude_cancelled=UNSET, due_date_from=UNSET, due_date_to=UNSET, per_page=15)
¶
Retrieve a paginated list of orders
Limited to 60 requests per minute.
Parameters:
-
search(str | Unset, default:UNSET) – -
status_code(str | Unset, default:UNSET) – -
tags(list[str] | Unset, default:UNSET) – -
tags_any(list[str] | Unset, default:UNSET) – -
financial_status(list[ListOrdersFinancialStatusItem] | Unset, default:UNSET) – -
fulfillment_status(list[ListOrdersFulfillmentStatusItem] | Unset, default:UNSET) – -
exclude_cancelled(bool | Unset, default:UNSET) – -
due_date_from(date | Unset, default:UNSET) – -
due_date_to(date | Unset, default:UNSET) – -
per_page(int | Unset, default:15) –Default: 15.
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 | OrderListResponse | ValidationErrorResponse]–Response[ErrorResponse | OrderListResponse | ValidationErrorResponse]