---
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.dev/smartrr/apis/smartrr-api.md) · [All operations](https://skmtc.dev/smartrr/apis/smartrr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smartrr/apis/smartrr-api/revisions/8c6958a80628?raw)
