You can get a list of all orders created within the last three months with the following request:
GET https://api.planet.com/compute/ops/orders/v2/
Query Parameters
The List Orders endpoint supports filtering on order_state with the following query parameters appended to the request:
?order_state=<queued|running|success|partial|failed|cancelled>
Orders created more than three months ago will not be available through the Orders API. You can reach out to Contact Support for inquiries about orders placed more than three months ago.
Example Request
GET https://api.planet.com/compute/ops/orders/v2/?order_state=queued
Example Response
The List Orders response will return a paged list of all your queued
orders placed in the last three months with an order schema that is consistent with the Get Order response.
Comments
This does not seem to work using requests in Python, I always get only 20 orders, and always the same orders regardless of the state requested....
Please sign in to leave a comment.