Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to marketingActivitiesDeleteAllExternal

marketingActivitiesDeleteAllExternal

mutation

Requires write_marketing_events access scope.

Deletes all external marketing activities. Deletion is performed by a background job, as it may take a bit of time to complete if a large number of activities are to be deleted. Attempting to create or modify external activities before the job has completed will result in the create/update/upsert mutation returning an error.

Anchor to MarketingActivitiesDeleteAllExternalPayload returnsMarketingActivitiesDeleteAllExternalPayload returns

The asynchronous job that performs the deletion. The status of the job may be used to determine when it's safe again to create new activities.

The list of errors that occurred from executing the mutation.


Was this section helpful?