Is it possible to edit checkout.liquid via API?

We have customized our checkout.liquid theme file to use metafields.

The metafields get updated via API.

The issue is that the checkout.liquid file gets cached on Shopify’s servers, and the cache is NOT reset when metafields are updated.

We are wondering if there is a way to trigger a cache reset via API, so that the checkout.liquid file will reflect any recent metafield updates.

Thanks!