Documentation ProductService (1.1)

Download OpenAPI description
Languages
Servers
https://customer-slug.api-se.norce.tech/commerce/product/1.1/

Assortments

Operations

Categories

Operations

Configurations

Operations

Families

Operations

Files

Operations

Filters

Operations

Flags

Operations

InfoTypes

Operations

Manufacturers

Operations

OnHand

Operations

Parametric

Operations

PriceLists

Operations

Products

Operations

Promotions

Operations

Relations

Operations

List product relations

Request

Relations connected to a product. Relations are defined as products that customer could choose to buy in addition to the current product. Supports relations like product to product, product to variant, variant to product and variant to variant.

Query
productIdinteger(int32)required

Internal id of current Product.

relationTypeSeedstringrequired

Accepts a comma separated string of Type IDs. Lookup references in ListProductRelationTypes. If empty or null, all types will be used.

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.

storeSeedstring

Accepts a comma separated string of store internal ids. The StoreOnHand property of the product will show the onHand values for supplied Stores if supplied.

pricelistSeedstring

A comma separated list of PriceList internal 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

Customer internal id. Checks for specific customer bound prices if provided.

companyIdstring

Company internal id. Checks for specific company bound prices if provided. Note! customerId is mandatory in combination with companyId.

sortstring

Sort order as formatted [Property] [Asc/Desc] with comma as separator. Supported properties for sorting on the server are PopularityRank, Name, Price and SortOrder.

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.

asVariantsstring

Specifies if the output should be grouped as products or as variants. Default is false which returns a list of products. Set to true if variants are wanted.

isForAllVariantsstring

Specifies if the result should include all variants or just the one specified as productId. Default is true.

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

Responses

Success

BodyArray [
Idinteger(int32)

This is the type internal id for the relation type

Codestring

This is the type external code for the relation type

Namestring

This is the name of the relation type

Descriptionstring

This is the description of the relation type

RelationsMetadataArray of objects(RelationMetadataItem)(RelationMetadataItem)

Indicates if the related items are product or variant specific

Relationsobject(ProductItemPagedList)(ProductItemPagedList)
VariantRelationsArray of objects(VariantRelations)(VariantRelations)

This is a list of variant relations.

]
Response
[ { "Id": 0, "Code": "string", "Name": "string", "Description": "string", "RelationsMetadata": [], "Relations": {}, "VariantRelations": [] } ]

List product relation types

Request

Reference list of Product Relation types. The ids in the list can be used as accessoryTypeSeed in calls to ListProductAccessories/ListProductRelations.

Query
cultureCodestring

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

curl -i -X GET \
  https://customer-slug.api-se.norce.tech/commerce/product/1.1/ListProductRelationTypes

Responses

Success

BodyArray [
Idinteger(int32)

The internal Id of the Entity. This Id might be different in different tiers such as Stage and Production. Use Code if hard coding is required.

Valuestring

The Value of the Entity. MaxLength: max.

Codestring

The Code of the Entity, if existing. Use this value when hard coding is required. MaxLength: 255.

]
Response
[ { "Id": 0, "Value": "string", "Code": "string" } ]

Reviews

Operations

SkuTypes

Operations

Status

Operations

Variants

Operations

Warehouses

Operations