Search Documentation
Search for a documentation page...
Subscribers API
REST API endpoints for newsletter subscriber management.
Create Subscriber
Adds an email address to the store's subscriber list. If the email is already subscribed, returns a 200 with { status: "already_subscribed" } instead of creating a duplicate.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Subscriber email address |
name | string | No | Subscriber display name |
Response (201)
Already Subscribed (200)
Delete Subscriber
Unsubscribes an email address.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email to unsubscribe |