- Provision Users and Accounts, in bulk, from external records into your Storefront Gateway data store.
- Update/synchronization between Storefront Gateway and external systems (e.g. B/OSS systems).
- Service entitlements and privacy management.
API Access
Partner systems access protected M2M APIs by including the{partner key}:{partner secret} in the X-Partner-AUTHZ header of each call. The key and secret are returned from Storefront Gateway when you provision a partner with POST /partners API.
Certain M2M endpoints used as part of a MarketONE integration may alternatively be protected by a MarketONE Partner API key. These API keys are shared across MarketONE services (as an example, MarketONE Partner API keys obtained from PLM would also be functional with compatible Storefront Gateway endpoints). MarketONE Partner API keys can be presented to Storefront Gateway via the X-API-KEY header of each call. At present, the POST /runtime/event API is the only Storefront Gateway API supporting authentication via the MarketONE Partner API key.
Note: M2M authentication methods are not interchangeable. Storefront Gateway APIs that require authentication using a MarketONE Partner API key will not accept any token provided via the X-Partner-AUTHZ header and vice versa. You must supply a valid authentication key matching the support M2M authentication method.
Example - POST /oidc/token
In the following example, a partner system invokes thePOST /oidc/token API to request an access token. This example demonstrates the use of Storefront Gateway’s client credentials flow.
Example - POST activation/user
In the following example, a partner system invokes thePOST /activation/user API to provision a new Storefront Gateway User entity. This example demonstrates the use of Storefront Gateway’s core M2M authentication method via the AuthorizationX-Partner-AUTHZ header.
M2M Activation APIs
Storefront Gateway M2M APIs are stateless and do not require a user context. They use access tokens for authentication within the OIDC framework. ULM has special OIDC scopes for m2m access. Once cusomer configures OIDC client for m2m access with correct scopes the can use client_credentials OIDC flow to generate accessToken and use this token to access ULM m2m APIs Storefront Gateway allow customers to manage Storefront Gateway entities, and synchronize them with customer information in their own systems. The machine clients access these APIs to add or delete a user, and modify user attribute(s):- Delete a User by User Attibute (Machine-to-machine):
DELETE /activation/user/byattribute/{attributeName}/{attributeValue} - Update a user by a specific attribute (Machine-to-machine):
POST /activation/user/status/byattribute/{attributeName}/{attributeValue} - Add a user:
POST /activation/addUser

