Huge win, thanks @Gil-Shopify
Will there be a way to persist or copy the cart metafield to a draft order?
A specific example is for b2b orders that place their orders in a review state using the OrderReviewAddOperation.
Hi @Gil-Shopify, we need access to these via carrier service, both sent through to carrier service apps and also writable by carrier service apps as we need to be able to attach additional data to each rate which then gets saved onto the order, for example boxing information, or if a specific service has specific lead times etc.
Are they included in the webhook payload? I’m trying to read metafield data on orders/create webhook payload, but not able to read
@Atinder_Singh There’s no bulk update api for the metafield definitions but if you use configure your order metafield definitions via TOML Manage metafield definitions, they’ll get updated across all shops with your app installed.
I second this. Was there ever an answer?
@Gil-Shopify - there’s a gap here for B2B customers who submit orders as draft. The metafields are completely ignored. Is there a workaround?
@Gil-Shopify Is this a synchronous process for order creation? Can I safely assume that simply listening to orders/create webhook, and then calling Shopify back to query order metadata data is sufficient?
Hi @Ranjit_Singh, that’s correct. While it’s on the unstable API, also take a look at Events for Orders which will allow you to include Metafield data: Order.
Thanks for confirming. And yes, exploring Events and seem like a good way to avoid roundtrips to Shopify.
@Gil-Shopify any chance there is an answer / update on B2B checkouts that submit as draft? This seems to not carry cart metafields over to draft orders.