Skip to content

Newsletter

The Newsletter menu lets a customer subscribe to the store's newsletter on the current channel. Use it to wire a "subscribe" action into the storefront so shoppers can opt in to marketing emails.

Operations in this menu

OperationMethod & PathDescription
Subscribe to NewsletterPOST /api/shop/newslettersSubscribe the customer to the newsletter.

The Newsletter endpoint requires the storefront key and a customer Bearer token — see Authentication.

Released under the MIT License.