{
"data": {
"id": "xYZkjABcde",
"type": "links",
"links": {
"self": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde"
},
"attributes": {
"active": true,
"client_id": "xxxx-yyyy-zzzz",
"created_at": "2018-01-01T12:00:00.000Z",
"disabled_at": "2018-01-01T12:00:00.000Z",
"domain": "commercelayer.link",
"expires_at": "2018-01-02T12:00:00.000Z",
"item_type": "orders",
"metadata": {
"foo": "bar"
},
"name": "FW SALE 2023",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"scope": "market:id:GhvCxsElAQ,market:id:kJhgVcxZDr",
"starts_at": "2018-01-01T12:00:00.000Z",
"status": "pending",
"updated_at": "2018-01-01T12:00:00.000Z",
"url": "https://c11r.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ"
},
"relationships": {
"events": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/relationships/events",
"related": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/events"
}
},
"item": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/relationships/item",
"related": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/item"
}
}
},
"meta": {
"mode": "test"
}
}
}