{
"data": {
"id": "xYZkjABcde",
"type": "line_item_options",
"links": {
"self": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde"
},
"attributes": {
"name": "Embossing",
"quantity": 2,
"currency_code": "EUR",
"unit_amount_cents": 990,
"unit_amount_float": 9.9,
"formatted_unit_amount": "€9,90",
"total_amount_cents": 1880,
"total_amount_float": 18.8,
"formatted_total_amount": "€18,80",
"delay_hours": 48,
"delay_days": 2,
"options": {
"embossing_text": "Happy Birthday!"
},
"created_at": "2018-01-01T12:00:00.000Z",
"updated_at": "2018-01-01T12:00:00.000Z",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
},
"relationships": {
"line_item": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/relationships/line_item",
"related": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/line_item"
}
},
"sku_option": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/relationships/sku_option",
"related": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/sku_option"
}
},
"events": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/relationships/events",
"related": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/events"
}
},
"tags": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/relationships/tags",
"related": "https://yourdomain.commercelayer.io/api/line_item_options/xYZkjABcde/tags"
}
}
},
"meta": {
"mode": "test"
}
}
}