Skip to content

Documentation ProductService (1.1)

Download OpenAPI description
Languages
Servers

https://customer-slug.api-se.norce.tech/commerce/product/1.1/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Quick search of products, only returns ProductId and Name.

Query
searchStringstringrequired

Free text search string. Minimum of 2 characters required.

statusSeedstringrequired

Accepts a comma separated string of Status internal ids. Lookup references in ListStatuses.

assortmentSeedstringrequired

Accepts a comma separated string of Assortment internal ids. Lookup references in ListAssortments.

pricelistSeedstring

A comma separated list of PriceList IDs to use, if any. PriceLists supplied must be valid, either from the application's public priceList or any customer or company priceLists or any valid client priceLists. For clients configured to use priceListSeed exclusively in the API only the supplied priceLists will be used. If this is not configured, the supplied priceLists will be appended to the valid priceLists. If none is supplied, the default value for the application will be used in combination with any customer or company priceLists. This applies to both configurations.

customerIdstring

Current Customer.Id, checks for specific customer bound prices.

companyIdstring

Current Company ID, checks for specific company bound prices.

sizestring

Number of items to display.

cultureCodestring

Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.

currencyIdstring

Specifies in which currency to display prices. Uses Storm internal ids. If none is supplied, value is resolved from Application.

salesAreaIdstring

Specifies the SalesArea to use. Uses Storm internal ids. If none is supplied, primary SalesArea on Application will be used.

curl -i -X GET \
  'https://customer-slug.api-se.norce.tech/commerce/product/1.1/SearchProductsLite2?searchString=string&statusSeed=string&assortmentSeed=string'

Responses

Success

BodyArray [
Idinteger(int32)

Internal product id.

Namestring

MaxLength: 255.

ManufacturerNamestring

MaxLength: 100.

Pricenumber(decimal)

The best price excluding VAT for the product.

VatRatenumber(decimal)

A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.

ImageKeystring or null(guid)

A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.

UniqueNamestring

A unique name that can be used in Urls and to get a Product. GetProduct and GetProductByUniqueName gets the same Product. MaxLength: 500.

CategoryIdinteger or null(int32)
PriceIncVatnumber(decimal)

The price including VAT calculated on the server side. Should be used to display prices including VAT.

]
Response
[ { "Id": 0, "Name": "string", "ManufacturerName": "string", "Price": 0, "VatRate": 0, "ImageKey": "string", "UniqueName": "string", "CategoryId": 0, "PriceIncVat": 0 } ]

Request

Updates the view count for the product. Used when calculating most popular products. Should be called on product detail pages.

Query
categoryIdinteger(int32)required

The category internal id for the product.

productIdinteger(int32)required

Product internal id.

curl -i -X POST \
  'https://customer-slug.api-se.norce.tech/commerce/product/1.1/UpdateProductViewCount?categoryId=0&productId=0'

Responses

Success

Body
Operations
Operations
Operations
Operations
Operations
Operations