{
"data": {
"id": "xYZkjABcde",
"type": "prices",
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde"
},
"attributes": {
"currency_code": "EUR",
"sku_code": "TSHIRTMM000000FFFFFFXLXX",
"amount_cents": 10000,
"amount_float": 100.0,
"formatted_amount": "€100,00",
"original_amount_cents": 10000,
"formatted_original_amount": "€100,00",
"compare_at_amount_cents": 13000,
"compare_at_amount_float": 130.0,
"formatted_compare_at_amount": "€130,00",
"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",
"rules": {
},
"rule_outcomes": {
},
"metadata": {
"foo": "bar"
}
},
"relationships": {
"price_list": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/price_list",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/price_list"
}
},
"sku": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/sku",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/sku"
}
},
"price_tiers": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/price_tiers",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/price_tiers"
}
},
"price_volume_tiers": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/price_volume_tiers",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/price_volume_tiers"
}
},
"price_frequency_tiers": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/price_frequency_tiers",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/price_frequency_tiers"
}
},
"attachments": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/attachments",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/attachments"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/versions"
}
},
"jwt_customer": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/jwt_customer",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/jwt_customer"
}
},
"jwt_markets": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/jwt_markets",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/jwt_markets"
}
},
"jwt_stock_locations": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/relationships/jwt_stock_locations",
"related": "https://yourdomain.commercelayer.io/api/prices/xYZkjABcde/jwt_stock_locations"
}
}
},
"meta": {
"mode": "test"
}
}
}