Syncing Shopify product changes with Salesforce products

Solved
msupeck
New Member
1 0 0

I am looking to sync Shopify and Salesforce so that when I update product information on Shopify, such as item price, it will fire an event that will send an API call to Salesforce to update the product record. Am I able to do this using the Shopify webhook? Is product modified a valid event to send webhook calls? Will I need to just alert Salesforce that the product has changed, then have Salesforce call a Shopify endpoint to get the data? Or can Shopify send this all in the original payload? If you have any other ideas, I would love to hear them.

0 Likes
Visely-Team
Shopify Partner
1837 210 420

This is an accepted solution.

Yes you can do that using webhooks. The event you are looking for (most probably) is products/update and you can specify which fields of the product you want Shopify to send with the payload using fields field :) when creating the webhook - https://help.shopify.com/en/api/reference/events/webhook#properties-2020-01

 

A safer approach would still be for you to send only the product ID to Salesforce and Salesforce to pull the most up to date data from Shopify using the product ID and Shopify API.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
araujoguntin
New Member
3 0 0

Hi

I don't know if my message is too late. I've developed a Salesforce and Shopify integration... It's a Salesforce package with contains the object, apex classes, and flow to add your customer and orders in Shopify to Salesforce.

https://github.com/greenxolutions/salesforce-shopify

I appreciate your comments.

Thanks,
Pedro

0 Likes