# Google Merchant Center

> Read Merchant API v1 products, data sources, settings and issues, and register your Google Cloud project.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/google-merchant-center

## Actions

### Get account

Get account.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): The `Account` message represents a business's account within Merchant Center. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on. For more information, see [Sign up for Merchant Center](https://support.google.com/merchants/answer/188924), [Manage accounts and settings](https://developers.google.com/merchant/api/guides/accounts/overview), [Create accounts](https://developers.google.com/merchant/api/guides/accounts/create-accounts), [Create test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts), and [Filter accounts you can access](https://developers.google.com/merchant/api/guides/accounts/filter).

**Example output**

```json
{
  "data": {
    "accountId": "example",
    "accountName": "example",
    "adultContent": false,
    "homePageUri": "example",
    "languageCode": "example",
    "name": "example",
    "testAccount": false,
    "timeZone": {
      "id": "example",
      "version": "example"
    }
  }
}
```

### Get automatic improvements

Get automatic improvements.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): Collection of information related to the [automatic improvements](https://support.google.com/merchants/answer/12157888) of an account. For more information, see [Enable automatic improvements](https://developers.google.com/merchant/api/guides/automatic-improvements/overview).

**Example output**

```json
{
  "data": {
    "imageImprovements": {
      "accountImageImprovementsSettings": {
        "allowAutomaticImageImprovements": false
      },
      "effectiveAllowAutomaticImageImprovements": false
    },
    "itemUpdates": {
      "accountItemUpdatesSettings": {
        "allowAvailabilityUpdates": false,
        "allowConditionUpdates": false,
        "allowPriceUpdates": false,
        "allowStrictAvailabilityUpdates": false
      },
      "effectiveAllowAvailabilityUpdates": false,
      "effectiveAllowConditionUpdates": false,
      "effectiveAllowPriceUpdates": false,
      "effectiveAllowStrictAvailabilityUpdates": false
    },
    "name": "example",
    "shippingImprovements": {
      "allowShippingImprovements": false
    }
  }
}
```

### Get business info

Get business info.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): The `BusinessInfo` message contains essential information about a business. This message captures key business details such as physical address, customer service contacts, and region-specific identifiers. For more information, see [Add your business information](https://support.google.com/merchants/answer/14286818#add_bus_info) and [Update your business information](https://developers.google.com/merchant/api/guides/accounts/create-accounts#update_your_business_information).

**Example output**

```json
{
  "data": {
    "address": {
      "addressLines": [],
      "administrativeArea": "example",
      "languageCode": "example",
      "locality": "example",
      "organization": "example",
      "postalCode": "example",
      "recipients": [],
      "regionCode": "example",
      "revision": 1,
      "sortingCode": "example",
      "sublocality": "example"
    },
    "customerService": {
      "email": "example",
      "phone": {
        "e164Number": "example",
        "extension": "example",
        "shortCode": {
          "number": "example",
          "regionCode": "example"
        }
      },
      "uri": "example"
    },
    "koreanBusinessRegistrationNumber": "example",
    "name": "example",
    "phone": {
      "e164Number": "example",
      "extension": "example",
      "shortCode": {
        "number": "example",
        "regionCode": "example"
      }
    },
    "phoneVerificationState": "PHONE_VERIFICATION_STATE_UNSPECIFIED"
  }
}
```

### Get data source

Get data source.

**Inputs**

- Account (`account_id`, text, required): Account id.
- Resource (`resource_id`, text, required): Resource id.

**Outputs**

- `data` (object): The [data source](https://developers.google.com/merchant/api/guides/data-sources/overview) for the Merchant Center account. For more information, see [Manage API data sources](https://developers.google.com/merchant/api/guides/data-sources/api-sources) and [Manage various data source types](https://developers.google.com/merchant/api/guides/data-sources/manage-various-data-sources).

**Example output**

```json
{
  "data": {
    "dataSourceId": "example",
    "displayName": "example",
    "fileInput": {
      "fetchSettings": {
        "dayOfMonth": 1,
        "dayOfWeek": "DAY_OF_WEEK_UNSPECIFIED",
        "enabled": false,
        "fetchUri": "example",
        "frequency": "FREQUENCY_UNSPECIFIED",
        "password": "example",
        "timeOfDay": {
          "hours": 1,
          "minutes": 1,
          "nanos": 1,
          "seconds": 1
        },
        "timeZone": "example",
        "username": "example"
      },
      "fileInputType": "FILE_INPUT_TYPE_UNSPECIFIED",
      "fileName": "example"
    },
    "input": "INPUT_UNSPECIFIED",
    "localInventoryDataSource": {
      "contentLanguage": "example",
      "feedLabel": "example"
    },
    "merchantReviewDataSource": {},
    "name": "example",
    "primaryProductDataSource": {
      "contentLanguage": "example",
      "countries": [],
      "defaultRule": {
        "takeFromDataSources": []
      },
      "destinations": [],
      "feedLabel": "example",
      "legacyLocal": false
    },
    "productReviewDataSource": {},
    "promotionDataSource": {
      "contentLanguage": "example",
      "targetCountry": "example"
    },
    "regionalInventoryDataSource": {
      "contentLanguage": "example",
      "feedLabel": "example"
    },
    "supplementalProductDataSource": {
      "contentLanguage": "example",
      "feedLabel": "example",
      "referencingPrimaryDataSources": []
    }
  }
}
```

### Get homepage

Get homepage.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): The `Homepage` message represents a business's store homepage within the system. A business's homepage is the primary domain where customers interact with their store. The homepage can be claimed and verified as a proof of ownership and allows the business to unlock features that require a verified website. For more information, see [Understanding online store URL verification](//support.google.com/merchants/answer/176793). For step-by-step instructions, see [Manage homepage settings](https://developers.google.com/merchant/api/guides/accounts/manage-homepage-settings).

**Example output**

```json
{
  "data": {
    "claimed": false,
    "name": "example",
    "uri": "example"
  }
}
```

### Get product

Get product.

**Inputs**

- Account (`account_id`, text, required): Account id.
- Resource (`resource_id`, text, required): Resource id.

**Outputs**

- `data` (object): The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions. For product ingestion workflows and status checks, see [Manage products](https://developers.google.com/merchant/api/guides/products/overview), [Add and manage products](https://developers.google.com/merchant/api/guides/products/add-manage), and [List your products data and product issues](https://developers.google.com/merchant/api/guides/products/list-products-data-issues).

**Example output**

```json
{
  "data": {
    "archived": false,
    "automatedDiscounts": {
      "gadPrice": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "priorPrice": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "priorPriceProgressive": {
        "amountMicros": "example",
        "currencyCode": "example"
      }
    },
    "base64EncodedName": "example",
    "contentLanguage": "example",
    "customAttributes": [],
    "dataSource": "example",
    "feedLabel": "example",
    "legacyLocal": false,
    "name": "example",
    "offerId": "example",
    "productAttributes": {
      "additionalImageLinks": [],
      "adsGrouping": "example",
      "adsLabels": [],
      "adsRedirect": "example",
      "adult": false,
      "ageGroup": "AGE_GROUP_UNSPECIFIED",
      "amenityFeature": [],
      "autoPricingMinPrice": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "availability": "AVAILABILITY_UNSPECIFIED",
      "availabilityDate": "example",
      "bodyStyle": "VEHICLE_BODY_STYLE_UNSPECIFIED",
      "brand": "example",
      "canonicalLink": "example",
      "carrierShipping": [],
      "certifications": [],
      "certifiedPreOwned": false,
      "cloudExportAdditionalProperties": [],
      "co2Emissions": {
        "unit": "UNIT_UNSPECIFIED",
        "value": "example"
      },
      "color": "example",
      "condition": "CONDITION_UNSPECIFIED",
      "costOfGoodsSold": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "customLabel0": "example",
      "customLabel1": "example",
      "customLabel2": "example",
      "customLabel3": "example",
      "customLabel4": "example",
      "dateFirstRegistered": "example",
      "description": "example",
      "disclosureDate": "example",
      "displayAddress": {
        "city": "example",
        "postalCode": "example",
        "region": "example",
        "streetName": "example",
        "streetNumber": "example"
      },
      "displayAdsId": "example",
      "displayAdsLink": "example",
      "displayAdsSimilarIds": [],
      "displayAdsTitle": "example",
      "displayAdsValue": 1.0,
      "documentLinks": [],
      "electricRange": {
        "unit": "UNIT_UNSPECIFIED",
        "value": "example"
      },
      "emissionsStandard": "EMISSIONS_STANDARD_UNSPECIFIED",
      "energyConsumption": {
        "unit": "UNIT_UNSPECIFIED",
        "value": 1.0
      },
      "energyEfficiencyClass": "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED",
      "engine": "ENGINE_TYPE_UNSPECIFIED",
      "excludedDestinations": [],
      "expirationDate": "example",
      "externalSellerId": "example",
      "freeShippingThreshold": [],
      "fuelConsumption": {
        "unit": "UNIT_UNSPECIFIED",
        "value": 1.0
      },
      "fuelConsumptionDischargedBattery": {
        "unit": "UNIT_UNSPECIFIED",
        "value": 1.0
      },
      "gender": "GENDER_UNSPECIFIED",
      "googleProductCategory": "example",
      "gtins": [],
      "handlingCutoffTimes": [],
      "identifierExists": false,
      "imageLink": "example",
      "includedDestinations": [],
      "installment": {
        "amount": {
          "amountMicros": "example",
          "currencyCode": "example"
        },
        "annualPercentageRate": 1.0,
        "creditType": "CREDIT_TYPE_UNSPECIFIED",
        "downpayment": {
          "amountMicros": "example",
          "currencyCode": "example"
        },
        "mileageAllowance": {
          "unit": "UNIT_UNSPECIFIED",
          "value": "example"
        },
        "months": "example",
        "totalAmount": {
          "amountMicros": "example",
          "currencyCode": "example"
        }
      },
      "isBundle": false,
      "itemGroupId": "example",
      "itemGroupTitle": "example",
      "latitude": 1.0,
      "leaseTerm": {
        "durationUnit": "DURATION_UNIT_UNSPECIFIED",
        "durationValue": "example",
        "type": "LEASE_TERM_TYPE_UNSPECIFIED"
      },
      "lifestyleImageLinks": [],
      "link": "example",
      "linkTemplate": "example",
      "longitude": 1.0,
      "loyaltyPoints": {
        "name": "example",
        "pointsValue": "example",
        "ratio": 1.0
      },
      "loyaltyPrograms": [],
      "material": "example",
      "maxEnergyEfficiencyClass": "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED",
      "maxHandlingTime": "example",
      "maximumRetailPrice": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "mileage": {
        "unit": "UNIT_UNSPECIFIED",
        "value": "example"
      },
      "minEnergyEfficiencyClass": "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED",
      "minHandlingTime": "example",
      "minimumOrderValues": [],
      "mobileLink": "example",
      "mobileLinkTemplate": "example",
      "model": "example",
      "mpn": "example",
      "multipack": "example",
      "neighborhood": "example",
      "numberOfBathrooms": 1.0,
      "numberOfBedrooms": 1.0,
      "numberOfUnits": "example",
      "pattern": "example",
      "pause": "PAUSE_UNSPECIFIED",
      "petPolicy": {
        "petTypes": [],
        "petsAllowed": false
      },
      "pickupCost": {
        "flatRate": {
          "amountMicros": "example",
          "currencyCode": "example"
        },
        "freeThreshold": {
          "amountMicros": "example",
          "currencyCode": "example"
        }
      },
      "pickupMethod": "PICKUP_METHOD_UNSPECIFIED",
      "pickupSla": "PICKUP_SLA_UNSPECIFIED",
      "popularityRank": 1.0,
      "price": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "productDetails": [],
      "productFee": [],
      "productHeight": {
        "unit": "example",
        "value": 1.0
      },
      "productHighlights": [],
      "productLength": {
        "unit": "example",
        "value": 1.0
      },
      "productTypes": [],
      "productWeight": {
        "unit": "example",
        "value": 1.0
      },
      "productWidth": {
        "unit": "example",
        "value": 1.0
      },
      "promotionIds": [],
      "propertyName": "example",
      "propertyType": "PROPERTY_TYPE_UNSPECIFIED",
      "questionsAndAnswers": [],
      "relatedProducts": [],
      "returnPolicyLabel": "example",
      "returns": [],
      "salePrice": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "salePriceEffectiveDate": {
        "endTime": "example",
        "startTime": "example"
      },
      "sellOnGoogleQuantity": "example",
      "shipping": [],
      "shippingHandlingBusinessDays": [],
      "shippingHeight": {
        "unit": "example",
        "value": 1.0
      },
      "shippingLabel": "example",
      "shippingLength": {
        "unit": "example",
        "value": 1.0
      },
      "shippingTransitBusinessDays": [],
      "shippingWeight": {
        "unit": "example",
        "value": 1.0
      },
      "shippingWidth": {
        "unit": "example",
        "value": 1.0
      },
      "shoppingAdsExcludedCountries": [],
      "shortTitle": "example",
      "size": "example",
      "sizeSystem": "SIZE_SYSTEM_UNSPECIFIED",
      "sizeTypes": [],
      "specialtyHousingType": "SPECIALTY_HOUSING_TYPE_UNSPECIFIED",
      "structuredDescription": {
        "content": "example",
        "digitalSourceType": "DIGITAL_SOURCE_TYPE_UNSPECIFIED"
      },
      "structuredTitle": {
        "content": "example",
        "digitalSourceType": "DIGITAL_SOURCE_TYPE_UNSPECIFIED"
      },
      "subscriptionCost": {
        "amount": {
          "amountMicros": "example",
          "currencyCode": "example"
        },
        "period": "SUBSCRIPTION_PERIOD_UNSPECIFIED",
        "periodLength": "example"
      },
      "sustainabilityIncentives": [],
      "title": "example",
      "transitTimeLabel": "example",
      "trim": "example",
      "unitArea": {
        "unit": "UNIT_UNSPECIFIED",
        "value": 1.0
      },
      "unitPricingBaseMeasure": {
        "unit": "example",
        "value": "example"
      },
      "unitPricingMeasure": {
        "unit": "example",
        "value": 1.0
      },
      "utilitiesIncluded": [],
      "variantOptions": [],
      "vehicleAllInPrice": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "vehicleExpenses": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "vehicleMandatoryInspectionIncluded": false,
      "vehicleMsrp": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "vehiclePriceType": "VEHICLE_PRICE_TYPE_UNSPECIFIED",
      "videoLinks": [],
      "vin": "example",
      "virtualModelLink": "example",
      "warranty": {
        "duration": "example",
        "durationUnit": "WARRANTY_DURATION_UNIT_UNSPECIFIED",
        "mileage": {
          "unit": "UNIT_UNSPECIFIED",
          "value": "example"
        }
      },
      "year": "example"
    },
    "productStatus": {
      "creationDate": "example",
      "destinationStatuses": [],
      "googleExpirationDate": "example",
      "itemLevelIssues": [],
      "lastUpdateDate": "example"
    },
    "versionNumber": "example"
  }
}
```

### Get region

Get region.

**Inputs**

- Account (`account_id`, text, required): Account id.
- Resource (`resource_id`, text, required): Resource id.

**Outputs**

- `data` (object): Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region), [Create and update regions](https://developers.google.com/merchant/api/guides/accounts/regions), and [Manage region batching](https://developers.google.com/merchant/api/guides/accounts/manage-region-batching).

**Example output**

```json
{
  "data": {
    "displayName": "example",
    "geotargetArea": {
      "geotargetCriteriaIds": []
    },
    "name": "example",
    "postalCodeArea": {
      "postalCodes": [],
      "regionCode": "example"
    },
    "radiusArea": {
      "latLng": {
        "latitude": 1.0,
        "longitude": 1.0
      },
      "radius": 1.0,
      "radiusUnits": "RADIUS_UNITS_UNSPECIFIED",
      "regionCode": "example"
    },
    "regionalInventoryEligible": false,
    "shippingEligible": false
  }
}
```

### Get return policy

Get return policy.

**Inputs**

- Account (`account_id`, text, required): Account id.
- Resource (`resource_id`, text, required): Resource id.

**Outputs**

- `data` (object): [Online return policy](https://support.google.com/merchants/answer/10220642) object. This is currently used to represent return policies for ads and free listings programs. For more information, see [Manage your online return policies](https://developers.google.com/merchant/api/guides/online-return-policies/overview).

**Example output**

```json
{
  "data": {
    "acceptDefectiveOnly": false,
    "acceptExchange": false,
    "countries": [],
    "itemConditions": [],
    "label": "example",
    "name": "example",
    "policy": {
      "days": "example",
      "type": "TYPE_UNSPECIFIED"
    },
    "processRefundDays": 1,
    "restockingFee": {
      "fixedFee": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "microPercent": 1
    },
    "returnLabelSource": "RETURN_LABEL_SOURCE_UNSPECIFIED",
    "returnMethods": [],
    "returnPolicyId": "example",
    "returnPolicyUri": "example",
    "returnShippingFee": {
      "fixedFee": {
        "amountMicros": "example",
        "currencyCode": "example"
      },
      "type": "TYPE_UNSPECIFIED"
    },
    "seasonalOverrides": []
  }
}
```

### Get shipping settings

Get shipping settings.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all its associated sub-accounts. For more information, see [Manage shipping settings](https://developers.google.com/merchant/api/guides/accounts/manage-shipping-settings).

**Example output**

```json
{
  "data": {
    "etag": "example",
    "name": "example",
    "services": [],
    "warehouses": []
  }
}
```

### Get user

Get user.

**Inputs**

- Account (`account_id`, text, required): Account id.
- Resource Id (`resource_id`, text, required): Resource id.

**Outputs**

- `data` (object): The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472) and [Control access to your account](https://developers.google.com/merchant/api/guides/accounts/control-access).

**Example output**

```json
{
  "data": {
    "accessRights": [],
    "name": "example",
    "state": "STATE_UNSPECIFIED"
  }
}
```

### List account issues

List account issues.

**Inputs**

- Pagetoken (`pageToken`, text): Optional. A page token, received from a previous `ListAccountIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountIssues` must match the call that provided the page token.
- Languagecode (`languageCode`, text): Optional. The issues in the response will have human-readable fields in the given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.
- Pagesize (`pageSize`, number): Optional. The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 100; values above 100 will be coerced to 100
- Account (`account_id`, text, required): Account id.
- Timezone (`timeZone`, text): Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in human-readable fields. For example 'America/Los_Angeles'. If not set, 'America/Los_Angeles' will be used.

**Outputs**

- `data` (object): Response message for the `ListAccountIssues` method.

**Example output**

```json
{
  "data": {
    "accountIssues": [],
    "nextPageToken": "example"
  }
}
```

### List accounts

List accounts.

**Inputs**

- Pagetoken (`pageToken`, text): Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token.
- Pagesize (`pageSize`, number): Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
- Filter (`filter`, text): Optional. Returns only accounts that match the [filter](https://developers.google.com/merchant/api/guides/accounts/filter). For more details, see the [filter syntax reference](https://developers.google.com/merchant/api/guides/accounts/filter-syntax).

**Outputs**

- `data` (object): Response message for the `accounts.list` method.

**Example output**

```json
{
  "data": {
    "accounts": [],
    "nextPageToken": "example"
  }
}
```

### List data sources

List data sources.

**Inputs**

- Pagesize (`pageSize`, number): Optional. The maximum number of data sources to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the maximum number of data sources will be returned.
- Account (`account_id`, text, required): Account id.
- Pagetoken (`pageToken`, text): Optional. A page token, received from a previous `ListDataSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataSources` must match the call that provided the page token.

**Outputs**

- `data` (object): Response message for the ListDataSources method.

**Example output**

```json
{
  "data": {
    "dataSources": [],
    "nextPageToken": "example"
  }
}
```

### List products

List products.

**Inputs**

- Pagetoken (`pageToken`, text): A page token, received from a previous `ListProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProducts` must match the call that provided the page token.
- Account (`account_id`, text, required): Account id.
- Pagesize (`pageSize`, number): The maximum number of products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the default page size of 25 products will be returned.

**Outputs**

- `data` (object): Response message for the ListProducts method.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "products": []
  }
}
```

### List programs

List programs.

**Inputs**

- Pagetoken (`pageToken`, text): Optional. A continuation token, received from a previous `ListPrograms` call. Provide this to retrieve the next page.
- Pagesize (`pageSize`, number): Optional. The maximum number of programs to return in a single response. If unspecified (or 0), a default size of 1000 is used. The maximum value is 1000; values above 1000 will be coerced to 1000.
- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): Response message for the ListPrograms method.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "programs": []
  }
}
```

### List regions

List regions.

**Inputs**

- Pagesize (`pageSize`, number): Optional. The maximum number of regions to return. The service may return fewer than this value. If unspecified, at most 50 regions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
- Account (`account_id`, text, required): Account id.
- Pagetoken (`pageToken`, text): Optional. A page token, received from a previous `ListRegions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegions` must match the call that provided the page token.

**Outputs**

- `data` (object): Response message for the `ListRegions` method.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "regions": []
  }
}
```

### List return policies

List return policies.

**Inputs**

- Pagesize (`pageSize`, number): Optional. The maximum number of `OnlineReturnPolicy` resources to return. The service returns fewer than this value if the number of return policies for the given business is less that than the `pageSize`. The default value is 10. The maximum value is 100; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum
- Account (`account_id`, text, required): Account id.
- Pagetoken (`pageToken`, text): Optional. A page token, received from a previous `ListOnlineReturnPolicies` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListOnlineReturnPolicies` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

**Outputs**

- `data` (object): Response message for the `ListOnlineReturnPolicies` method.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "onlineReturnPolicies": []
  }
}
```

### List services

List services.

**Inputs**

- Pagetoken (`pageToken`, text): Optional. The token returned by the previous `list` request.
- Pagesize (`pageSize`, number): Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.
- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): Response after trying to list account services.

**Example output**

```json
{
  "data": {
    "accountServices": [],
    "nextPageToken": "example"
  }
}
```

### List users

List users.

**Inputs**

- Account (`account_id`, text, required): Account id.
- Pagesize (`pageSize`, number): Optional. The maximum number of users to return. The service may return fewer than this value. If unspecified, at most 50 users will be returned. The maximum value is 100; values above 100 will be coerced to 100
- Pagetoken (`pageToken`, text): Optional. A page token, received from a previous `ListUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUsers` must match the call that provided the page token.

**Outputs**

- `data` (object): Response message for the `ListUsers` method.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "users": []
  }
}
```

### Register Google Cloud project

Link the calling Google Cloud project to your Merchant Center account and add its API developer contact. Run this once before using other actions.

**Inputs**

- Account (`account_id`, text, required): Production Merchant Center account ID with a verified website.
- Developer email (`developer_email`, text, required): Google Account email to receive API notices. Service-account emails cannot receive these notices.

**Outputs**

- `data` (object): Developer registration.

**Example output**

```json
{
  "data": {
    "gcpIds": [],
    "name": "example"
  }
}
```
