Search for a PartnerApiOrder

Bulk Search for Partner API Orders

To search for multiple partner API orders, you can make a POST request to the /v2/orders/bulk-search endpoint.

Request Parameters

The request accepts the following optional filter parameters:

  • program_membership_id (String): Filter by a specific program membership ID.

  • external_order_guid (String): Filter by an external order GUID.

  • external_location_id (String): Filter by an external location ID.

  • external_customer_id (String): Filter by an external customer ID.

  • uuid (String): Filter by a specific order UUID.

  • created (Hash): Filter by creation date range.

    • start (Integer): Start of the date range (epoch timestamp).

    • end (Integer): End of the date range (epoch timestamp).

  • updated (Hash): Filter by update date range.

    • start (Integer): Start of the date range (epoch timestamp).

    • end (Integer): End of the date range (epoch timestamp).

  • page_size (Integer): Number of results per page (max: 1000).

  • page (Integer): Page number for pagination.

Example Request

Response

If successful, the API returns a 200 OK status along with the list of matching orders.

Example Response

Error Handling

If the API encounters an error, an appropriate error message is returned. Some common errors include:

  • 422 Unprocessable Entity: Invalid page_size or page values.

  • 400 Bad Request: Incorrectly formatted request payload.

  • 404 Not Found: No matching orders found for the provided filters.

Last updated