How can I update the app handle slug URL in a TOML file?

How can I update the app handle slug URL in a TOML file?

muhammad_haroon
Shopify Partner
34 0 2

I'm a newbie Shopify app dev. How do i update app handle from TOML file? In this doc https://shopify.dev/docs/apps/tools/cli/configuration#global mentioned an option "handle" at the same place with "name, client_id" but when I try add this option the result when run "npm run deploy" as below:

muhammad_haroon_0-1711514881384.png

So, What schema structure for this option "handle" is correct?

Reply 1 (1)

BenHarkins
Shopify Partner
18 0 4

It looks like handle only gets updated when you release a new version (after switching configs). I switched the handle, ran my production deployment, and the handle updated

 

With the Shopify CLI:

  • shopify app config use
    • select your production config, with the updated handle
  • shopify app deploy
    • updated handle now appears in the admin