FastSpring Classic Store
Last updated
Was this helpful?
Was this helpful?
{
"company_uuid": "API_KEY_GOES_HERE",
"id": "#{order.id}",
"is_test": #{order.isTest},
"created": "#{order.created}",
"order_type": "#{order.type}",
"customer_email": "#{order.customer.email}",
"customer_reference": "#{order.customerReference}",
"referrer": "#{order.referrer}",
"license_type": "perpetual",
"items": [ <repeat value="#{order.allItems}" var="orderItem">
{
"product_name": "#{orderItem.productName}",
"product_group": "#{orderItem.productGroup}",
"price_total": "#{orderItem.priceTotal}",
"license": {
"key": "#{fulfillment.license.key}",
"licenses": [<repeat value="#{orderItem.fulfillment.license.licenses}" var="value">"#{value}",</repeat>],
"max_activations": 2,
"product_features": ["standard"]
}
},</repeat>]
}