Edit in GitHubLog an issue
Adobe Commerce only. Learn more

removeGiftRegistryRegistrants mutation

The removeGiftRegistryRegistrants mutation removes one or more registrants from the specified gift registry.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
mutation {
removeGiftRegistryRegistrants(
giftRegistryUid: ID!,
registrantsUid: [ID!]!
) {
RemoveGiftRegistryRegistrantsOutput
}
}

Reference

The removeGiftRegistryRegistrants reference provides detailed information about the types and fields defined in this mutation.

Example usage

The following example removes a registrant from the specified gift registry.

Request:

Copied to your clipboard
mutation{
removeGiftRegistryRegistrants(
giftRegistryUid: "W9YcRai9JmzGglqP3p0USodTTM3BmjjY",
registrantsUid: "OA=="
){
gift_registry {
uid
registrants {
uid
firstname
lastname
email
}
}
}
}

Response:

Copied to your clipboard
{
"data": {
"removeGiftRegistryRegistrants": {
"gift_registry": {
"uid": "W9YcRai9JmzGglqP3p0USodTTM3BmjjY",
"registrants": [
{
"uid": "Mg==",
"firstname": "Stacey",
"lastname": "Gaines",
"email": "staceyg@example.com"
}
]
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.