{
"data": [
{
"id": "xYZkjABcde",
"type": "order_subscription_items",
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde"
},
"attributes": {
"bundle_code": "BUNDLEMM000000FFFFFFXLXX",
"created_at": "2018-01-01T12:00:00.000Z",
"formatted_total_amount": "€188,00",
"formatted_unit_amount": "€99,00",
"metadata": {
"foo": "bar"
},
"quantity": 4,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"sku_code": "TSHIRTMM000000FFFFFFXLXX",
"total_amount_cents": 18800,
"total_amount_float": 188.0,
"unit_amount_cents": 9900,
"unit_amount_float": 99.0,
"updated_at": "2018-01-01T12:00:00.000Z"
},
"relationships": {
"adjustment": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/relationships/adjustment",
"related": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/adjustment"
}
},
"bundle": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/relationships/bundle",
"related": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/bundle"
}
},
"item": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/relationships/item",
"related": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/item"
}
},
"order_subscription": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/relationships/order_subscription",
"related": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/order_subscription"
}
},
"sku": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/relationships/sku",
"related": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/sku"
}
},
"source_line_item": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/relationships/source_line_item",
"related": "https://yourdomain.commercelayer.io/api/order_subscription_items/xYZkjABcde/source_line_item"
}
}
},
"meta": {
"mode": "test"
}
},
{
"other": "... 9 order_subscription_items (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/order_subscription_items?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/order_subscription_items?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/order_subscription_items?page[number]=14&page[size]=10"
}
}