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?
Solved! Go to the solution
This is an accepted solution.
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.
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
User | Count |
---|---|
16 | |
12 | |
7 | |
5 | |
5 |