marketing_settings_write
Store must have one of: CONTEXTUAL
Arguments
The destination and its secret.
Returns
A destination as Contextual published it on connect.
Connect Klaviyo, Attentive or Postscript to Contextual with its secret, as the Redo app does, and start sending the store’s enabled events to it. Returns the destination as published; read contextualDestinationHealth for its event delivery. Reuses the store’s destination of that type when its status is DISCONNECTED or ERROR. BAD_USER_INPUT (400) for an empty key; ACTION_REJECTED (422) when the store’s Contextual isn’t set up yet: set up its tracking subdomain with contextualTrackingDomainCreate first; CONFLICT (409) when that destination is already connected: delete it first.
marketing_settings_write
Store must have one of: CONTEXTUAL