Overview
This page provides a technical guide to using Norce Commerce Services, including authentication, environments, error handling, and best practices for integrating with Norce's REST-based microservices.
Norce Commerce Services is a suite of RESTful microservices designed to support eCommerce applications built on the Norce Commerce platform. This documentation explains how to interact with these services, including environment setup, authentication, and error handling.
Norce provides multiple environments for development, testing, and production. Each environment has a specific URL structure and purpose.
Environment | Purpose | URL Pattern Example |
---|---|---|
Production | Live client applications | [clientname].api-[region].norce.tech/commerce/[servicename]/[version] |
Playground | Experimentation and development | [clientname].api-[region].playground.norce.tech/commerce/[servicename]/[version] |
Stage | Pre-production testing | [clientname].api-[region].stage.norce.tech/commerce/[servicename]/[version] |
Old/Lab | Deprecated, use Playground or Stage | api.lab.storm.io |
Demo | Deprecated, replaced by open playground | demo.storm.io |
Note: For Norce [Storm], use
api.storm.io
or[clientname].storm.io
with/stormapi/1.1
or/api/1.1
as appropriate.
See Infrastructure Environments for more details.
Clients can request extra environments (e.g., parallel staging) by setting up new tenants. These may incur additional costs.
- Norce Commerce Services Postman Examples
- Read about our Postman examples: Working with Norce Postman Examples
Norce Commerce Services use REST exclusively. Norce [Storm] supports SOAP for backward compatibility only.
Norce Commerce Services uses OAuth2 for authentication. Credentials are managed in the admin UI.
- See Accessing APIs with OAuth2 Accounts for setup instructions.
Norce [Storm] previously used client certificates for authentication. This method is now deprecated and no longer supported.
When making API requests, include the following header:
applicationId
: Integer. The ID of the application for which you are accessing the API.
To set up OAuth2 access, follow the instructions in Accessing APIs with OAuth2 Accounts.
For open-source client libraries, see StormCommerce on GitHub.
Norce Commerce Services use standard HTTP status codes. Error responses may include additional information in the response body.
{
"MessageId": 0,
"Message": "The basket is missing. Try deleting the cookies for this site and try again.",
"Orchestration": null,
"TimeStamp": "/Date(1591968688391+0200)/",
"Record": "<NameValues xmlns=\"Enferno.Services.Contracts.Expose\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><Item><Name>QuotationMissing</Name><Value>The basket is missing. Try deleting the cookies for this site and try again.</Value></Item></NameValues>",
"Messages": [
{
"Key": "QuotationMissing",
"Value": "The basket is missing. Try deleting the cookies for this site and try again."
}
]
}
Messages
: A collection of error messages, each with aKey
andValue
.
See all possible error messages: ListErrorMessages
For open-source resources, see Client Libraries.