Adobe Commerce only. Learn more
giftRegistryIdSearch query
The giftRegistryIdSearch
query returns a list of gift registries that match the specified registry ID. The ID is included in the email the application sends to invitees on behalf of the registrant.
Syntax
Copied to your clipboardgiftRegistryIdSearch(giftRegistryUid: String!): [GiftRegistrySearchResult]
Reference
The giftRegistryIdSearch
reference provides detailed information about the types and fields defined in this query.
Example usage
The following example returns details about the specified gift registry.
Request:
Copied to your clipboardquery{giftRegistryIdSearch(giftRegistryUid: "W9YcRai9JmzGglqP3p0USodTTM3BmjjY"){event_dateevent_titlegift_registry_uidnametype}}
Response:
Copied to your clipboard{"data": {"giftRegistryIdSearch": [{"event_date": "2021-01-28","event_title": "Theo's 45th Birthday","gift_registry_uid": "W9YcRai9JmzGglqP3p0USodTTM3BmjjY","name": "Stacey Gaines","type": "Birthday"}]}}