{
"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",
"jwt_custom_claim": {
},
"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",
"organization_id": "xRRkjDFafe",
"trace_id": "69abaa3545913c78132e5578bd26208d44aa9043647d78698fd0021f3958cd74"
}
},
{
"other": "... 9 prices (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/prices?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/prices?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/prices?page[number]=14&page[size]=10"
}
}