Hi everyone, I need your help. For an update, I’m going to take my freight api offline. Can the most recent freight data be frozen until my API is back online?
That way we can calculate the delivery cost until the API is back.
I don’t believe Shopify a built-in mechanism to “freeze” or cache freight/delivery cost data automatically if your external freight API goes offline, but you can use a metafield on the Shop, Order, or another relevant resource to store the last known freight/delivery cost.
When your API is online, update this metafield with the latest freight data and when your API is offline, you can read from this metafield to calculate delivery costs.