order-custom-data-updated
Get notified whenever the legacyCustomData
field on an order or order item is updated. In addition to order data, this webhook also sends a JSON payload containing the differences between the previous and updated custom data, allowing systems to track changes effectively.
"legacyCustomDataDiff": {
"$comment": "If old is null, the key is new. If new is null, the key is removed",
"key": {
"new": "value",
"old": "old-value"
},
"key2": {
"new": "value",
"old": null
},
"key3": {
"new": null,
"old": "value"
}
}