curl --request GET \
--url http://{defaultHost}/api/v2/platform/promotion_actions/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "10",
"type": "promotion_action",
"attributes": {
"position": null,
"type": null,
"deleted_at": null,
"created_at": "2022-11-08T19:34:56.411Z",
"updated_at": "2022-11-08T19:34:56.411Z"
},
"relationships": {
"promotion": {
"data": {
"id": "8",
"type": "promotion"
}
}
}
}
}Returns a Promotion Action
curl --request GET \
--url http://{defaultHost}/api/v2/platform/promotion_actions/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "10",
"type": "promotion_action",
"attributes": {
"position": null,
"type": null,
"deleted_at": null,
"created_at": "2022-11-08T19:34:56.411Z",
"updated_at": "2022-11-08T19:34:56.411Z"
},
"relationships": {
"promotion": {
"data": {
"id": "8",
"type": "promotion"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes
Was this page helpful?