Skip to Content
API ReferenceStore settings

Store alert settings

Turn the email the store owner gets for each sale on or off.

This setting controls the sale email to the store owner. Other alerts are configured elsewhere: email and Discord destinations under notification channels, and the dashboard's bell under notifications.

GET
/v2/store/settings/store-alerts

Get whether the store owner gets an email for each sale. Other alerts go to notification channels (/v2/store/notification-channels) and to the dashboard notifications (/v2/notifications). The response body can be sent back to PUT /v2/store/settings/store-alerts unchanged. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/store/settings/store-alerts' \  -H 'X-STORE: launch-lab'
{  "data": {    "sale_emails_enabled": true  }}
PATCH
/v2/store/settings/store-alerts

Turn the sale emails to the store owner on or off. Sending the same change again is safe. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
sale_emails_enabled?boolean

Whether the store owner gets an email for each sale.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://sell.app/api/v2/store/settings/store-alerts' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "sale_emails_enabled": false}'
{  "data": {    "sale_emails_enabled": false  }}
PUT
/v2/store/settings/store-alerts

Set the sale emails to the store owner; sale_emails_enabled is required. Sending the same body again is safe. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
sale_emails_enabled*boolean

Whether the store owner gets an email for each sale.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/store/settings/store-alerts' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "sale_emails_enabled": false}'
{  "data": {    "sale_emails_enabled": false  }}