Newsletter
Canonical Actions
Actions available for implementation and usage
Canonical actions can be imported from the @laioutr-core/canonical-types
package. They represent actions that are common in an ecommerce application and may have different implementations depending on the app.
SubscribeAction newsletter/subscribe
Input
email
string required
Email is the only required field.
source
string
phone
PhoneNumber
person
object
address
object
customFields
CustomFields
Output
status
"success" | "error" | "already-subscribed" required