How to place a basic imagery order using Postman

Postman is an API client used to develop, create, test, share and document APIs.

 

1. Open Postman and click on Create New > HTTP Request

Screen_Shot_2021-07-25_at_7.04.10_PM.png

2. You will see the Startup Screen.

Screen_Shot_2021-07-25_at_7.12.37_PM.png

3. Set your HTTP request to POST.

4. In the URL field insert (Orders API): https://api.planet.com/compute/ops/orders/v2

5. Switch to the Authorization tab and select

    a. Type:  Basic Auth 

    b. Username: API_KEY

    c. Note: Leave the Password field empty

Screen_Shot_2021-07-25_at_6.35.57_PM.png

6. Switch to the Body tab and insert the request body. Select Body > raw > select JSON

Screen_Shot_2021-07-25_at_5.37.35_PM.png

JSON body: Here, you can use Tools & Toolchains.

{  
   "name":"simple order",
   "products":[
      {  
         "item_ids":[  
            "20200922_183724_23_106a",
            "20200922_183722_17_106a",
            "20200922_183720_11_106a"
         ],
         "item_type":"PSScene4Band",
         "product_bundle":"analytic"
      }
   ]
}

4.png

7. Click Send button
8. ​​You will see 202 Accepted status.
9. A successful response will give the order id and status of the order.

Screen_Shot_2021-07-25_at_4.38.17_PM.png

How to download a basic order using Postman

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

Comments

0 comments

Please sign in to leave a comment.