AAffilitera Help

Help

ValueCommerce credentials

Where to find each ValueCommerce credential Affilitera asks for, who can create it, and what each connection error means.

Last updated

ValueCommerce uses two separate sets of credentials. The Report API Client Key and Client Secret read your orders. The optional Web Service Token reads brands and products. Your Site ID is used to build tracking links.

Client Key (CLIENT_KEY)

The CLIENT_KEY of your ValueCommerce Report API keys. Affilitera combines it with the Client Secret to get access to your order reports.

Where to find it

  1. Sign in to ValueCommerce.
  2. Open ツール (Tools) → レポートAPI (Report API).
  3. Click API認証キーを発行する to issue the keys.

Who can create it: Only the contract holder can issue the Report API keys. Keys are issued per site.

Client Secret (CLIENT_SECRET)

The CLIENT_SECRET issued together with the Client Key. It is saved encrypted and used only for the Report API.

Where to find it

  1. Sign in to ValueCommerce.
  2. Open ツール (Tools) → レポートAPI (Report API).
  3. Click API認証キーを発行する to issue the keys.

Who can create it: Only the contract holder can issue the Report API keys. Keys are issued per site.

Site ID

Your ValueCommerce site ID (vs). Affilitera uses it to build your tracking links.

Where to find it

  1. Sign in to ValueCommerce.
  2. Open サイト設定 (Site settings) → 登録サイト管理.
  3. Copy the number in the サイトID column.

Web Service Token (optional — brands & products)

Optional. The token for ValueCommerce's product API (Webサービス), which feeds brands and products. It is a different credential from the Report API keys, and they cannot be used in its place. Without it, brand and product sync are skipped.

Where to find it

  1. Sign in to ValueCommerce.
  2. Open 広告 (Ads) → 対応機能別 (By feature) → Webサービス (Web Service) and copy the token.
  3. It is also shown on the ad space detail page (広告スペース詳細) once you have partnered and an ad space exists.

Common errors

These are the messages a ValueCommerce connection can show on its row in My Network, or after Test connection.

ValueCommerce: clientKey/clientSecret not configured

The connection test ran without both the Client Key and the Client Secret saved.

  1. Issue or copy your keys from ツール (Tools) → レポートAPI (Report API) in ValueCommerce.
  2. Paste both, save, then test again.

About Client Key (CLIENT_KEY)

About Client Secret (CLIENT_SECRET)

ValueCommerce: credentials not configured

A sync ran without a credential it needs. Brand and product syncs need the Site ID. Order syncs need the Client Key and Client Secret.

  1. Save the Site ID, Client Key and Client Secret on the connection.
  2. The next sync uses them.

About Site ID

About Client Key (CLIENT_KEY)

About Client Secret (CLIENT_SECRET)

ValueCommerce token HTTP … — …

ValueCommerce did not accept the saved Report API keys. When the message mentions invalid_credential, the keys were read but are not active keys for your site.

  1. Check that the Client Key and Client Secret were issued together, for the same site.
  2. If in doubt, issue new keys under ツール (Tools) → レポートAPI (Report API).
  3. Paste both, save, then test again.

About Client Key (CLIENT_KEY)

About Client Secret (CLIENT_SECRET)

ValueCommerce: no Web Service token (webServiceToken) is saved, so the product API (productdb) was not called. …

Brand and product sync were skipped because the connection has no Web Service Token. Orders are not affected.

  1. Copy the token from ValueCommerce → 広告 (Ads) → 対応機能別 (By feature) → Webサービス (Web Service).
  2. Save it as this connection's Web Service Token.

About Web Service Token (optional — brands & products)

ValueCommerce API HTTP … — …

ValueCommerce answered a data request with an error. When the number is 401 or 403, it did not accept the credential for that request: the Report API keys for orders, or the Web Service Token for brands and products.

  1. Check the credential for the sync that failed.
  2. Save the current value and run the sync again.

About Client Key (CLIENT_KEY)

About Client Secret (CLIENT_SECRET)

About Web Service Token (optional — brands & products)

What each status on the connection means

Credentials rejected

ValueCommerce refused the saved credentials. They were mistyped, regenerated or revoked on the ValueCommerce side, or belong to a user who has lost access.

  1. Open the connection and choose Update credentials.
  2. Copy each value again from ValueCommerce, using the steps in the field sections above, and save.
  3. Test the connection. The next sync uses the new values.

Credentials expired

A token ValueCommerce issues for a limited time, or for one use only, is no longer valid.

  1. Create a new token in ValueCommerce as described in the field section above.
  2. Save it on the connection and test again.

Credential missing

A value the connection needs has not been saved, so Affilitera cannot call ValueCommerce at all.

  1. Open the connection and choose Update credentials.
  2. Fill in every required field and save.

API access off

ValueCommerce accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the ValueCommerce side.

  1. Switch on API or reporting access in ValueCommerce (see the setup notes in the field sections above).
  2. Test the connection again. Nothing needs changing in Affilitera.

Account mismatch

The saved values come from different ValueCommerce accounts, for example an ID from one account and a key from another.

  1. Sign in to the one ValueCommerce account you want to connect.
  2. Copy every value from that same account, save, and test again.

Token save pending

ValueCommerce issued a new token and Affilitera could not save it yet. This usually clears on its own at the next sync.

  1. Wait for the next sync.
  2. If the message stays, create a new token in ValueCommerce and save it on the connection.

Check credentials

ValueCommerce refused the connection with a message Affilitera does not recognize.

  1. Check each saved value against ValueCommerce, using the field sections above.
  2. Save and test again. If it still fails, contact support and quote the message shown on the connection.
Was this helpful?