Skip to main content
POST
Enroll a customer in the loyalty program. If the customer is already enrolled, their existing record is returned with 200 OK instead. Only shopify_customer_id is required — the endpoint fetches the customer’s name, email, and account creation date directly from Shopify.

Request body

Response

Returns 201 Created on successful enrollment, or 200 OK if the customer was already enrolled. The response shape matches the customer object.

Errors