loading...

re: BigCommerce – Creating a WebHook VIEW POST

FULL DISCUSSION
 

Hello Jason, I'm working with BigCommerce WebHooks and I was wondering if you know if the body message of a product update change or not.

I mean, many events can trigger store/product/updated how do I know which information has changed?

{
"scope": "store/product/updated",
"store_id": "123456",
"data": {
"type": "product", <------ (Does this change????)
"product_id": 185
},
"hash": "dc475e1059f2a67a55818bea29bf6b23ebbda707",
"created_at": 1535480603,
"producer": "stores/abcdefg"
}

 

I don't work with BigCommerce anymore but in my experience their web hooks are always lightweight meaning they only ever send you the id of the object you subscribed to. Its up to you to pull the details of that object via their API and compare the changes, if any, yourself.

code of conduct - report abuse