statuspro_public_api_client.helpers.orders¶
statuspro_public_api_client.helpers.orders
¶
Order helper facade — ergonomic wrappers around the generated order endpoints.
Classes¶
Orders(client)
¶
Bases: Base
Ergonomic order operations that return domain Order models.
Source code in statuspro_public_api_client/helpers/base.py
Functions¶
get(order_id)
async
¶
Get a single order by id.
Source code in statuspro_public_api_client/helpers/orders.py
list(*, search=None, status_code=None, tags=None, tags_any=None, financial_status=None, fulfillment_status=None, exclude_cancelled=None, due_date_from=None, due_date_to=None, page=None, per_page=None)
async
¶
List orders. Auto-paginates when page is not set.
Source code in statuspro_public_api_client/helpers/orders.py
lookup(*, number, email)
async
¶
Look up an order by order number and customer email.