Purchase frame
After browsing the catalog and selecting the frames you want to purchase, you can place an order for each frame by invoking the purchaseFrame
operation.
Optional parameters
Reference
A string that can be used to identify tasks uniquely or group multiple tasks together for easier tracking. The reference parameter accepts UTF-8 characters but it has a limitation of 256 string length.
EULA
The end user license agreement (EULA) defines the terms of use for purchased SAR products, also defining how widely products can be distributed. For full details of the EULA, see the relevant terms of your contract.
The eula
parameter can take one of the following string values:
EULA | Description |
---|---|
|
This EULA option should be selected by a governmental organization that has contracted directly with ICEYE or by a reseller that plans to share products with a governmental organization. Government End Users shall use Products, Derivatives and Documentation solely under Government EULA. |
|
This EULA option should be selected by a commercial organization that has contracted directly with ICEYE or by a reseller that plans to share products with a commercial organization. All other End Users than Government End Users shall use Products, Derivatives and Documentation solely under Standard EULA. |
Example
Request
Enter the following curl
command, remembering to replace the ${VARNAME}
variables with the appropriate values:
curl --location "${API_BASE_URL}/api/catalog/v2/purchases" \
--header "Content-Type: application/json" \
--header "Accept: application/json, application/problem+json" \
--header "Authorization: Bearer ${API_ACCESS_TOKEN}" \
--data '{
"contractID": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"frameID": "XXXXXXXXXX",
"reference": "customer task reference 123-456",
"eula": "STANDARD"
}'
Response
On success, returns a 200
status code and a JSON object containing the purchase ID and purchase status.
{
"id": "XXXXXXXXXX",
"frameID": "XXXXXXXXXX",
"contractID": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"createdAt": "2023-12-20T15:04:05Z07:00",
"status": "active",
"reference": "customer task reference 123-456",
"eula": "STANDARD"
}