Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to register webhook that require filter like METAOBJECTS_CREATE #811

Open
3 tasks done
anhdd-kuro opened this issue Aug 7, 2024 · 1 comment
Open
3 tasks done

Comments

@anhdd-kuro
Copy link

anhdd-kuro commented Aug 7, 2024

Issue summary

Before opening this issue, I have:

  • Upgraded to the latest version of the @shopify packages
    • Affected @shopify/shopify-* package and version: latest
    • Node version: 20x
    • Operating system: macos
  • Looked for similar issues in this repository
  • Checked that this isn't an issue with a Shopify API

I want to register metaobject create webhook that require filter but there isn't an option for that , what is the meaning of "context" ? I tried it but not work

Expected behaviora

Can register webhook

Actual behavior

faild because filter is not provied

@lizkenyon
Copy link
Contributor

Hi there 👋

You can use filters when creating webhook subscriptions in the shopify.app.toml file.

At this time you can't specify filters when registering webhook subscriptions in the shopifyApp object. I will bring this feedback back to the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants