Use this to import campaigns and other price lists. Price lists not existing in Norce Commerce will be created.
Read more about the method here.
required | object <PriceListHeader> (PriceListHeader) Json serialized string |
List of price lists to import.
Success
Bad Request
Internal Server Error
[- {
- "Code": "string",
- "CurrencyCode": "string",
- "DefaultPriceRule": 0,
- "DefaultPriceRuleCode": "string",
- "DefaultPriceRuleValue": 0,
- "Description": "string",
- "EndDate": "string",
- "IsErpIntegrated": true,
- "IsPrimary": true,
- "IsPublic": true,
- "IsFavorite": true,
- "Name": "string",
- "StartDate": "string",
- "TypeCode": "string",
- "Warehouses": [
- {
- "Code": "string",
- "Locations": [
- {
- "Code": "string",
- "IsIncludedInStockCalculation": true,
- "LeadTimeDayCount": 0,
- "Name": "string"
}
], - "LeadTimeDayCount": 0,
- "Name": "string",
- "Type": 0
}
], - "SalesArea": 0,
- "DefaultMinMarginPercent": 0,
- "LimitToRecPrice": true,
- "ParentPriceListCode": "string",
- "DefaultSupplementalChargeFixed": 0,
- "DefaultSupplementalChargePercent": 0,
- "PriceRules": [
- {
- "Type": 0,
- "Value": 0,
- "LimitToRecPrice": true,
- "MinValue": 0,
- "MaxValue": 0,
- "ManufacturerCode": "string",
- "CategoryCode": "string",
- "Flags": [
- "string"
]
}
], - "Population": {
- "Type": 0,
- "AllCategories": {
- "RuleType": 0,
- "RuleCodes": [
- "string"
]
}, - "Categories": [
- {
- "Code": "string",
- "RuleType": 0,
- "RuleCodes": [
- "string"
], - "RequireSupplier": true
}
], - "RequireSupplier": true
}
}
]
{- "StatusCode": "string",
- "Description": "string",
- "JobId": "string",
- "ValidationSummary": {
- "NrOfItemsInTotal": 0,
- "NrOfValidationFailures": 0,
- "Messages": [
- "string"
]
}
}