Affiliates

Audited changes to a customer’s lifetime referrer

GET
/v1/stores/{storeId}/customers/{customerId}/referrer/history

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
customerId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/customers/string/referrer/history"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",      "previousAffiliateId": "1f3210dd-5314-4854-8025-5b33a1121ced",      "nextAffiliateId": "8bd9a770-42b2-49df-bd62-b0cbcc57dbec",      "reason": "string",      "changedBy": "string",      "createdAt": "string"    }  ]}