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 Value | Code |
---|---|
0 | SupplierPartNo |
1 | ProductName |
2 | CategoryCode |
3 | ProductType |
4 | Manufacturer |
5 | ManufacturerPartNo |
6 | EanCode |
7 | CommodityCode |
8 | GrossWeight |
9 | NetWeight |
10 | UnitOfMeasurementCode |
11 | UnitOfMeasurementCount |
12 | VatCode |
13 | LogisticWidth |
14 | LogisticHeight |
15 | LogisticDepth |
ContentFieldsThatAreSet
[string]
Required.
Specifies which product culture fields to be updated.
(Use the integer instead of the name for the xml content type)
Integer Value | Code | Remarks |
---|---|---|
0 | Name | |
1 | NameCreateOnly | Value is only set if the entity is created by the import |
2 | SubHeader | |
3 | SubDescription | |
4 | DescriptionHeader | |
5 | Description | |
6 | DescriptionCreateOnly | Value is only set if the entity is created by the import |
7 | Synonyms | |
8 | Title | |
9 | Tags | |
10 | MetaTags | |
11 | MetaDescription | |
12 | NameLimitedUpdate | If name is manually changed in the Admin UI, import is ignored |
13 | UniqueUrlName | |
14 | IsUniqueUrlNameManuallyMaintained | |
15 | UniqueUrlNameCreateOnly | Value 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 Value | Code |
---|---|
0 | Value |
1 | IncomingValue |
2 | NextDeliveryDate |
3 | StoppedDate |
4 | IsReturnable |
5 | LeadTimeDayCount |
6 | ExternalStockValue |
7 | PackageValue |
8 | MinimumOrderValue |
9 | IsActive |
PriceFieldsThatAreSet
[string]
Required.
Specifies which price fields to be updated. (Use the integer instead of the name for the xml content type)
Integer Value | Code |
---|---|
0 | CostPurchase |
1 | CostPurchaseValidTo |
2 | PriceRecommended |
3 | PriceMax |
4 | PriceDealer |
5 | IsPromotion |
6 | IsFocus |
7 | PriceRanking |
8 | FreightCost |
9 | CostFee |
10 | DiscountPct |
11 | IsActive |
12 | PriceCatalog |
ProductInfoFieldsThatAreSet
[string]
Required.
Specifies which product info fields to be updated. (Use the integer instead of the name for the xml content type)
Integer Value | Code |
---|---|
0 | Value |
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.