SetupOnboardingController_activateTheme
POST
/setup/v1/themes/activate
const url = 'https://your-store.example.com/setup/v1/themes/activate';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"themeId":"example"}'};
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/setup/v1/themes/activate \ --header 'Content-Type: application/json' \ --data '{ "themeId": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
themeId
required
string
Example generated
{ "themeId": "example"}