Set Store Layout

Sets the store layout for the enterprise

4 variables
3 variables

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

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage corporate Android devices

Input

This building block consumes 4 input parameters

  = Parameter name
  = Format

enterpriseId STRING Required

The ID of the enterprise

homepageId STRING

The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store.

Not specifying a homepage is equivalent to setting the store layout type to "basic"

kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayout"

storeLayoutType STRING

The store layout type. By default, this value is set to "basic" if the homepageId field is not set, and to "custom" otherwise. If set to "basic", the layout will consist of all approved apps that have been whitelisted for the user

Output

This building block provides 3 output parameters

  = Parameter name
  = Format

homepageId STRING

The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store.

Not specifying a homepage is equivalent to setting the store layout type to "basic"

kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayout"

storeLayoutType STRING

The store layout type. By default, this value is set to "basic" if the homepageId field is not set, and to "custom" otherwise. If set to "basic", the layout will consist of all approved apps that have been whitelisted for the user