{
"data": {
"id": "xYZkjABcde",
"type": "packages",
"links": {
"self": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde"
},
"attributes": {
"code": "YYYY 2000",
"created_at": "2018-01-01T12:00:00.000Z",
"height": 25.0,
"length": 40.0,
"metadata": {
"foo": "bar"
},
"name": "Large (60x40x30)",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"unit_of_length": "gr",
"updated_at": "2018-01-01T12:00:00.000Z",
"width": 40.0
},
"relationships": {
"attachments": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/relationships/attachments",
"related": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/attachments"
}
},
"parcels": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/relationships/parcels",
"related": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/parcels"
}
},
"stock_location": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/relationships/stock_location",
"related": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/stock_location"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/packages/xYZkjABcde/versions"
}
}
},
"meta": {
"mode": "test"
}
}
}