Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Collections/Delete webhook payload is incomplete

Collections/Delete webhook payload is incomplete

print-on-demand
Shopify Partner
6 0 1

Whenever collections/delete webhook gets triggered, I get a payload that looks like this:

 

{
  "id": 482074067232
}

 

This is problematic because the documentation says this is the payload

 

{
  "id": 408372092144951419,
  "published_scope": "web",
  "admin_graphql_api_id": "gid://shopify/Collection/408372092144951419"
}

 

So I dont get the `admin_graphql_api_id` field. This is a problem because I'm trying to migrate our app to use gql ids everywhere rather than the raw ids.

This seems like a bug. Or is this expected?

Replies 3 (3)

Liam
Community Manager
3108 344 910

Hi - I'm connecting with our product team on this, will get back to you on this asap!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Liam
Community Manager
3108 344 910

Which API version are you using?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

print-on-demand
Shopify Partner
6 0 1

2024-04