Authentication & Access
Business API access is controlled by API key, client status/validity, company assignments and scopes.
API key header
X-IMS-API-Key: YOUR_API_KEY
The complete key is shown only when it is generated or rotated. Existing keys cannot be recovered. Store the key in an appropriate secret store rather than source code or configuration committed to version control.
Access checks
- The key must exist, be active, not revoked and not expired.
- The API client must be active and within its Valid From / Valid Until window.
- The requested company must be assigned to the client.
- The client must have the scope required by the endpoint.
- The client must remain within its minute/day request limits.
Scope-to-resource map
| Scope | Resources |
|---|---|
stores.read | /stores |
items.read | /items, /items/changes |
customers.read | /customers; independent customer catalog and Customer Delta authorization. |
sales.read | /sales |
inventory.read | /inventory, /inventory/changes, /inventory/movements |
purchases.read | /suppliers, /purchases |
transfers.read | /transfers |
adjustments.read | /stock-adjustments, /stock-depreciations |
promotions.read | /markdowns, /promotions and promotion relations, /discount-coupon-events |
footfall.read | Hourly store traffic aggregates, restricted by the company store contract. |
partner-data.read | Partner catalog and Stock Delta; separate policy-controlled access without cost fields. |
Customer access
Obtain explicit approval for customer data access and an API key assigned to the company with customers.read. Sales, Partner Data and other scopes do not grant Customers access. Ask your administrator to confirm that the endpoint is available for your company; see IMS Global API Administration.
Company confidentiality
A company that is unavailable to the caller can return 404 company_not_found. Other authorization or validation failures can return their documented errors. Confirm assigned company access with the IMS administrator.
Key lifecycle
Keys may be generated, rotated or revoked by authorized IMS administrators. Rotation creates a replacement key and invalidates the old key. Revocation is checked on subsequent authorization checks; revoked keys return 401 unauthorized.
Header and lifecycle details
Send one complete X-IMS-API-Key header value with each request. Bearer authentication is not an alternative for ordinary Business API operations. The key and client must be active and within their authorized validity period.
Existing complete keys are not displayed again. When an administrator rotates a key, the old key is revoked without a grace period; update the consuming application promptly. Revoking a key does not necessarily cancel requests already in progress.
Ordinary Business API contract policies
Every ordinary external Business API request requires an active company assignment and a configured company contract, in addition to its scope. Supplier and store lists restrict rows differently for different resources: use the policy paragraph for the specific endpoint. A filter never expands authorization. An empty supplier or store list does not mean unrestricted access.
Items and suppliers use supplier membership; inventory uses both supplier and store membership; purchases use supplier and purchase-center membership; transfers use supplier membership and either source or destination store. Stores, sales and footfall use store membership. Movements, adjustments, depreciations and markdowns use item-supplier membership. Customers and Customer Delta are company-wide personal-data resources, requiring their separate customers.read scope and a configured ordinary contract. Promotion/coupon relationships retain their parent eligibility rules and authorized related rows.
Financial permission controls specific cost and rent fields, not every monetary value: retail prices and sales values can remain visible. The endpoint reference identifies every nullable masked field. External transfer, adjustment and depreciation document totals remain null even with financial permission because an authorized line subset may not represent the whole document.
Trusted Internal is a separately controlled administrator classification that can provide a different data-visibility policy from ordinary partner contracts. It is not a request parameter or an option that external clients can select. A valid key, company assignment and resource scope remain required. Partner Data follows its own active company policy. Administrators should review the impact of this classification before granting it.
The ordinary Delta routes reuse their full endpoint scopes, supplier/store policy and financial-data masking. No separate Delta grant is needed. Policy versions are separate per client, company and Delta endpoint; they do not confer access.
Hypothetical contract comparison
Company 1 has item DEMO-SHIRT-M from supplier 7 in stores 101 and 102. Contract A authorizes supplier 7, store 101 and no financial data; its inventory request returns only store 101 for this item, with unitCost and stockValue null. Contract B authorizes supplier 7, stores 101 and 102 and financial data; the same request can return both stores and their permitted costs. Both contracts can see currentRetailPrice. A Partner Data client instead receives its policy-derived availableQty and retail fields, never these ordinary cost fields.