Skip to navigation

List (via POST) for shipper operators

Lists expanded orders for shipper operators with filtering, sorting, pagination, and optional search. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForShipperRes)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

sort_byenum or nullOptional
sort_orderenumOptional

Sort order (asc or desc)

Allowed values:
pageintegerOptional>=1Defaults to 1
page_sizeintegerOptional1-100Defaults to 20
searchstring or nullOptional

Full-text search query (searches order short ID, off-CHRT reference ID, and AWB)

filter_order_idslist of strings or nullOptional
Filter by selected order ids
filter_statuslist of enums or nullOptional
filter_service_linelist of enums or nullOptional
Filter by service line
Allowed values:
filter_order_classification_by_task_group_typelist of enums or nullOptional

Filter by global order classification (OBC takes precedence over flight, then ground)

Allowed values:
filter_awb_numberstring or nullOptionalformat: "^\d{3}-\d{8}$"
Filter by exact AWB number
filter_has_invoiceboolean or nullOptional
Filter by whether the order has any invoice
filter_draft_started_at_timestamp_ltestring or nullOptionalformat: "date-time"
filter_draft_started_at_timestamp_gtestring or nullOptionalformat: "date-time"
filter_staged_at_timestamp_ltestring or nullOptionalformat: "date-time"
filter_staged_at_timestamp_gtestring or nullOptionalformat: "date-time"
filter_in_progress_at_timestamp_ltestring or nullOptionalformat: "date-time"
filter_in_progress_at_timestamp_gtestring or nullOptionalformat: "date-time"
filter_completed_at_timestamp_ltestring or nullOptionalformat: "date-time"
filter_completed_at_timestamp_gtestring or nullOptionalformat: "date-time"
filter_last_delivery_task_completed_at_timestamp_ltestring or nullOptionalformat: "date-time"
Filter by last delivery completion time, inclusive.
filter_last_delivery_task_completed_at_timestamp_gtestring or nullOptionalformat: "date-time"
Filter by last delivery completion time, inclusive.
filter_cancelled_at_timestamp_ltestring or nullOptionalformat: "date-time"
filter_cancelled_at_timestamp_gtestring or nullOptionalformat: "date-time"
filter_exception_at_timestamp_ltestring or nullOptionalformat: "date-time"
filter_exception_at_timestamp_gtestring or nullOptionalformat: "date-time"
filter_executor_org_idstring or nullOptional
filter_coordinator_org_idstring or nullOptional

Request

This endpoint expects an object.
expand_accountsbooleanOptionalDefaults to false
expand_cargosbooleanOptionalDefaults to false
expand_contactsbooleanOptionalDefaults to false
expand_coordinator_departmentsbooleanOptionalDefaults to false
expand_coordinator_org_company_namebooleanOptionalDefaults to false
expand_coordinator_org_handlebooleanOptionalDefaults to false
expand_coordinator_task_lists_to_apply_at_order_stagingbooleanOptionalDefaults to false
expand_driverbooleanOptionalDefaults to false
expand_executor_departmentsbooleanOptionalDefaults to false
expand_executor_org_company_namebooleanOptionalDefaults to false
expand_executor_org_handlebooleanOptionalDefaults to false
expand_notification_intents_ad_hocbooleanOptionalDefaults to false
expand_off_chrt_shipper_org_company_namebooleanOptionalDefaults to false
expand_shipper_org_company_namebooleanOptionalDefaults to false
expand_task_artifactsbooleanOptionalDefaults to false
expand_tasksbooleanOptionalDefaults to false

Response

Successful Response
itemslist of objects
total_countinteger

Errors

422
Unprocessable Entity Error