Authorizations
Access token
Body
application/json
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/campaigns/newsletter-subscribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>"
}'
{
"message": "<string>",
"success": true
}
Subscribe to newsletter
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/campaigns/newsletter-subscribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>"
}'
{
"message": "<string>",
"success": true
}
Access token
Was this page helpful?