Stereo order creation

The Planet Tasking API is a REST based API, which can be integrated into any service, regardless of the language used. Below are some examples of how to integrate the most commonly used aspects of the Tasking API Stereo orders creation, editing and cancellation.

The creation, editing and deletion of Stereo orders follows the same rules as normal orders with one extra field required during creation.

Stereo create

The creation of a STEREO order is done via a POST request to the Tasking API /orders endpoint. The creation of a stereo order can be a simple as the following request example:

curl --request POST --url 'https://api.planet.com/tasking/v2/orders/' \
    --header 'accept: application/json' \
    --header 'authorization: api-key <YOUR_API_KEY>' \
    --header 'content-type: application/json' \
    --data '{
        'name': 'Stereo Order 01',
        'geometry': {
            'type': 'Point',
            'coordinates': [
                -110.974052,
                39.634139
            ]
        },
        'order_type': 'STEREO',
        'n_stereo_pov': '2'
    }

Two field to take note of with a stereo order are the order_type field, which is defined and set to STEREO as well as the n_stereo_pov parameter. n_stereo_pov defines how many shots are taken for the stereo image can be either 2 or 3. Any other value will result in an error.