Customers
Set Customer Newsletter
Changed onSubscribes or unsubscribes a customer from the shop's newsletter. Only subscribe a customer who actually consented; a subscribed customer can be targeted by your email campaigns and automations.
put/v1/shops/{shopId}/customers/{customerId}/newsletter
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"newsletter": true
}Changes
- info
endpoint added
- info