# Accept referral offer (GET) Accepts a referral offer using the referral token and email address via query parameters. This is a convenience endpoint that provides the same functionality as the POST version but via GET request. Useful for simple referral link implementations where query parameters are easier to construct. Creates a new customer referral record and may generate a welcome discount code for the referee. Endpoint: GET /loyalty/cp/api/referral-rules/accept-offer ## Query parameters: - `token` (string, required) Referral token received from the referrer Example: "abc123referraltoken" - `email` (string, required) Email address of the person accepting the referral Example: "newcustomer@example.com" ## Response 201 fields (application/json): - `id` (integer) - `message` (string) - `discountCode` (string) - `status` (string) Enum: "SUCCESS", "FAILED" ## Response 400 fields (application/json): - `id` (integer) - `message` (string) - `discountCode` (string) - `status` (string) Enum: "SUCCESS", "FAILED"