Order Search

Search orders with filtering, pagination, and sorting capabilities

Searches orders for the authenticated tenant with filtering and pagination.

post
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Bearer your-api-token.

If you don't have an API token yet, please refer to Authorization to learn how to create one.

Body

Request model for searching orders with filters and pagination.

Responses
200

Search completed successfully

post
/api/orders/search
POST /customer/api/orders/search HTTP/1.1
Host: api.partssource.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 174

{
  "filters": {
    "status": "text",
    "startDate": "2025-12-06T19:49:44.023Z",
    "endDate": "2025-12-06T19:49:44.023Z"
  },
  "pagination": {
    "limit": 1,
    "offset": 1,
    "sortBy": "text",
    "sortDir": "text"
  }
}
{
  "orders": [],
  "pagination": null,
  "errors": [
    "text"
  ],
  "correlationId": "text",
  "timestamp": "2025-12-06T19:49:44.023Z"
}

Last updated