---
title: "Get customer referral code and link"
method: GET
path: "/vendor/customer-relationship/{customerShopifyId}/referral-link"
tags: ["Customer"]
---

# Get customer referral code and link

`GET /vendor/customer-relationship/{customerShopifyId}/referral-link`

## Path parameters

- `customerShopifyId` string, required

## Response `200`

Successful response

- object
  - `code` string
  - `link` string

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/smartrr/apis/smartrr-api.md) · [All operations](https://skmtc.net/smartrr/apis/smartrr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartrr/smartrr-api/revisions/da24e062ff11/schema)
