A list of product internal ids to get variant data for.
Documentation ProductService (1.1)
https://customer-slug.api-se.norce.tech/commerce/product/1.1/
Accepts a comma separated string of Status internal ids. Lookup references in ListStatuses.
Parametric values formatted as ListParameters = L[ParametricId][ListId], MultiParameters = M[ParametricId][MultipleId], ValueParameters = V[ParametricId]_[ValueFrom]-[ValueTo] with asterisk () as separator. Sample: L10_45M20_254M20_145V60_256-1024*V70_1.4-1.9. The logical operation between values is AND.
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.
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.
Company internal id. Checks for specific company bound prices if provided. Note! customerId is mandatory in combination with companyId.
An expand option that specifies what expansions should be made on the VariantItem entity. Valid values are: None, Price, OnHand, OnHandStore, OnHandSupplier and Parameters. These can be comma separated. Use Full for all. Default is Full. None will return just the VariantItem without expansions.
Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.
https://customer-slug.api-se.norce.tech/commerce/product/1.1/ListVariantItems
- cURL
- JS
- C#
curl -i -X POST \
'https://customer-slug.api-se.norce.tech/commerce/product/1.1/ListVariantItems?productIds=0&statusSeed=string'
Success
- application/json
- application/xml
A key that group items on product. It is equal to the product id for non-variants and equals 'v'+variantId for variants. Should be used to correlate ProductItems with VariantItems. MaxLength: int.
The Name of this VariantItem. Will be the same as the corresponding product if this is not a Variant. MaxLength: 255.
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.
Seed formatted as TypeId[1]:Guid[1], TypeId[2]:Guid[2],.., TypeId[n]:Guid[n]. MaxLength: max.
Indicates if the item is buyable or not. Will always be false if the status is closed. An exception will be thrown if IsBuyable is false and an attempt to buy the item is made. The property can be used to hide or show the buy-button.
Indicates the default value used as quantity when buying the product. If IsRecommendedQuantityFixed is true, only multiples of this quantity should be allowed.
If this is set to true only multiples of RecommendedQuantity should be allowed.
Sub header from the Product in Storm. Only set if Product texts are variant unique. MaxLength: 255.
Sub description from the Product in Storm. Only set if Product texts are variant unique. MaxLength: max.
[ { "Id": 0, "GroupByKey": "string", "Name": "string", "StatusId": 0, "TypeId": 0, "PartNo": "string", "ManufacturerPartNo": "string", "ImageKey": "string", "FlagIdSeed": "string", "Price": { … }, "OnHand": { … }, "OnHandStore": { … }, "OnHandSupplier": { … }, "Parametrics": { … }, "AdditionalImageKeySeed": "string", "EanCode": "string", "IsBuyable": true, "UnitOfMeasurement": "string", "UnitOfMeasurementCount": 0, "RecommendedQuantity": 0, "IsRecommendedQuantityFixed": true, "SubHeader": "string", "SubDescription": "string", "UniqueName": "string" } ]