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: 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",
   "source_type": "scenes",
   "products":[
      {
         "item_ids":[
            "20220304_093300_37_2430",
            "20220304_093257_90_2430",
            "20220304_103324_1105",
            "20220304_103325_1105"
         ],
         "item_type":"PSScene",
         "product_bundle":"analytic_udm2"
      }
   ]
}

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.

Screenshot

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

Comments

0 comments

Please sign in to leave a comment.