JSON or XML serialized string of the SkuPriceListHeader 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.
{
"AccountId": integer,
"FullFile": boolean,
"SkuPriceListFieldsThatAreSet": [integer|string],
"IgnoreSkuPriceListFieldsWhenEmpty": [integer|string],
"JobId": integer,
"SerializationType": integer|string,
"StorageName": string,
"SupplierId": integer
}
Example
{ "AccountId":1, "FullFile":false, "SkuPriceListFieldsThatAreSet": [3,6,8], "SerializationType": 0 }
integer
Required.
Account id of the integration service which initiated the import. Learn about system accounts here.
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. Use with caution and if you're ever unsure please set this to false.
[integer|string]
Required.
Comma separated array of integers or strings that specifies which SKU price list fields to be updated.
Use the integer instead of the name for the xml content type
Integer Value | Code | Remarks |
---|---|---|
3 | PriceSale | |
4 | CostPurchase | |
5 | CostUnit | |
6 | PriceRecommended | |
7 | PricePrevious | |
8 | PriceCatalog | |
9 | IsPriceDiscountable | |
10 | IsActive | |
11 | IsPriceDiscountableCreateOnly | Value is only set if the sku price list entity is created by the import |
12 | PriceRule | |
13 | FullfileResetInheritance |
[integer|string]
Required.
Comma separated array of integers or strings that specifies which SKU price list fields that are mandatory. If this field is missing in the import this specific price entity will be ignored. Required settings: All fields added here must also be set in SkuPriceListFieldsThatAreSet
Use the integer instead of the name for the xml content type
Integer Value | Code |
---|---|
3 | PriceSale |
4 | CostPurchase |
5 | CostUnit |
6 | PriceRecommended |
7 | PricePrevious |
8 | PriceCatalog |
10 | IsActive |
integer
- Optional
Internal Norce Commerce id for this job. Created automatically by Norce Commerce Connect. Should be omitted in the import request.
integer|string
- Optional
Request serialization type. (Use the integer instead of the name for the xml content type)
0 = JSON
, 1 = XML
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.
integer
- Optional
Only used in combination with StorageName
above.