Last updated

X-StormConnect-Header specification

JSON or XML serialized string of the SupplierProductHeader object. Note that the enums must be of integer values when using application/xml. Encoding and can be either string or integer for application/json. Also note that this must be a single string without line breaks and all values in the arrays should be comma separated. Omit properties not used.

Specification

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

Example

{"AccountId":1,"FullFile":false,"ContentFieldsThatAreSet":[1,6,13,14],"FieldsThatAreSet":[0,1,4,5],"OnhandFieldsThatAreSet":[0,1,2],"PriceFieldsThatAreSet":[0,11],"ProductInfoFieldsThatAreSet":[],"SerializationType":0}

AccountId

integer Required.

Account id of the integration service which initiated the import. Learn about system accounts here.

FullFile

boolean Required

Flag that specify how Norce Commerce Connect will handle the import. If true, this supplier will be inactivated on categories not included in this import. Also, availabilty data and price data on warehouses and pricelists present in the import but not on a specific product will be inactivated for that product. Use with caution, and if you're ever unsure please set this to false.

FieldsThatAreSet

[integer|string] Required.

Comma separated array of integeros or strings that 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

[integer|string] Required.

Comma separated array of integers or strings that 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 set only if the entity is created by this import
2SubHeader
3SubDescription
4DescriptionHeader
5Description
6DescriptionCreateOnlyValue is set only if the entity is created by this import
7Synonyms
8Title
9Tags
10MetaTags
11MetaDescription
12NameLimitedUpdateName is only updated if the account for this import last updated it.
13UniqueUrlName
14IsUniqueUrlNameManuallyMaintained
15UniqueUrlNameCreateOnlyValue is set only if the entity is created by this import

OnhandFieldsThatAreSet

[integer|string] Required.

Comma separated array of integers or strings that 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

[integer|string] Required.

Comma separated array of integers or strings that 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

[integer|string] Required.

Comma separated array of integers or strings that specifies which product info fields to be updated.

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

Integer ValueCode
0Value

JobId

integer - Optional

Internal Norce Commerce id for this job. Created automatically by Norce Commerce Connect. Should be omitted in the import request.

SerializationType

integer|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. This requires another process of file uploads agreed with Norce to work.

SupplierId

integer - Optional

Only used in combination with StorageName above.