How can I add custom fields at checkout and link them to an API?

How can I add custom fields at checkout and link them to an API?

SP4mata
Visitor
2 0 0

I would like to know how to add custom fields to the checkout page and add a click event once the checkout is successful with the data within the custom fields.

I was able to add custom fields to the inline cart items and configure the checkout webhook, but I noticed that those custom fields data does not get sent with the Shopify webhook.

What I need: 
Ability to add custom fields at checkout
Ability to send those custom data fields to an API/endpoint.

Challenges: 
I can only add custom fields to the inline item page. 
Those fields are not passed over to the Shopify checkout webhook.

Any thoughts? Thanks! 😊

Reply 1 (1)

rover321
New Member
8 0 0

Hi,

 

I also too need to add some custom fields to the checkout, ideally, different depending on the SKU somehow. Could you tell be how you managed this part?

Also, I too would like these fields passed back via the order/create webhook. Did you get anywhere here too?

 

Thanks, in advance.