{
"data": {
"id": "xYZkjABcde",
"type": "links",
"links": {
"self": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde"
},
"attributes": {
"name": "FW SALE 2023",
"client_id": "xxxx-yyyy-zzzz",
"scope": "market:id:GhvCxsElAQ,market:id:kJhgVcxZDr",
"starts_at": "2018-01-01T12:00:00.000Z",
"expires_at": "2018-01-02T12:00:00.000Z",
"active": true,
"status": "pending",
"domain": "commercelayer.link",
"url": "https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ",
"item_type": "orders",
"params": {
"param1": "ABC",
"param2": "XYZ"
},
"disabled_at": "2018-01-01T12:00:00.000Z",
"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": {
"item": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/relationships/item",
"related": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/item"
}
},
"events": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/relationships/events",
"related": "https://yourdomain.commercelayer.io/api/links/xYZkjABcde/events"
}
}
},
"meta": {
"mode": "test"
}
}
}