Page Summary
-
This method requires authorization.
-
Sets the store layout for an enterprise, which can be either "basic" or "custom".
-
The basic layout includes approved apps added to the available product set for a user, while a custom layout is enabled by setting
storeLayoutTypeto "custom" and providing ahomepageId. -
The request uses a PUT HTTP method and requires the
enterpriseIdpath parameter. -
The response structure includes the
kind,homepageId, andstoreLayoutTypeof the store layout.
Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.
Request
HTTP request
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/ enterpriseId /storeLayout
Parameters
enterpriseId
string
Authorization
This request requires authorization with the following scope:
| Scope |
|---|
https://www.googleapis.com/auth/androidenterprise
|
For more information, see the authentication and authorization page.
Request body
In the request body, supply data with the following structure:
{ "kind": "androidenterprise#storeLayout", "homepageId": string , "storeLayoutType": string }
homepageId
string
Not specifying a homepage is equivalent to setting the store layout type to "basic".
storeLayoutType
string
Acceptable values are:
- "
basic" - "
custom"
kind
string
Response
If successful, this method returns a response body with the following structure:
{ "kind": "androidenterprise#storeLayout", "homepageId": string , "storeLayoutType": string }
homepageId
string
Not specifying a homepage is equivalent to setting the store layout type to "basic".
storeLayoutType
string
Acceptable values are:
- "
basic" - "
custom"
kind
string

