Is there a `companies/update` webhook topic?

Shopify Partner
4 1 0

I'm working on an app with a b2b focus, and I'd like to have access to a webhook to see when the shop owner updates a company in the system. I can find many webhooks in the topics list, including `customers/update`, but not any that relate to companies. I thought perhaps `customers/update` included companies, but it does not. Does this functionality exist? Are there any viable workarounds if it doesn't?

Reply 1 (1)

Shopify Staff
1326 218 460

Hey @tobiasatportul, 

After a bit of digging, it looks like there aren't currently webhook topic for the B2B objects currently available. There is always a updated list of webhook topics listed in both the REST webhook doc and GraphQL WebhookSubscriptionTopic emun doc, as well as example payloads.

While topics correspond with an action associated with a specific object/resource, not all objects/actions trigger a webhook (eg. the company object here). In this case, the customer and company objects aren't specifically related, and based on our docs there are webhooks for the B2B objects. 

We did have a few ideas for workarounds. First, though webhooks for the most part send a predefined payload, there are other ways to attach important or unique data depending on the object by using metafields - examples of how to create a customer metafield in REST as well as in GraphQL. Alternatively, you could also experiment with a BulkOperation query to pull the data with a more asynchronous approach.

Hope this offers some clarification, and a few ideas to test for the time being - Cheers!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog