Skip to content

Website

Find the websites tied to a company and read a single website's core configuration.

Tips & tricks

listWebsitesForCompany returns the website UUID that almost every other tool needs as input.

List all websites for my company with their UUIDs.

getWebsiteInfo reports a site's tracking domain and currency, which set the context for its analytics.

Show the tracking domain and currency for my website.

getWebsiteInfo

Get configuration (language and currency) for a Hello Retail website, by its UUID.

Name Type Required Description
websiteUuid string Yes The website's UUID. Find it in my.helloretail.com under Settings → Website Settings → Website Unique Id.

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "getWebsiteInfo",
    "arguments": {
      "websiteUuid": "<string>"
    }
  }
}

Returns

{
  "uuid": "<string>",
  "domain": "<string>",
  "language": "<string>",
  "currency": "<string>"
}

listWebsitesForCompany

List all websites for a Hello Retail company, by its company ID.

Name Type Required Description
companyId integer Yes The company ID.

Finding your company ID

In the Hello Retail app, click the profile icon in the top-right corner and choose Company Profile. Your company ID is shown in the Company Id field.

Finding the company ID under Company Profile

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "listWebsitesForCompany",
    "arguments": {
      "companyId": 0
    }
  }
}

Returns

{
  "websites": [
    {
      "uuid": "<string>",
      "domain": "<string>",
      "language": "<string>",
      "currency": "<string>"
    }
  ]
}