Accessing Orders by Name in the Orders API

The Orders API provides functionality to search or list orders based on their name.

Steps to Search or List Orders by Name

Using the Name Query Parameters

The following query parameters can be used to filter orders by name:

  1. Exact Match: Use the name parameter to search for an order by its exact name. Replace <order_name> with the specific name of the order.

    Example:

    GET: https://api.planet.com/compute/ops/orders/v2?name=<order_name>
  2. Partial Match: Use the name__contains parameter to search for orders that contain a specific substring in their name. Replace <substring> with the desired text.

    Example:

    GET: https://api.planet.com/compute/ops/orders/v2?name__contains=<substring>

Parameter Details

Parameter Data Type Description
name string Filter orders by exact name.
name__contains string Filter orders by names containing a string.

 

Notes

  • Ensure you have proper authorization and access rights when making API requests.

  • Always verify your query parameters to ensure you receive the desired data.

For more information on available query parameters, refer to the Orders API documentation.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.