---
title: "Enroll customer in loyalty program"
method: POST
path: "/api/external/enroll-customer"
tags: ["Customer Enrollment & Profile"]
---

# Enroll customer in loyalty program

`POST /api/external/enroll-customer`

## Query parameters

- `customer_id` integer, required

## Headers

- `X-API-Key` string, required

## Response `200`

Customer successfully enrolled in loyalty program

- string

## Other responses

- `400` — Invalid request - Missing or invalid customer ID. Common causes: customer_id parameter missing, customer_id is not a valid number, or customer doesn't exist in Shopify.
- `401` — Unauthorized - Invalid or missing X-API-Key. Verify your API key is correct and included in the X-API-Key header.

---

[API](https://skmtc.dev/appstle/apis/admin-apis.md) · [All operations](https://skmtc.dev/appstle/apis/admin-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/appstle/admin-apis/revisions/27286503779d/schema)
