Norce Commerce Metadata v1.1 service (1.1)

The Metadata namespace has Entities and Operations concerned with the Application and similar context. It contains the Application entity, Stores and other data for lookups.

Download OpenAPI description
Languages
Servers
Playground

https://{slug}.api-se.playground.norce.tech/commerce/

Stage

https://{slug}.api-se.stage.norce.tech/commerce/

Production

https://{slug}.api-se.norce.tech/commerce/

Flags

Contains endpoints for viewing flags on the application. Any flags except product flags.

Operations

InfoTypes

Contains endpoints for viewing metadata for extended fields, specifically for Stores.

Operations

Location

Contains endpoints for looking up location information from the application.

Operations

Get location info by zip code

Request

Gets the LocationInfo for a given zip code. The mapping of zip codes to Locations is done in the Norce Admin if not implemented through integration. Returns null if the LocationInfo does not exist.

Query
countryCodestring

The ISO 3166-1 alpha-2 is used. SE for Sweden.

zipstring

The zip code to get a location for.

curl -i -X GET \
  https://customer-slug.api-se.playground.norce.tech/commerce/metadata/1.1/GetLocationInfoByZipCode \
  -H 'ApplicationId: YOUR_API_KEY_HERE' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
CountryCodestring or null

This is country code for the location.

ZipCodestring or null

This is zip code for the location.

Deliveryobject or null

This entity defines a location. If StoreId and StoreCode are both null, then WarehouseId and LocationId are not null and vice versa. All properties can have values if the Store is fetched from Norce Commerce. The information can be used when specifying Store/Warehouse/Location in some API-methods.

Pickupobject or null

This entity defines a location. If StoreId and StoreCode are both null, then WarehouseId and LocationId are not null and vice versa. All properties can have values if the Store is fetched from Norce Commerce. The information can be used when specifying Store/Warehouse/Location in some API-methods.

Paymentobject or null

This entity defines a location. If StoreId and StoreCode are both null, then WarehouseId and LocationId are not null and vice versa. All properties can have values if the Store is fetched from Norce Commerce. The information can be used when specifying Store/Warehouse/Location in some API-methods.

Response
application/json
{ "CountryCode": "string", "ZipCode": "string", "Delivery": { "StoreId": 0, "StoreCode": "string", "WarehouseId": 0, "LocationIdId": 0 }, "Pickup": { "StoreId": 0, "StoreCode": "string", "WarehouseId": 0, "LocationIdId": 0 }, "Payment": { "StoreId": 0, "StoreCode": "string", "WarehouseId": 0, "LocationIdId": 0 } }

Application

Contains endpoints for viewing metadata for application configurations.

Operations

Stores

Contains endpoints for viewing Store information and its metadata.

Operations

Schemas