Skip to content

Properties

Properties are named values that you store once in My Hello Retail and refer to from your feeds. A feed URL, a feed request header and the transform code of a feed can all read them.

They are made for the things a feed needs to reach your shop: API keys, tokens, shop ids and domains. Storing those as properties does two things for you:

  • It keeps credentials out of the feed. The feed holds the name of the property, never its value. A property marked as secret is also hidden in the feed run messages.
  • It lets several feeds share one value. Your product feed, order feed and category feed can all refer to the same apiKey or domain. When the key is rotated you change it in one place.

A property belongs to one website, or it is shared by every website of your company.

Where to find them

Open Data Setup → Properties in My Hello Retail. The page lists the properties of the website you are working in, together with the ones your company shares.

Add a property

  1. Click Add property.
  2. Fill in the key, pick the scope and enter the value.
  3. Turn on Secret if the value is a credential.
  4. Click Add.
Field Description
Key The name you refer to the property by. It starts with a letter and holds up to 64 letters, digits and underscores, for example apiKey or shop_id. Keys are case sensitive. The key can't be changed once the property is saved.
Scope This website stores the property on the current website. Shared gives it to every website of the company. The scope can't be changed once the property is saved.
Value Up to 1024 characters. Spaces and line breaks at the start and end are removed.
Secret Hides the value in the properties list and in feed run messages. See Secrets.

A website holds up to 100 properties of its own, and a company up to 100 shared ones.

Shared properties and website overrides

A shared property is read by every website of the company. A website that needs a different value gets a property of its own, with the same key and the scope This website. That value then wins on that website, and the other websites keep using the shared one.

Take a company with three websites that fetch from the same platform account. The API key is the same everywhere, and one website has its own language:

Key Scope Value Used by
apiKey Shared (secret) All three websites
language Shared en The websites without a value of their own
language This website (the Danish one) da The Danish website only

The Status column tells you which value is in effect:

Badge Meaning
Shared The property is shared by every website of the company.
This website The property belongs to the current website.
Overridden here A shared property that the current website replaces with its own value.
Overridden in n websites A shared property that other websites of the company replace with their own value.
Secret The value is hidden in the list and in feed run messages.

Delete a website's own property and the website goes back to the shared value.

Use a property in a feed URL

Write the property into the URL as {{ properties.key }}:

https://example-shop.com/api/products.json?shop={{ properties.shopId }}&key={{ properties.apiKey }}
Part Description
{{ properties.shopId }} Replaced by the value of the property shopId when the feed is fetched.
{{ properties.apiKey }} Replaced by the value of the property apiKey when the feed is fetched.

The feed keeps the URL as you wrote it. The value is put in at the moment the feed is fetched, and it is percent-encoded on the way, so a value such as a b/c is sent as a%20b%2Fc. The spaces inside the braces are optional: {{properties.apiKey}} works too.

Use a property in a request header

A header value takes the same tokens. Add the header on the Requesting tab of the feed, as described under "Adding a request header to a feed" in the Feeds configuration tool guide:

Authorization: Bearer {{ properties.apiToken }}

A custom header works the same way:

X-Api-Key: {{ properties.apiKey }}
Header Description
Authorization Sends the property apiToken as a bearer token.
X-Api-Key Sends the property apiKey in a header your platform defines.

The username and the password of the Basic Auth helper can hold tokens as well.

A value goes into a header exactly as it is stored, with no encoding. A value that holds a line break can't be sent as a header, so the feed run fails and says why.

Prefer a header for credentials

A URL ends up in more places than a header does: proxies, server logs and browser histories all record it. When your platform accepts the key in a header, put it there.

Use a property in transform code

The transform code of a feed reads properties from a global object named properties:

function transform(product:any): TransformationResult {
    return {
        ...product, /* map default fields */
        url: `https://${properties.domain}/products/${product.handle}`
    };
}
Name Type Description
properties Object The properties of the website, secret ones included. The object is read-only.
properties.domain String The value of the property domain. Every value is a string. An unset key reads as undefined.

A property can also steer what the code does, which lets several websites run the same transform code with different settings:

function transform(product:any): TransformationResult {
    if (product.market !== properties.market) {
        return null; /* skip products of other markets */
    }

    return {
        ...product,
        imgUrl: `${properties.imageBaseUrl}/${product.imageFile}`,
        extraData: {
            warehouse: properties.warehouse
        }
    };
}
Name Type Description
properties.market String The market the website sells to. Products of other markets are skipped.
properties.imageBaseUrl String The first part of every image URL.
properties.warehouse String Stored on each product as extra data. See Extra data in feeds.

Don't return a secret from transform

Whatever transform returns is stored as product data. A secret written into a returned field is stored and shown like any other field value.

When a change takes effect

A changed property is used by the next run of every feed that refers to it. You don't need to edit or save the feeds.

Secrets

Every property value is encrypted where it is stored, secret or not. Marking a property as secret adds this:

  • The properties list shows dots in place of the value.
  • A feed run message that would have held the value shows the token, such as {{ properties.apiKey }}.
  • The MCP server tells an AI assistant that the property exists and never hands over its value.

Changes to properties are recorded in the audit log with the key and the user who made the change. The value is never recorded.

What secret doesn't cover

Every user with access to the website in My Hello Retail can open a property and read its value. Values shorter than four characters are not hidden in feed run messages.

Properties created during website setup

When you set up a new website, the setup guide asks for what your platform needs, such as an API key, a site id or the token of the Hello Retail plugin. Those answers are stored as properties of the website, and the feeds created for you refer to them.

These properties are named after the platform and the parameter:

Example key Holds
wooCommerce_AuthorizationToken The token of the Hello Retail plugin for WooCommerce.
scanNet_Password The API password of a ScanNet shop.

Renaming breaks the feeds

The feeds refer to these properties by key. Delete one, and the feeds that use it fail on their next run. To change a credential, open the property and change its value.

Troubleshooting

A feed that refers to an unset property fails before anything is fetched. The run shows a message that names the property:

Customer property apiKey is used in the URL but not set on the website or its company.
Cause What to do
The property doesn't exist. Add it under Data Setup → Properties.
The key is spelled differently in the feed. Keys are case sensitive: apiKey and apikey are two properties. Match the spelling.
The property belongs to another website. Add it to this website, or make it shared.

The same message says "used in a request header" when the token sits in a header.