Install a module from a tarball with an approved permission grant
POST
/admin/v1/modules/install
const url = 'https://your-store.example.com/admin/v1/modules/install';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-store.example.com/admin/v1/modules/install