Is there a way to pass some data to Shopify when a checkout occurs and to get the same data back in our webhook when an order for that checkout is generated?
Hi @sayali ,
I do no believe there is any functionality in Shopify that will allow you to achieve this.
The closest thing I can think of is that if you use the Storefront API, when creating a checkout you can set the field “customAttribute” to set any custom key-value pair you want on that checkout: https://shopify.dev/docs/storefront-api/reference/object/checkout?api[version]=2020-04 However I do not believe this custom attribute information would be made available in the order/create webhook payload, but it could be worth testing out.