abandonmentEmailStateUpdate - admin-graphql - MUTATION
Version: 2024-04
Description:
Updates the email state value for an abandonment.
Access Scopes
`write_marketing_events` access scope.
Arguments
-
emailSentAt:
DateTime -
The date and time for when the email was sent, if that is the case.
-
emailState:
AbandonmentEmailState! -
The new email state of the abandonment.
-
emailStateChangeReason:
String -
The reason why the email was or was not sent.
-
id:
ID! -
The ID of the abandonment that needs to be updated.
Returns
-
abandonment:
Abandonment
The updated abandonment.
-
userErrors:
AbandonmentEmailStateUpdateUserError!
The list of errors that occurred from executing the mutation.
Examples