- Retrieve a customer's lead source
Retrieves lead source data for a customer with a specified ID.
A lead source is the marketing campaign that generates customer interaction, a sale, or a trial. For more information, see Lead source attribution.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/customers/{id}/lead-source
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/customers/{id}/lead-source
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/customers/{id}/lead-source
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/customers/{id}/lead-source' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Lead source retrieved.
Category of the lead source traffic. For example, the medium could be organic search, Google ads, Display ads, and so on.
Domain, platform, or channel from which the lead source originates.
Content contained in the lead source content. For example, content could be graphics, video, and so on.
Individual or entity that is affiliated with the lead source.
Individual or entity that is associated with a lead source affiliate. In other products, this field may also be referred to as sub ID or click ID in some.
ID of the lead source click. This value is passed in the ad click URL for tracking and campaign attribution.
Lead source referrer URL.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
{ "medium": "string", "source": "string", "campaign": "string", "term": "string", "content": "string", "affiliate": "string", "subAffiliate": "string", "salesAgent": "string", "clickId": "string", "path": "string", "referrer": "https://www.rebilly.com", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ], "original": { "medium": "string", "source": "string", "campaign": "string", "term": "string", "content": "string", "affiliate": "string", "subAffiliate": "string", "salesAgent": "string", "clickId": "string", "path": "string", "referrer": "https://www.rebilly.com", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ] } }