IMan System Connector Setup¶
The System Connector holds the store's address and the REST API key from WooCommerce Setup. Create one System Connector for each store.
- In the Designer, open Setup > System Connectors.
- Press Add and fill in the form as below.
- Save the System Connector.
ID¶
Any value that no other System Connector uses, such as WOOCOMMERCE. A transform names its System Connector by this ID, and so does a lookup.
Description¶
A description of the store. The System Connector list on each WooCommerce reader and writer shows it.
System Type¶
Select WooCommerce. If it is missing, see Installation.
Version¶
Leave it empty.
Connection String¶
A list of key=value settings, each ending in a semicolon, such as URL=https://shop.example.com;TRACE=False;. URL is required. The other settings are optional.
| Key | Values | Effect |
|---|---|---|
URL |
The store's address, such as https://shop.example.com |
IMan sends every request to this address. It must start with https://. |
TRACE |
True or False |
True writes every request IMan sends to the store, and every response, to WSTRACE-<ID>.log in the IMan Debug folder. <ID> is the System Connector's ID. The trace holds the store's order and customer data. It also holds the REST API key: every request carries it in an Authorization header, encoded but not encrypted. Turn the trace on only to investigate a problem, and delete the file afterwards. The default is False. |
RPS |
A whole number, such as 5 |
The requests a second IMan slows to once the store answers HTTP 429, Too Many Requests. Until then, IMan sends each request as soon as the store answers the last one. The default is 10. Lower it for a host that blocks requests for more than a few seconds. See Speed and the Rate Limit. |
A connection string without URL fails with "The connection string must contain a value for [URL]". An address that does not start with https:// fails with "… is not a valid URL. WooCommerce requires https".
Username¶
The key's Consumer key. It starts with ck_.
Password¶
The key's Consumer secret. It starts with cs_.
Company ID¶
Leave it empty.
If the Store Refuses the Key¶
WooCommerce answers a request it cannot sign in with HTTP 401, and IMan shows WooCommerce's message in the audit log.
- Check that Username holds the consumer key and Password the consumer secret, with no spaces before or after.
- Check that the key still exists in WooCommerce > Settings > Advanced > REST API, and that its user still has the rights to manage the store.
- A message saying the consumer key is missing usually means the web server drops the
Authorizationheader before WordPress sees it. The store's host must pass the header through. - A push that fails while the pull imports work needs a key with Read/Write permissions.