Adobe Commerce only.
Learn more.
removeGiftRegistry mutation
The removeGiftRegistry
mutation deletes the specified registry from the customers list of gift registries.
This mutation requires a valid customer authentication token.
Syntax
1
removeGiftRegistry ( giftRegistryUid ID! ) RemoveGiftRegistryOutput
Example usage
The following example deletes the specified gift registry.
Request:
1
2
3
4
5
mutation{
removeGiftRegistry(giftRegistryUid: "lobehNsInxfDeTt290DO5vH6DVltN74S"){
success
}
}
Response:
1
2
3
4
5
6
7
{
"data": {
"removeGiftRegistry": {
"success": true
}
}
}
Input attributes
The removeGiftRegistry
mutation requires the following input.
Attribute | Data Type | Description |
---|---|---|
giftRegistryUid |
ID! | The unique ID of the gift registry to update |
Output attributes
The RemoveGiftRegistryOutput
output object contains the following attribute:
Attribute | Data Type | Description |
---|---|---|
success |
Boolean! | Indicates whether the gift registry was successfully deleted |