curl --request GET \
--url http://{defaultHost}/api/v2/platform/digital_links/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "6",
"type": "digital_link",
"attributes": {
"token": "vxRU3WSqXJ2J2WbjaC2kLHpg",
"access_counter": 0
},
"relationships": {
"digital": {
"data": {
"id": "6",
"type": "digital"
}
},
"line_item": {
"data": {
"id": "14",
"type": "line_item"
}
}
}
}
}
Returns a Digital Link
curl --request GET \
--url http://{defaultHost}/api/v2/platform/digital_links/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "6",
"type": "digital_link",
"attributes": {
"token": "vxRU3WSqXJ2J2WbjaC2kLHpg",
"access_counter": 0
},
"relationships": {
"digital": {
"data": {
"id": "6",
"type": "digital"
}
},
"line_item": {
"data": {
"id": "14",
"type": "line_item"
}
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Record found
The response is of type object
.
Was this page helpful?