Attaches a campaign to the entitlement as a manual touch.
const url = 'https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/campaign-attributions';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"campaignId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/campaign-attributions \ --header 'Content-Type: application/json' \ --data '{ "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Entitlement id.
Request Bodyrequired
Section titled “Request Bodyrequired”Attribution payload (campaign id).
Admin request to attach a campaign to an entitlement as a manual touch.
object
Examplegenerated
{ "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Admin request to attach a campaign to an entitlement as a manual touch.
object
Examplegenerated
{ "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Admin request to attach a campaign to an entitlement as a manual touch.
object
Examplegenerated
{ "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “Responses”OK
One campaign touch on an entitlement, denormalized with the campaign’s display fields. The entitlement’s earliest Issuance or Manual touch claims its revenue (first-touch attribution).
object
Campaign display name; kept even when the campaign has since been deleted.
How a campaign touched an entitlement.
When the touch was recorded.
One campaign touch on an entitlement, denormalized with the campaign’s display fields. The entitlement’s earliest Issuance or Manual touch claims its revenue (first-touch attribution).
object
Campaign display name; kept even when the campaign has since been deleted.
How a campaign touched an entitlement.
When the touch was recorded.
Example
{ "touchpoint": "Issuance"}One campaign touch on an entitlement, denormalized with the campaign’s display fields. The entitlement’s earliest Issuance or Manual touch claims its revenue (first-touch attribution).
object
Campaign display name; kept even when the campaign has since been deleted.
How a campaign touched an entitlement.
When the touch was recorded.
Example
{ "touchpoint": "Issuance"}Bad Request
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}