Skip to main content

Reseller Ordering Example

note

This example is for resellers only.

Annotated Examples​

The following example shows Hub orders and indicate how previous field names map to the Hub order schema.

// POST https://api.maxar.com/ordering/v2/pipelines/imagery/view-ready-ortho/order


{
"settings": {
"customer_description": "1111932e-5992-4c01-b9bb-3aa57ca7a631", //lineItems.customerDescription
"is_stereo":false, //lineItems.isStereo
"requested_gsd":0.3, //lineItems.product.productDetails.requestedGsd
"inventory_ids": [ //lineItems.selectedInventories.inventoryId
"B150002101F92E10"
],
"aoi": { //lineItems.aoiInGeoJson
"type":"Polygon",
"coordinates":[
[
[27.239118436,37.343268778],
[27.23567105,37.350978008],
[27.213103047,37.346302271],
[27.222777178,37.330689558],
[27.243667835,37.334706693],
[27.239118436,37.343268778]
]
]
},
"overrides": {
"product": {
"product_details": {
"resampling_kernel":"CC", //lineItems.product.productDetails.resamplingKernel
"projection_datum_option":"Geographic_WGS84_DecimalDegree",
//lineItems.product.productDetails.projectionDatumOption
"output_bit_depth":"16", //lineItems.product.productDetails.outputBitDepth
"is_high_definition":"false", //lineItems.product.productDetails.isHighDefinition
"product_option":"4BandBundle" //lineItems.product.productDetails.productOption
}
}
}
},
"reseller_data":{
"end_use": {
"code":"ERM", //lineItems.endUse.code
"user_ids":["27354"], //lineItems.endUse.userIds
},
"maxar_purchase_order": "??????", //optional, no match
"customer_purchase_order": "26EUSI-0928135853-WHV", //customerPurchaseOrder
"bill_to_id":"VD4C1FW2IN", //from the capi/customer endpoint
"sub_reseller_id":"????????", //optional, no match
"ship_to_id":"???????", //optional, no match
"license":{ //productLicensing
"type":"Internal", //productLicensing.licenseType
"terms":"Perpetual", //productLicensing.licenseTerms
"segment":"Regular", //productLicensing.licenseSegment
"use_rights":"ViewAndAnalysis" //productLicensing.useRightsType
}
},
"output_configs":[
{ //equivalent S3 delivery
"type":"amazon_s3", //lineItems.deliveries.deliveryType
"bucket":"s3tara", //lineItems.deliveries.destinationId
"prefix":"your/prefix/path" //optional for finer-grained paths
}
],
"notifications":[
{// equivalent to lineItems.statusCallbackLink
"type":"http",
"target":"https://apps.euspaceimaging.com/callback/maxar/...",
"level": "FINAL_ONLY"
}
]
"metadata":{ // Current fields that are unused but can be captured here
"customerId":"VD4C1FW2IN", //translates to sold_to_id, can be used for customer info request
"contractId":"0046504902-000010" //this value technically can be found/populated in the hub activation for a user, but doesn't appear to be in current testing activations. SAP side, this is validated if it exists. There is no actual place to put this in an order.
},
}