{
  "schemaVersion": "1.0",
  "item": {
    "slug": "google-merchant",
    "name": "Google Merchant Center",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/google-merchant",
    "canonicalUrl": "https://clawhub.ai/byungkyu/google-merchant",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/google-merchant",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-merchant",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/google-merchant"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/google-merchant",
    "agentPageUrl": "https://openagent3.xyz/skills/google-merchant/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-merchant/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-merchant/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Google Merchant Center",
        "body": "Access the Google Merchant Center API with managed OAuth authentication. Manage products, inventories, promotions, data sources, and reports for Google Shopping."
      },
      {
        "title": "Quick Start",
        "body": "# List products in your Merchant Center account\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/google-merchant/products/v1/accounts/{accountId}/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/google-merchant/{sub-api}/{version}/accounts/{accountId}/{resource}\n\nThe Merchant API uses a modular sub-API structure. Replace:\n\n{sub-api} with the service: products, accounts, datasources, reports, promotions, inventories, notifications, conversions\n{version} with v1\n{accountId} with your Merchant Center account ID\n\nThe gateway proxies requests to merchantapi.googleapis.com and automatically injects your OAuth token.\n\nImportant: The v1 API requires one-time developer registration. See Developer Registration section."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Finding Your Merchant Center Account ID",
        "body": "Your Merchant Center account ID is a numeric identifier. To find it:\n\nLog in to Google Merchant Center\nLook at the URL - it contains your account ID: https://merchants.google.com/mc/overview?a=ACCOUNT_ID"
      },
      {
        "title": "Developer Registration",
        "body": "Important: Before using the v1 API, you must complete a one-time developer registration to associate your account with the API."
      },
      {
        "title": "Step 1: Get Your Account ID",
        "body": "Option A: Try fetching via API first\n\nTry listing accounts using the v1beta endpoint. If this works, you can get your account ID automatically:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/google-merchant/accounts/v1beta/accounts')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\ntry:\n    result = json.load(urllib.request.urlopen(req))\n    for account in result.get('accounts', []):\n        print(f\"Account ID: {account['accountId']}, Name: {account['accountName']}\")\nexcept Exception as e:\n    print(f\"v1beta not available - use Option B to get your account ID manually\")\nEOF\n\nOption B: From Merchant Center UI (if Option A fails)\n\nIf the v1beta endpoint is unavailable or returns an error:\n\nLog in to Google Merchant Center\nYour account ID is in the URL: https://merchants.google.com/mc/overview?a=YOUR_ACCOUNT_ID\n\nFor example, if your URL is https://merchants.google.com/mc/overview?a=123456789, your account ID is 123456789."
      },
      {
        "title": "Step 2: Register for API Access",
        "body": "Call the registerGcp endpoint with your account ID and email:\n\npython <<'EOF'\nimport urllib.request, os, json\n\naccount_id = 'YOUR_ACCOUNT_ID'  # From Step 1\ndeveloper_email = 'your-email@example.com'  # Your Google account email\n\ndata = json.dumps({'developerEmail': developer_email}).encode()\nreq = urllib.request.Request(\n    f'https://gateway.maton.ai/google-merchant/accounts/v1/accounts/{account_id}/developerRegistration:registerGcp',\n    data=data,\n    method='POST'\n)\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\n\nresult = json.load(urllib.request.urlopen(req))\nprint(json.dumps(result, indent=2))\nEOF\n\nResponse:\n\n{\n  \"name\": \"accounts/123456789/developerRegistration\",\n  \"gcpIds\": [\"216141799266\"]\n}"
      },
      {
        "title": "Step 3: Verify Registration",
        "body": "After registration, v1 endpoints will work:\n\npython <<'EOF'\nimport urllib.request, os, json\naccount_id = 'YOUR_ACCOUNT_ID'\nreq = urllib.request.Request(f'https://gateway.maton.ai/google-merchant/accounts/v1/accounts/{account_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nNote: Registration only needs to be done once per Merchant Center account. After registration, all v1 endpoints will work for that account."
      },
      {
        "title": "Connection Management",
        "body": "Manage your Google Merchant OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=google-merchant&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'google-merchant'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"00726960-095e-47e2-92e6-6e9cdf3e40a1\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-07T06:41:22.751289Z\",\n    \"last_updated_time\": \"2026-02-07T06:42:29.411979Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"google-merchant\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Google Merchant connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/google-merchant/products/v1/accounts/123456/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '00726960-095e-47e2-92e6-6e9cdf3e40a1')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Sub-API Structure",
        "body": "The Merchant API is organized into sub-APIs:\n\nSub-APIPurposeVersionproductsProduct catalog managementv1accountsAccount settings and usersv1datasourcesData source configurationv1reportsAnalytics and reportingv1promotionsPromotional offers (requires enrollment)v1inventoriesLocal and regional inventoryv1notificationsWebhook subscriptionsv1conversionsConversion trackingv1"
      },
      {
        "title": "Accounts",
        "body": "List Accounts\n\nGET /google-merchant/accounts/v1/accounts\n\nReturns all Merchant Center accounts accessible with your OAuth credentials. Use this to find your account ID.\n\nGet Account\n\nGET /google-merchant/accounts/v1/accounts/{accountId}\n\nList Sub-accounts\n\nGET /google-merchant/accounts/v1/accounts/{accountId}:listSubaccounts\n\nNote: This endpoint only works for multi-client accounts (MCAs). Standard merchant accounts will receive a 403 error.\n\nGet Business Info\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/businessInfo\n\nUpdate Business Info\n\nPATCH /google-merchant/accounts/v1/accounts/{accountId}/businessInfo?updateMask=customerService\nContent-Type: application/json\n\n{\n  \"customerService\": {\n    \"email\": \"support@example.com\"\n  }\n}\n\nGet Homepage\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/homepage\n\nGet Shipping Settings\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/shippingSettings\n\nInsert Shipping Settings\n\nPOST /google-merchant/accounts/v1/accounts/{accountId}/shippingSettings:insert\nContent-Type: application/json\n\n{\n  \"services\": [\n    {\n      \"serviceName\": \"Standard Shipping\",\n      \"deliveryCountries\": [\"US\"],\n      \"currencyCode\": \"USD\",\n      \"deliveryTime\": {\n        \"minTransitDays\": 3,\n        \"maxTransitDays\": 7,\n        \"minHandlingDays\": 0,\n        \"maxHandlingDays\": 1\n      },\n      \"rateGroups\": [\n        {\n          \"singleValue\": {\n            \"flatRate\": {\n              \"amountMicros\": \"0\",\n              \"currencyCode\": \"USD\"\n            }\n          }\n        }\n      ],\n      \"active\": true\n    }\n  ]\n}\n\nList Users\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/users\n\nGet User\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/users/{email}\n\nList Programs\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/programs\n\nList Regions\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/regions\n\nList Account Issues\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/issues\n\nList Online Return Policies\n\nGET /google-merchant/accounts/v1/accounts/{accountId}/onlineReturnPolicies"
      },
      {
        "title": "Products",
        "body": "List Products\n\nGET /google-merchant/products/v1/accounts/{accountId}/products\n\nQuery parameters:\n\npageSize (integer): Maximum results per page\npageToken (string): Pagination token\n\nGet Product\n\nGET /google-merchant/products/v1/accounts/{accountId}/products/{productId}\n\nProduct ID format: contentLanguage~feedLabel~offerId (e.g., en~US~sku123)\n\nInsert Product Input\n\nPOST /google-merchant/products/v1/accounts/{accountId}/productInputs:insert?dataSource=accounts/{accountId}/dataSources/{dataSourceId}\nContent-Type: application/json\n\n{\n  \"offerId\": \"sku123\",\n  \"contentLanguage\": \"en\",\n  \"feedLabel\": \"US\",\n  \"productAttributes\": {\n    \"title\": \"Product Title\",\n    \"description\": \"Product description\",\n    \"link\": \"https://example.com/product\",\n    \"imageLink\": \"https://example.com/image.jpg\",\n    \"availability\": \"in_stock\",\n    \"price\": {\n      \"amountMicros\": \"19990000\",\n      \"currencyCode\": \"USD\"\n    },\n    \"condition\": \"new\"\n  }\n}\n\nNote: Products can only be inserted into data sources with input: \"API\" type. Create an API data source first if needed.\n\nDelete Product Input\n\nDELETE /google-merchant/products/v1/accounts/{accountId}/productInputs/{productId}?dataSource=accounts/{accountId}/dataSources/{dataSourceId}"
      },
      {
        "title": "Inventories",
        "body": "List Local Inventories\n\nGET /google-merchant/inventories/v1/accounts/{accountId}/products/{productId}/localInventories\n\nNote: Local inventories are only available for products with LOCAL channel. Use a product ID like local~en~US~sku123.\n\nInsert Local Inventory\n\nPOST /google-merchant/inventories/v1/accounts/{accountId}/products/{productId}/localInventories:insert\nContent-Type: application/json\n\n{\n  \"storeCode\": \"store123\"\n}\n\nNote: The storeCode must be a valid store code configured in your Merchant Center account. Additional inventory attributes may be available - refer to the Google Merchant API Reference for the complete field list.\n\nList Regional Inventories\n\nGET /google-merchant/inventories/v1/accounts/{accountId}/products/{productId}/regionalInventories"
      },
      {
        "title": "Data Sources",
        "body": "List Data Sources\n\nGET /google-merchant/datasources/v1/accounts/{accountId}/dataSources\n\nGet Data Source\n\nGET /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}\n\nCreate Data Source\n\nPOST /google-merchant/datasources/v1/accounts/{accountId}/dataSources\nContent-Type: application/json\n\n{\n  \"displayName\": \"API Data Source\",\n  \"primaryProductDataSource\": {\n    \"feedLabel\": \"US\",\n    \"contentLanguage\": \"en\"\n  }\n}\n\nResponse:\n\n{\n  \"name\": \"accounts/123456/dataSources/789\",\n  \"dataSourceId\": \"789\",\n  \"displayName\": \"API Data Source\",\n  \"primaryProductDataSource\": {\n    \"feedLabel\": \"US\",\n    \"contentLanguage\": \"en\"\n  },\n  \"input\": \"API\"\n}\n\nUpdate Data Source\n\nPATCH /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}?updateMask=displayName\nContent-Type: application/json\n\n{\n  \"displayName\": \"Updated Name\"\n}\n\nDelete Data Source\n\nDELETE /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}\n\nFetch Data Source (trigger immediate refresh)\n\nPOST /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}:fetch\n\nNote: Fetch only works for data sources with FILE input type. API and UI data sources cannot be fetched."
      },
      {
        "title": "Reports",
        "body": "Search Reports\n\nPOST /google-merchant/reports/v1/accounts/{accountId}/reports:search\nContent-Type: application/json\n\n{\n  \"query\": \"SELECT offer_id, title, clicks, impressions FROM product_performance_view WHERE date BETWEEN '2026-01-01' AND '2026-01-31'\"\n}\n\nExample: Query product_view (requires id field):\n\n{\n  \"query\": \"SELECT id, offer_id, title, item_issues FROM product_view LIMIT 10\"\n}\n\nNote: The product_view table requires the id field in the SELECT clause.\n\nAvailable report tables:\n\nproduct_performance_view - Clicks, impressions, CTR by product\nproduct_view - Current inventory with attributes and issues (requires id in SELECT)\nprice_competitiveness_product_view - Pricing vs competitors (requires Market Insights)\nprice_insights_product_view - Suggested pricing\nbest_sellers_product_cluster_view - Best sellers by category (requires Market Insights)\ncompetitive_visibility_competitor_view - Competitor visibility"
      },
      {
        "title": "Promotions",
        "body": "Note: Promotions require your Merchant Center account to be enrolled in the Promotions program. You'll receive a 403 error if not enrolled.\n\nList Promotions\n\nGET /google-merchant/promotions/v1/accounts/{accountId}/promotions\n\nGet Promotion\n\nGET /google-merchant/promotions/v1/accounts/{accountId}/promotions/{promotionId}\n\nInsert Promotion\n\nPOST /google-merchant/promotions/v1/accounts/{accountId}/promotions:insert\nContent-Type: application/json\n\n{\n  \"promotionId\": \"promo123\",\n  \"contentLanguage\": \"en\",\n  \"targetCountry\": \"US\",\n  \"redemptionChannel\": [\"ONLINE\"],\n  \"attributes\": {\n    \"longTitle\": \"20% off all products\",\n    \"promotionEffectiveDates\": \"2026-02-01T00:00:00Z/2026-02-28T23:59:59Z\"\n  }\n}"
      },
      {
        "title": "Notifications",
        "body": "List Notification Subscriptions\n\nGET /google-merchant/notifications/v1/accounts/{accountId}/notificationsubscriptions\n\nCreate Notification Subscription\n\nPOST /google-merchant/notifications/v1/accounts/{accountId}/notificationsubscriptions\nContent-Type: application/json\n\n{\n  \"registeredEvent\": \"PRODUCT_STATUS_CHANGE\",\n  \"callBackUri\": \"https://example.com/webhook\",\n  \"allManagedAccounts\": true\n}\n\nNote: You must specify either allManagedAccounts: true OR targetAccount: \"accounts/{accountId}\" to indicate which accounts the subscription applies to.\n\nAlternative with targetAccount:\n\n{\n  \"registeredEvent\": \"PRODUCT_STATUS_CHANGE\",\n  \"callBackUri\": \"https://example.com/webhook\",\n  \"targetAccount\": \"accounts/123456789\"\n}\n\nDelete Notification Subscription\n\nDELETE /google-merchant/notifications/v1/accounts/{accountId}/notificationsubscriptions/{subscriptionId}"
      },
      {
        "title": "Conversion Sources",
        "body": "List Conversion Sources\n\nGET /google-merchant/conversions/v1/accounts/{accountId}/conversionSources\n\nCreate Conversion Source\n\nPOST /google-merchant/conversions/v1/accounts/{accountId}/conversionSources\nContent-Type: application/json\n\n{\n  \"merchantCenterDestination\": {\n    \"displayName\": \"My Conversion Source\",\n    \"destination\": \"SHOPPING_ADS\",\n    \"currencyCode\": \"USD\",\n    \"attributionSettings\": {\n      \"attributionLookbackWindowDays\": 30,\n      \"attributionModel\": \"CROSS_CHANNEL_LAST_CLICK\"\n    }\n  }\n}\n\nDelete Conversion Source\n\nDELETE /google-merchant/conversions/v1/accounts/{accountId}/conversionSources/{conversionSourceId}"
      },
      {
        "title": "Pagination",
        "body": "The API uses token-based pagination:\n\nGET /google-merchant/products/v1/accounts/{accountId}/products?pageSize=50\n\nResponse includes nextPageToken when more results exist:\n\n{\n  \"products\": [...],\n  \"nextPageToken\": \"CAE...\"\n}\n\nUse the token for the next page:\n\nGET /google-merchant/products/v1/accounts/{accountId}/products?pageSize=50&pageToken=CAE..."
      },
      {
        "title": "JavaScript",
        "body": "const accountId = '123456789';\nconst response = await fetch(\n  `https://gateway.maton.ai/google-merchant/products/v1/accounts/${accountId}/products`,\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\naccount_id = '123456789'\nresponse = requests.get(\n    f'https://gateway.maton.ai/google-merchant/products/v1/accounts/{account_id}/products',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()"
      },
      {
        "title": "Notes",
        "body": "Developer registration required - You must complete Developer Registration once per Merchant Center account before using v1 endpoints\nProduct IDs use the format contentLanguage~feedLabel~offerId (e.g., en~US~sku123)\nProducts can only be inserted/updated/deleted in data sources with input: \"API\" type\nAfter inserting/updating a product, it may take several minutes before the processed product appears\nMonetary values use micros (divide by 1,000,000 for actual value)\nLocal inventories only work for products with LOCAL channel (not ONLINE)\nThe Promotions API requires your account to be enrolled in the Promotions program\nList Sub-accounts only works for multi-client accounts (MCAs)\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Invalid request or missing Google Merchant connection401Invalid/missing Maton API key, or GCP project not registered (see Developer Registration)403Permission denied - account not enrolled in required program or feature not available404Resource not found429Rate limited4xx/5xxPassthrough error from Google Merchant API"
      },
      {
        "title": "Common Errors",
        "body": "\"GCP project is not registered\": You need to complete developer registration. See Developer Registration section.\n\n\"The caller does not have access to the accounts\": The specified account ID is not accessible with your OAuth credentials. Verify you have access to the Merchant Center account.\n\n\"Promotion program not enabled\": Your Merchant Center account is not enrolled in the Promotions program. Enable it in Merchant Center settings.\n\n\"This method can only be accessed by multi-client accounts\": You're calling an endpoint (like listSubaccounts) that only works for multi-client accounts (MCAs).\n\n\"Mismatched channel\": You're trying to access local inventories for an ONLINE product. Local inventories only work with LOCAL channel products."
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with google-merchant. For example:\n\nCorrect: https://gateway.maton.ai/google-merchant/products/v1/accounts/{accountId}/products\nIncorrect: https://gateway.maton.ai/products/v1/accounts/{accountId}/products"
      },
      {
        "title": "Troubleshooting: 401 GCP Project Not Registered",
        "body": "If you see an error like \"GCP project is not registered with the merchant account\":\n\nComplete developer registration - See Developer Registration section\nGet your account ID from Merchant Center UI (in the URL after ?a=)\nCall the registerGcp endpoint with your account ID and email\nAfter successful registration, retry your original request"
      },
      {
        "title": "Resources",
        "body": "Merchant API Overview\nMerchant API Reference\nProducts Guide\nData Sources Guide\nReports Guide\nProduct Data Specification\nMaton Community\nMaton Support"
      }
    ],
    "body": "Google Merchant Center\n\nAccess the Google Merchant Center API with managed OAuth authentication. Manage products, inventories, promotions, data sources, and reports for Google Shopping.\n\nQuick Start\n# List products in your Merchant Center account\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/google-merchant/products/v1/accounts/{accountId}/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/google-merchant/{sub-api}/{version}/accounts/{accountId}/{resource}\n\n\nThe Merchant API uses a modular sub-API structure. Replace:\n\n{sub-api} with the service: products, accounts, datasources, reports, promotions, inventories, notifications, conversions\n{version} with v1\n{accountId} with your Merchant Center account ID\n\nThe gateway proxies requests to merchantapi.googleapis.com and automatically injects your OAuth token.\n\nImportant: The v1 API requires one-time developer registration. See Developer Registration section.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nFinding Your Merchant Center Account ID\n\nYour Merchant Center account ID is a numeric identifier. To find it:\n\nLog in to Google Merchant Center\nLook at the URL - it contains your account ID: https://merchants.google.com/mc/overview?a=ACCOUNT_ID\nDeveloper Registration\n\nImportant: Before using the v1 API, you must complete a one-time developer registration to associate your account with the API.\n\nStep 1: Get Your Account ID\n\nOption A: Try fetching via API first\n\nTry listing accounts using the v1beta endpoint. If this works, you can get your account ID automatically:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/google-merchant/accounts/v1beta/accounts')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\ntry:\n    result = json.load(urllib.request.urlopen(req))\n    for account in result.get('accounts', []):\n        print(f\"Account ID: {account['accountId']}, Name: {account['accountName']}\")\nexcept Exception as e:\n    print(f\"v1beta not available - use Option B to get your account ID manually\")\nEOF\n\n\nOption B: From Merchant Center UI (if Option A fails)\n\nIf the v1beta endpoint is unavailable or returns an error:\n\nLog in to Google Merchant Center\nYour account ID is in the URL: https://merchants.google.com/mc/overview?a=YOUR_ACCOUNT_ID\n\nFor example, if your URL is https://merchants.google.com/mc/overview?a=123456789, your account ID is 123456789.\n\nStep 2: Register for API Access\n\nCall the registerGcp endpoint with your account ID and email:\n\npython <<'EOF'\nimport urllib.request, os, json\n\naccount_id = 'YOUR_ACCOUNT_ID'  # From Step 1\ndeveloper_email = 'your-email@example.com'  # Your Google account email\n\ndata = json.dumps({'developerEmail': developer_email}).encode()\nreq = urllib.request.Request(\n    f'https://gateway.maton.ai/google-merchant/accounts/v1/accounts/{account_id}/developerRegistration:registerGcp',\n    data=data,\n    method='POST'\n)\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\n\nresult = json.load(urllib.request.urlopen(req))\nprint(json.dumps(result, indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"name\": \"accounts/123456789/developerRegistration\",\n  \"gcpIds\": [\"216141799266\"]\n}\n\nStep 3: Verify Registration\n\nAfter registration, v1 endpoints will work:\n\npython <<'EOF'\nimport urllib.request, os, json\naccount_id = 'YOUR_ACCOUNT_ID'\nreq = urllib.request.Request(f'https://gateway.maton.ai/google-merchant/accounts/v1/accounts/{account_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nNote: Registration only needs to be done once per Merchant Center account. After registration, all v1 endpoints will work for that account.\n\nConnection Management\n\nManage your Google Merchant OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=google-merchant&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'google-merchant'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"00726960-095e-47e2-92e6-6e9cdf3e40a1\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-07T06:41:22.751289Z\",\n    \"last_updated_time\": \"2026-02-07T06:42:29.411979Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"google-merchant\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Google Merchant connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/google-merchant/products/v1/accounts/123456/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '00726960-095e-47e2-92e6-6e9cdf3e40a1')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nSub-API Structure\n\nThe Merchant API is organized into sub-APIs:\n\nSub-API\tPurpose\tVersion\nproducts\tProduct catalog management\tv1\naccounts\tAccount settings and users\tv1\ndatasources\tData source configuration\tv1\nreports\tAnalytics and reporting\tv1\npromotions\tPromotional offers (requires enrollment)\tv1\ninventories\tLocal and regional inventory\tv1\nnotifications\tWebhook subscriptions\tv1\nconversions\tConversion tracking\tv1\nAccounts\nList Accounts\nGET /google-merchant/accounts/v1/accounts\n\n\nReturns all Merchant Center accounts accessible with your OAuth credentials. Use this to find your account ID.\n\nGet Account\nGET /google-merchant/accounts/v1/accounts/{accountId}\n\nList Sub-accounts\nGET /google-merchant/accounts/v1/accounts/{accountId}:listSubaccounts\n\n\nNote: This endpoint only works for multi-client accounts (MCAs). Standard merchant accounts will receive a 403 error.\n\nGet Business Info\nGET /google-merchant/accounts/v1/accounts/{accountId}/businessInfo\n\nUpdate Business Info\nPATCH /google-merchant/accounts/v1/accounts/{accountId}/businessInfo?updateMask=customerService\nContent-Type: application/json\n\n{\n  \"customerService\": {\n    \"email\": \"support@example.com\"\n  }\n}\n\nGet Homepage\nGET /google-merchant/accounts/v1/accounts/{accountId}/homepage\n\nGet Shipping Settings\nGET /google-merchant/accounts/v1/accounts/{accountId}/shippingSettings\n\nInsert Shipping Settings\nPOST /google-merchant/accounts/v1/accounts/{accountId}/shippingSettings:insert\nContent-Type: application/json\n\n{\n  \"services\": [\n    {\n      \"serviceName\": \"Standard Shipping\",\n      \"deliveryCountries\": [\"US\"],\n      \"currencyCode\": \"USD\",\n      \"deliveryTime\": {\n        \"minTransitDays\": 3,\n        \"maxTransitDays\": 7,\n        \"minHandlingDays\": 0,\n        \"maxHandlingDays\": 1\n      },\n      \"rateGroups\": [\n        {\n          \"singleValue\": {\n            \"flatRate\": {\n              \"amountMicros\": \"0\",\n              \"currencyCode\": \"USD\"\n            }\n          }\n        }\n      ],\n      \"active\": true\n    }\n  ]\n}\n\nList Users\nGET /google-merchant/accounts/v1/accounts/{accountId}/users\n\nGet User\nGET /google-merchant/accounts/v1/accounts/{accountId}/users/{email}\n\nList Programs\nGET /google-merchant/accounts/v1/accounts/{accountId}/programs\n\nList Regions\nGET /google-merchant/accounts/v1/accounts/{accountId}/regions\n\nList Account Issues\nGET /google-merchant/accounts/v1/accounts/{accountId}/issues\n\nList Online Return Policies\nGET /google-merchant/accounts/v1/accounts/{accountId}/onlineReturnPolicies\n\nProducts\nList Products\nGET /google-merchant/products/v1/accounts/{accountId}/products\n\n\nQuery parameters:\n\npageSize (integer): Maximum results per page\npageToken (string): Pagination token\nGet Product\nGET /google-merchant/products/v1/accounts/{accountId}/products/{productId}\n\n\nProduct ID format: contentLanguage~feedLabel~offerId (e.g., en~US~sku123)\n\nInsert Product Input\nPOST /google-merchant/products/v1/accounts/{accountId}/productInputs:insert?dataSource=accounts/{accountId}/dataSources/{dataSourceId}\nContent-Type: application/json\n\n{\n  \"offerId\": \"sku123\",\n  \"contentLanguage\": \"en\",\n  \"feedLabel\": \"US\",\n  \"productAttributes\": {\n    \"title\": \"Product Title\",\n    \"description\": \"Product description\",\n    \"link\": \"https://example.com/product\",\n    \"imageLink\": \"https://example.com/image.jpg\",\n    \"availability\": \"in_stock\",\n    \"price\": {\n      \"amountMicros\": \"19990000\",\n      \"currencyCode\": \"USD\"\n    },\n    \"condition\": \"new\"\n  }\n}\n\n\nNote: Products can only be inserted into data sources with input: \"API\" type. Create an API data source first if needed.\n\nDelete Product Input\nDELETE /google-merchant/products/v1/accounts/{accountId}/productInputs/{productId}?dataSource=accounts/{accountId}/dataSources/{dataSourceId}\n\nInventories\nList Local Inventories\nGET /google-merchant/inventories/v1/accounts/{accountId}/products/{productId}/localInventories\n\n\nNote: Local inventories are only available for products with LOCAL channel. Use a product ID like local~en~US~sku123.\n\nInsert Local Inventory\nPOST /google-merchant/inventories/v1/accounts/{accountId}/products/{productId}/localInventories:insert\nContent-Type: application/json\n\n{\n  \"storeCode\": \"store123\"\n}\n\n\nNote: The storeCode must be a valid store code configured in your Merchant Center account. Additional inventory attributes may be available - refer to the Google Merchant API Reference for the complete field list.\n\nList Regional Inventories\nGET /google-merchant/inventories/v1/accounts/{accountId}/products/{productId}/regionalInventories\n\nData Sources\nList Data Sources\nGET /google-merchant/datasources/v1/accounts/{accountId}/dataSources\n\nGet Data Source\nGET /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}\n\nCreate Data Source\nPOST /google-merchant/datasources/v1/accounts/{accountId}/dataSources\nContent-Type: application/json\n\n{\n  \"displayName\": \"API Data Source\",\n  \"primaryProductDataSource\": {\n    \"feedLabel\": \"US\",\n    \"contentLanguage\": \"en\"\n  }\n}\n\n\nResponse:\n\n{\n  \"name\": \"accounts/123456/dataSources/789\",\n  \"dataSourceId\": \"789\",\n  \"displayName\": \"API Data Source\",\n  \"primaryProductDataSource\": {\n    \"feedLabel\": \"US\",\n    \"contentLanguage\": \"en\"\n  },\n  \"input\": \"API\"\n}\n\nUpdate Data Source\nPATCH /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}?updateMask=displayName\nContent-Type: application/json\n\n{\n  \"displayName\": \"Updated Name\"\n}\n\nDelete Data Source\nDELETE /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}\n\nFetch Data Source (trigger immediate refresh)\nPOST /google-merchant/datasources/v1/accounts/{accountId}/dataSources/{dataSourceId}:fetch\n\n\nNote: Fetch only works for data sources with FILE input type. API and UI data sources cannot be fetched.\n\nReports\nSearch Reports\nPOST /google-merchant/reports/v1/accounts/{accountId}/reports:search\nContent-Type: application/json\n\n{\n  \"query\": \"SELECT offer_id, title, clicks, impressions FROM product_performance_view WHERE date BETWEEN '2026-01-01' AND '2026-01-31'\"\n}\n\n\nExample: Query product_view (requires id field):\n\n{\n  \"query\": \"SELECT id, offer_id, title, item_issues FROM product_view LIMIT 10\"\n}\n\n\nNote: The product_view table requires the id field in the SELECT clause.\n\nAvailable report tables:\n\nproduct_performance_view - Clicks, impressions, CTR by product\nproduct_view - Current inventory with attributes and issues (requires id in SELECT)\nprice_competitiveness_product_view - Pricing vs competitors (requires Market Insights)\nprice_insights_product_view - Suggested pricing\nbest_sellers_product_cluster_view - Best sellers by category (requires Market Insights)\ncompetitive_visibility_competitor_view - Competitor visibility\nPromotions\n\nNote: Promotions require your Merchant Center account to be enrolled in the Promotions program. You'll receive a 403 error if not enrolled.\n\nList Promotions\nGET /google-merchant/promotions/v1/accounts/{accountId}/promotions\n\nGet Promotion\nGET /google-merchant/promotions/v1/accounts/{accountId}/promotions/{promotionId}\n\nInsert Promotion\nPOST /google-merchant/promotions/v1/accounts/{accountId}/promotions:insert\nContent-Type: application/json\n\n{\n  \"promotionId\": \"promo123\",\n  \"contentLanguage\": \"en\",\n  \"targetCountry\": \"US\",\n  \"redemptionChannel\": [\"ONLINE\"],\n  \"attributes\": {\n    \"longTitle\": \"20% off all products\",\n    \"promotionEffectiveDates\": \"2026-02-01T00:00:00Z/2026-02-28T23:59:59Z\"\n  }\n}\n\nNotifications\nList Notification Subscriptions\nGET /google-merchant/notifications/v1/accounts/{accountId}/notificationsubscriptions\n\nCreate Notification Subscription\nPOST /google-merchant/notifications/v1/accounts/{accountId}/notificationsubscriptions\nContent-Type: application/json\n\n{\n  \"registeredEvent\": \"PRODUCT_STATUS_CHANGE\",\n  \"callBackUri\": \"https://example.com/webhook\",\n  \"allManagedAccounts\": true\n}\n\n\nNote: You must specify either allManagedAccounts: true OR targetAccount: \"accounts/{accountId}\" to indicate which accounts the subscription applies to.\n\nAlternative with targetAccount:\n\n{\n  \"registeredEvent\": \"PRODUCT_STATUS_CHANGE\",\n  \"callBackUri\": \"https://example.com/webhook\",\n  \"targetAccount\": \"accounts/123456789\"\n}\n\nDelete Notification Subscription\nDELETE /google-merchant/notifications/v1/accounts/{accountId}/notificationsubscriptions/{subscriptionId}\n\nConversion Sources\nList Conversion Sources\nGET /google-merchant/conversions/v1/accounts/{accountId}/conversionSources\n\nCreate Conversion Source\nPOST /google-merchant/conversions/v1/accounts/{accountId}/conversionSources\nContent-Type: application/json\n\n{\n  \"merchantCenterDestination\": {\n    \"displayName\": \"My Conversion Source\",\n    \"destination\": \"SHOPPING_ADS\",\n    \"currencyCode\": \"USD\",\n    \"attributionSettings\": {\n      \"attributionLookbackWindowDays\": 30,\n      \"attributionModel\": \"CROSS_CHANNEL_LAST_CLICK\"\n    }\n  }\n}\n\nDelete Conversion Source\nDELETE /google-merchant/conversions/v1/accounts/{accountId}/conversionSources/{conversionSourceId}\n\nPagination\n\nThe API uses token-based pagination:\n\nGET /google-merchant/products/v1/accounts/{accountId}/products?pageSize=50\n\n\nResponse includes nextPageToken when more results exist:\n\n{\n  \"products\": [...],\n  \"nextPageToken\": \"CAE...\"\n}\n\n\nUse the token for the next page:\n\nGET /google-merchant/products/v1/accounts/{accountId}/products?pageSize=50&pageToken=CAE...\n\nCode Examples\nJavaScript\nconst accountId = '123456789';\nconst response = await fetch(\n  `https://gateway.maton.ai/google-merchant/products/v1/accounts/${accountId}/products`,\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n\nPython\nimport os\nimport requests\n\naccount_id = '123456789'\nresponse = requests.get(\n    f'https://gateway.maton.ai/google-merchant/products/v1/accounts/{account_id}/products',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()\n\nNotes\nDeveloper registration required - You must complete Developer Registration once per Merchant Center account before using v1 endpoints\nProduct IDs use the format contentLanguage~feedLabel~offerId (e.g., en~US~sku123)\nProducts can only be inserted/updated/deleted in data sources with input: \"API\" type\nAfter inserting/updating a product, it may take several minutes before the processed product appears\nMonetary values use micros (divide by 1,000,000 for actual value)\nLocal inventories only work for products with LOCAL channel (not ONLINE)\nThe Promotions API requires your account to be enrolled in the Promotions program\nList Sub-accounts only works for multi-client accounts (MCAs)\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nError Handling\nStatus\tMeaning\n400\tInvalid request or missing Google Merchant connection\n401\tInvalid/missing Maton API key, or GCP project not registered (see Developer Registration)\n403\tPermission denied - account not enrolled in required program or feature not available\n404\tResource not found\n429\tRate limited\n4xx/5xx\tPassthrough error from Google Merchant API\nCommon Errors\n\n\"GCP project is not registered\": You need to complete developer registration. See Developer Registration section.\n\n\"The caller does not have access to the accounts\": The specified account ID is not accessible with your OAuth credentials. Verify you have access to the Merchant Center account.\n\n\"Promotion program not enabled\": Your Merchant Center account is not enrolled in the Promotions program. Enable it in Merchant Center settings.\n\n\"This method can only be accessed by multi-client accounts\": You're calling an endpoint (like listSubaccounts) that only works for multi-client accounts (MCAs).\n\n\"Mismatched channel\": You're trying to access local inventories for an ONLINE product. Local inventories only work with LOCAL channel products.\n\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\n\nEnsure your URL path starts with google-merchant. For example:\n\nCorrect: https://gateway.maton.ai/google-merchant/products/v1/accounts/{accountId}/products\nIncorrect: https://gateway.maton.ai/products/v1/accounts/{accountId}/products\nTroubleshooting: 401 GCP Project Not Registered\n\nIf you see an error like \"GCP project is not registered with the merchant account\":\n\nComplete developer registration - See Developer Registration section\nGet your account ID from Merchant Center UI (in the URL after ?a=)\nCall the registerGcp endpoint with your account ID and email\nAfter successful registration, retry your original request\nResources\nMerchant API Overview\nMerchant API Reference\nProducts Guide\nData Sources Guide\nReports Guide\nProduct Data Specification\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/google-merchant",
    "publisherUrl": "https://clawhub.ai/byungkyu/google-merchant",
    "owner": "byungkyu",
    "version": "1.0.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/google-merchant",
    "downloadUrl": "https://openagent3.xyz/downloads/google-merchant",
    "agentUrl": "https://openagent3.xyz/skills/google-merchant/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-merchant/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-merchant/agent.md"
  }
}