Hi everyone,
I need to store additional data in order metafields at the time of order creation. Specifically, I want to save custom attributes such as extra pricing details, special instructions, or any other metadata. I’m looking for the best approach to achieve this: Using Shopify Functions or Checkout UI Extensions – Is there a way to modify order metafields dynamically before the order is placed? Via Shopify Webhooks – Can I listen for the orders/create webhook and update metafields immediately after order creation? With Shopify Admin API – Is there a way to programmatically add metafield data when an order is created? If anyone has implemented a similar solution or has best practices to share, I’d really appreciate your insights!
Thanks in advance!