The Asset API resource

The Asset REST Admin API resource reads, adds, changes, or removes theme files.

Starting with Admin API 2023-04, Asset resource PUT or DEL requests are restricted using the write_themes access scope. If an app that's distributed in the Shopify App Store needs to use Asset resource PUT or DEL requests, then it needs to be granted an exemption by Shopify to use the write_themes access scope.

As an alternative, you can use theme app extensions, or instruct merchants how to add code to their theme using the following tools:

Apps must obtain an exemption or migrate before March 31, 2024.

Review the sections below to learn whether your app is eligible for an exemption, and how to apply for an exemption, and some alternatives to the Asset resource that you might consider for your app.

You can still use the Asset resource to read theme files without an exemption.