Last updated

Supplier Prices Import Header

JSON or XML serialized string of the import specification object.

The X-StormConnect-Header is used to specify the import details for the request and is different for each import type.

{
  "FieldsThatAreSet":                   [string],
  "ContentFieldsThatAreSet":            [string],
  "OnhandFieldsThatAreSet":             [string],
  "PriceFieldsThatAreSet":              [string],
  "ProductInfoFieldsThatAreSet":        [string],
  "FullFile":                           boolean,
  "AccountId":                          integer,
  "JobId":                              integer,
  "SerializationType":                  [string],
  "StorageName":                        [string],
  "SupplierId":                         [string]
}

FieldsThatAreSet

[string] Required.

Specifies which product fields to be updated.

(Use the integer instead of the name for the xml content type)

Integer ValueCode
0SupplierPartNo
1ProductName
2CategoryCode
3ProductType
4Manufacturer
5ManufacturerPartNo
6EanCode
7CommodityCode
8GrossWeight
9NetWeight
10UnitOfMeasurementCode
11UnitOfMeasurementCount
12VatCode
13LogisticWidth
14LogisticHeight
15LogisticDepth

ContentFieldsThatAreSet

[string] Required.

Specifies which product culture fields to be updated.

(Use the integer instead of the name for the xml content type)

Integer ValueCodeRemarks
0Name
1NameCreateOnlyValue is only set if the entity is created by the import
2SubHeader
3SubDescription
4DescriptionHeader
5Description
6DescriptionCreateOnlyValue is only set if the entity is created by the import
7Synonyms
8Title
9Tags
10MetaTags
11MetaDescription
12NameLimitedUpdateIf name is manually changed in the Admin UI, import is ignored
13UniqueUrlName
14IsUniqueUrlNameManuallyMaintained
15UniqueUrlNameCreateOnlyValue is only set if the entity is created by the import

OnhandFieldsThatAreSet

[string] Required.

Specifies which on hand fields to be updated. (Use the integer instead of the name for the xml content type)

Integer ValueCode
0Value
1IncomingValue
2NextDeliveryDate
3StoppedDate
4IsReturnable
5LeadTimeDayCount
6ExternalStockValue
7PackageValue
8MinimumOrderValue
9IsActive

PriceFieldsThatAreSet

[string] Required.

Specifies which price fields to be updated. (Use the integer instead of the name for the xml content type)

Integer ValueCode
0CostPurchase
1CostPurchaseValidTo
2PriceRecommended
3PriceMax
4PriceDealer
5IsPromotion
6IsFocus
7PriceRanking
8FreightCost
9CostFee
10DiscountPct
11IsActive
12PriceCatalog

ProductInfoFieldsThatAreSet

[string] Required.

Specifies which product info fields to be updated. (Use the integer instead of the name for the xml content type)

Integer ValueCode
0Value

FullFile

boolean Required

Flag that specify how Norce Commerce Connect will handle the import. If true, all prices from the competitors not in this import will be deactivated. If false, the import will be handled as an update only, and other products already having prices will be ignored.

AccountId

integer Required.

Account which initiated the import. Learn about system accounts here.

JobId

integer - Optional

Norce Commerce Connect job id. Only exists in import logs. Should be omitted in the import request.

SerializationType

[string] - Optional

Request serialization type.(Use the integer instead of the name for the xml content type)

0 = JSON, 1 = XML

StorageName

string <uri> - Optional Location of the import file on Norce's file area. Can be used instead of sending data directly in payload.

SupplierId

string <int32> - Optional Derived from base header. Ignored in this import.