last updated: 2025-03-31
Norce Commerce Management API examples
_set testdata
Set PG - norce-open-demo
Method: GET
URL: https://{{adminapihost}}/api/application/byclient
Product metadata
Category
CRUD
Create a category
Method: POST
URL: https://{{adminapihost}}/api/category
Body:
{
"Name": "Dynamically Created",
"Description": "A new category created from Mgmt API",
"ParentId": 8,
"Code": "cat_dyncreated",
"IsVatCodeIdInherited": true,
"UnitOfMeasurementId": 1,
"IsActive": true,
"Cultures": [
{
"CultureCode": "en-GB",
"Name": "Dynamically Created",
"Description": "A new category created from Mgmt API"
},
{
"CultureCode": "sv-SE",
"Name": "Dyniskt skapad",
"Description": "En ny kategori, skapad från management API:et"
}
]
}
Get the new Category
Method: GET
URL: https://{{adminapihost}}/api/category/{{newCategoryId}}
Update a category
Method: PUT
URL: https://{{adminapihost}}/api/category/{{newCategoryId}}
Body:
{
"Id": {{newCategoryId}},
"Name": "Dynamically Created",
"DefaultName": "Dynamically Created",
"IsNameInherited": false,
"Description": "A new category created from Mgmt API",
"DefaultDescription": "A new category created from Mgmt API",
"IsDescriptionInherited": false,
"FullName": "Sandbox_Play_here - Dynamically Created",
"DefaultFullName": "Sandbox_Play_here - Dynamically Created",
"IsFullNameInherited": false,
"ParentId": 8,
"ParentCode": "c_sandboxplayhere",
"ParentName": "Sandbox_Play_here",
"SortOrder": 1,
"IsDisplayOnly": false,
"ImageKey": null,
"ImageUrl": "",
"Code": "cat_dyncreated2",
"Synonyms": "",
"DefaultSynonyms": "",
"IsSynonymsInherited": false,
"UnspcCode": null,
"BusinessArea": null,
"CommodityCode": null,
"IntegrationPartNo": null,
"FreightClassId": null,
"GrossWeight": null,
"VatCodeId": 25,
"InheritedVatCodeId": 25,
"IsVatCodeIdInherited": true,
"InheritedVatCodeName": "VAT25",
"VatCodeIdInheritedFrom": null,
"VatCodeName": "VAT25",
"VatCodeValue": 25.00,
"InheritedVatCodeValue": 25.00,
"VatCodes": [
{
"$id": "2",
"SalesAreaId": 2,
"SalesAreaName": "Norway",
"VatCodeId": 25,
"InheritedVatCodeId": 25,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT25",
"VatCodeValue": 25.00,
"InheritedVatCodeName": "VAT25",
"InheritedVatCodeValue": 25.00
},
{
"$id": "3",
"SalesAreaId": 4,
"SalesAreaName": "Finland",
"VatCodeId": 1255,
"InheritedVatCodeId": 1255,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT25.5",
"VatCodeValue": 25.50,
"InheritedVatCodeName": "VAT25.5",
"InheritedVatCodeValue": 25.50
},
{
"$id": "4",
"SalesAreaId": 8,
"SalesAreaName": "Germany",
"VatCodeId": 19,
"InheritedVatCodeId": 19,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT19",
"VatCodeValue": 19.00,
"InheritedVatCodeName": "VAT19",
"InheritedVatCodeValue": 19.00
},
{
"$id": "5",
"SalesAreaId": 9,
"SalesAreaName": "Italy",
"VatCodeId": 22,
"InheritedVatCodeId": 22,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT22",
"VatCodeValue": 22.00,
"InheritedVatCodeName": "VAT22",
"InheritedVatCodeValue": 22.00
},
{
"$id": "6",
"SalesAreaId": 14,
"SalesAreaName": "France",
"VatCodeId": 20,
"InheritedVatCodeId": 20,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT20",
"VatCodeValue": 20.00,
"InheritedVatCodeName": "VAT20",
"InheritedVatCodeValue": 20.00
},
{
"$id": "7",
"SalesAreaId": 25,
"SalesAreaName": "Europe",
"VatCodeId": 0,
"InheritedVatCodeId": 0,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT00",
"VatCodeValue": 0.00,
"InheritedVatCodeName": "VAT00",
"InheritedVatCodeValue": 0.00
}
],
"UnitOfMeasurementId": 1,
"RecommendedSalesQty": null,
"IsReturnable": null,
"IsDropShipOnly": null,
"PopulationRuleId": 0,
"TrackingCodeTypeId": null,
"CompetitivePricingMinPercentage": null,
"CompetitivePricingTargetPercentage": null,
"HideInTopList": false,
"StockDisplayBreakPoint": null,
"IsRecommendedQtyFixed": null,
"IsRecurringOrderable": null,
"IsActive": true,
"Changed": "2025-03-18 14:32",
"ChangedBy": "Integration Service",
"Cultures": [
{
"$id": "8",
"CultureCode": "en-GB",
"Name": "Dynamically Created",
"IsNameInherited": false,
"Description": "A new category created from Mgmt API (updated)",
"IsDescriptionInherited": false,
"Synonyms": "",
"IsSynonymsInherited": false,
"FullName": "Sandbox_Play_here - Dynamically Created",
"IsFullNameInherited": false,
"IsTranslated": true
},
{
"$id": "9",
"CultureCode": "fi-FI",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "10",
"CultureCode": "fr-FR",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "11",
"CultureCode": "it-IT",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "12",
"CultureCode": "nb-NO",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "13",
"CultureCode": "nn-NO",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "14",
"CultureCode": "sv-SE",
"Name": "Dyniskt skapad",
"IsNameInherited": false,
"Description": "En ny kategori, skapad från management API:et (uppdaterad)",
"IsDescriptionInherited": false,
"Synonyms": "",
"IsSynonymsInherited": false,
"FullName": "Sandbox_Play_here - Dyniskt skapad",
"IsFullNameInherited": false,
"IsTranslated": true
},
{
"$id": "15",
"CultureCode": "de-DE",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
}
]
}
List category parametrics
Method: GET
URL: https://{{adminapihost}}/api/category/{{newCategoryId}}/parametric
Update category parametrics
Method: PUT
URL: https://{{adminapihost}}/api/category/{{newCategoryId}}/parametric
Body:
[
{
"CategoryId": {{newCategoryId}},
"Name": "Clothing - Material",
"Code": "p_clothing_material",
"GroupId": 5,
"SortOrder": 1,
"IsSecondary": false,
"IsRequired": false,
"IsActive": true
}
]
Delete (inactivate) the Category
Method: PUT
URL: https://{{adminapihost}}/api/category/{{newCategoryId}}
Body:
{
"_comment": "Delete the category by changing isactive to false, and scamble the category code, to make sure that no duplicates occur.",
"Id": {{newCategoryId}},
"Name": "Dynamically Created",
"DefaultName": "Dynamically Created",
"IsNameInherited": false,
"Description": "A new category created from Mgmt API",
"DefaultDescription": "A new category created from Mgmt API",
"IsDescriptionInherited": false,
"FullName": "Sandbox_Play_here - Dynamically Created",
"DefaultFullName": "Sandbox_Play_here - Dynamically Created",
"IsFullNameInherited": false,
"ParentId": 8,
"ParentCode": "c_sandboxplayhere",
"ParentName": "Sandbox_Play_here",
"SortOrder": 1,
"IsDisplayOnly": false,
"ImageKey": null,
"ImageUrl": "",
"Code": "cat_dyncreated2_deleted_{{newCategoryId}}",
"Synonyms": "",
"DefaultSynonyms": "",
"IsSynonymsInherited": false,
"UnspcCode": null,
"BusinessArea": null,
"CommodityCode": null,
"IntegrationPartNo": null,
"FreightClassId": null,
"GrossWeight": null,
"VatCodeId": 25,
"InheritedVatCodeId": 25,
"IsVatCodeIdInherited": true,
"InheritedVatCodeName": "VAT25",
"VatCodeIdInheritedFrom": null,
"VatCodeName": "VAT25",
"VatCodeValue": 25.00,
"InheritedVatCodeValue": 25.00,
"VatCodes": [
{
"$id": "2",
"SalesAreaId": 2,
"SalesAreaName": "Norway",
"VatCodeId": 25,
"InheritedVatCodeId": 25,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT25",
"VatCodeValue": 25.00,
"InheritedVatCodeName": "VAT25",
"InheritedVatCodeValue": 25.00
},
{
"$id": "3",
"SalesAreaId": 4,
"SalesAreaName": "Finland",
"VatCodeId": 1255,
"InheritedVatCodeId": 1255,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT25.5",
"VatCodeValue": 25.50,
"InheritedVatCodeName": "VAT25.5",
"InheritedVatCodeValue": 25.50
},
{
"$id": "4",
"SalesAreaId": 8,
"SalesAreaName": "Germany",
"VatCodeId": 19,
"InheritedVatCodeId": 19,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT19",
"VatCodeValue": 19.00,
"InheritedVatCodeName": "VAT19",
"InheritedVatCodeValue": 19.00
},
{
"$id": "5",
"SalesAreaId": 9,
"SalesAreaName": "Italy",
"VatCodeId": 22,
"InheritedVatCodeId": 22,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT22",
"VatCodeValue": 22.00,
"InheritedVatCodeName": "VAT22",
"InheritedVatCodeValue": 22.00
},
{
"$id": "6",
"SalesAreaId": 14,
"SalesAreaName": "France",
"VatCodeId": 20,
"InheritedVatCodeId": 20,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT20",
"VatCodeValue": 20.00,
"InheritedVatCodeName": "VAT20",
"InheritedVatCodeValue": 20.00
},
{
"$id": "7",
"SalesAreaId": 25,
"SalesAreaName": "Europe",
"VatCodeId": 0,
"InheritedVatCodeId": 0,
"IsVatCodeIdInherited": true,
"VatCodeIdInheritedFrom": "Sales area",
"VatCodeName": "VAT00",
"VatCodeValue": 0.00,
"InheritedVatCodeName": "VAT00",
"InheritedVatCodeValue": 0.00
}
],
"UnitOfMeasurementId": 1,
"RecommendedSalesQty": null,
"IsReturnable": null,
"IsDropShipOnly": null,
"PopulationRuleId": 0,
"TrackingCodeTypeId": null,
"CompetitivePricingMinPercentage": null,
"CompetitivePricingTargetPercentage": null,
"HideInTopList": false,
"StockDisplayBreakPoint": null,
"IsRecommendedQtyFixed": null,
"IsRecurringOrderable": null,
"IsActive": false,
"Changed": "2025-03-18 14:32",
"ChangedBy": "Integration Service",
"Cultures": [
{
"$id": "8",
"CultureCode": "en-GB",
"Name": "Dynamically Created",
"IsNameInherited": false,
"Description": "A new category created from Mgmt API (updated)",
"IsDescriptionInherited": false,
"Synonyms": "",
"IsSynonymsInherited": false,
"FullName": "Sandbox_Play_here - Dynamically Created",
"IsFullNameInherited": false,
"IsTranslated": true
},
{
"$id": "9",
"CultureCode": "fi-FI",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "10",
"CultureCode": "fr-FR",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "11",
"CultureCode": "it-IT",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "12",
"CultureCode": "nb-NO",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "13",
"CultureCode": "nn-NO",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
},
{
"$id": "14",
"CultureCode": "sv-SE",
"Name": "Dyniskt skapad",
"IsNameInherited": false,
"Description": "En ny kategori, skapad från management API:et (uppdaterad)",
"IsDescriptionInherited": false,
"Synonyms": "",
"IsSynonymsInherited": false,
"FullName": "Sandbox_Play_here - Dyniskt skapad",
"IsFullNameInherited": false,
"IsTranslated": true
},
{
"$id": "15",
"CultureCode": "de-DE",
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true,
"Synonyms": null,
"IsSynonymsInherited": true,
"FullName": null,
"IsFullNameInherited": true,
"IsTranslated": false
}
]
}
List Categories
Method: GET
URL: https://{{adminapihost}}/api/category
List Categories in Compact format
Method: GET
URL: https://{{adminapihost}}/api/category/compact
List deleted Categories
Method: GET
URL: https://{{adminapihost}}/api/category/deleted
Get Category
Method: GET
URL: https://{{adminapihost}}/api/category/{{lookupCategoryId}}
Manufacturers
List Manufacturers
Method: GET
URL: https://{{adminapihost}}/api/manufacturer
Get Manufacturer
Method: GET
URL: https://{{adminapihost}}/api/manufacturer/{{lookupManufacturerId}}
Flags
List product flags
Method: GET
URL: https://{{adminapihost}}/api/product/flag
List product flag groups
Method: GET
URL: https://{{adminapihost}}/api/product/flaggroup
List deleted product flags
Method: GET
URL: https://{{adminapihost}}/api/product/flag/deleted
List deleted product flag groups
Method: GET
URL: https://{{adminapihost}}/api/product/flaggroup/deleted
Get Product flag
Method: GET
URL: https://{{adminapihost}}/api/product/flag/{{lookupProductFlagId}}
Get Product flag group
Method: GET
URL: https://{{adminapihost}}/api/product/flaggroup/{{lookupProductFlagGroupId}}
Parametrics
List parametrics
Method: GET
URL: https://{{adminapihost}}/api/parametric
List parametric groups
Method: GET
URL: https://{{adminapihost}}/api/parametricgroup
Get a Parametric
Method: GET
URL: https://{{adminapihost}}/api/parametric/{{lookupParametricId}}
List items for a Parametric
Method: GET
URL: https://{{adminapihost}}/api/parametric/{{lookupParametricListId}}/list
List multi-items for a Parametric
Method: GET
URL: https://{{adminapihost}}/api/parametric/{{lookupParametricMultiId}}/multiple
Files and images
CRUD
Create a file type
Method: POST
URL: https://{{adminapihost}}/api/product/file
Body:
{
"Name": "Test file type",
"Description": "Created file type from mgmt api",
"Code": "ft_test",
"TypeId": 1,
"IsActive": true,
"IsImage": true
}
Get the new file type
Method: GET
URL: https://{{adminapihost}}/api/product/file/{{newProductFile}}
Update the file type
Method: PUT
URL: https://{{adminapihost}}/api/product/file/{{newProductFile}}
Body:
{
"$id": "1",
"Id": 91,
"Name": "Test file type",
"DefaultName": "Test file type",
"IsNameInherited": false,
"Description": "Created file type from mgmt api (updated)",
"DefaultDescription": "Created file type from mgmt api",
"IsDescriptionInherited": false,
"Code": "ft_test",
"TypeId": 1,
"TypeExtension": "jpg",
"TypeMimeType": "image/jpeg",
"SortOrder": null,
"IsActive": true,
"IsImage": true,
"Changed": "2025-03-20 16:38",
"ChangedBy": "Integration Service",
"IsSharedType": false,
"Cultures": [
{
"$id": "2",
"CultureCode": "en-GB",
"IsTranslated": true,
"Name": "Test file type",
"IsNameInherited": false,
"Description": "Created file type from mgmt api",
"IsDescriptionInherited": false
},
{
"$id": "3",
"CultureCode": "fi-FI",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
},
{
"$id": "4",
"CultureCode": "fr-FR",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
},
{
"$id": "5",
"CultureCode": "it-IT",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
},
{
"$id": "6",
"CultureCode": "nb-NO",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
},
{
"$id": "7",
"CultureCode": "nn-NO",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
},
{
"$id": "8",
"CultureCode": "sv-SE",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
},
{
"$id": "9",
"CultureCode": "de-DE",
"IsTranslated": false,
"Name": null,
"IsNameInherited": true,
"Description": null,
"IsDescriptionInherited": true
}
]
}
Delete the file type
Method: DELETE
URL: https://{{adminapihost}}/api/product/file/{{newProductFile}}
List active file types
Method: GET
URL: https://{{adminapihost}}/api/product/file
Get a file type
Method: GET
URL: https://{{adminapihost}}/api/product/file/{{lookupProductFile}}
Other types
List active onhand info types
Method: GET
URL: https://{{adminapihost}}/api/product/infotype/2
Get onhand info type
Method: GET
URL: https://{{adminapihost}}/api/product/infotype/2/item/{{lookupProductInfoType}}
List active price info types
Method: GET
URL: https://{{adminapihost}}/api/product/infotype/3
List active relation types
Method: GET
URL: https://{{adminapihost}}/api/product/relationtype
Get relation type
Method: GET
URL: https://{{adminapihost}}/api/product/relationtype/{{lookupRelationType}}
List active product types
Method: GET
URL: https://{{adminapihost}}/api/product/type
List active variant types
Method: GET
URL: https://{{adminapihost}}/api/product/variant-group
Pricing
Price list details
Get Price list
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist/{{lookupPriceListId}}
List connected warehouses
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist/{{lookupPriceListId}}/pricing
List Price Rules for the price list
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist/{{lookupPriceListId}}/pricing
List Population Rules for the price list
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist/{{lookupPriceListId}}/population
Create a Campaign price list
Create a price list
Method: POST
URL: https://{{adminapihost}}/api/pricing/pricelist/
Body:
{
"Name": "Dynamically created Price list",
"Description": "A campaign price list created from mgmt api, that is a campaign under the swedish market price list",
"Code": "pl_dynamiccampaign_se",
"StartDate": "2025-10-01T00:00:00",
"EndDate": "2025-11-01T00:00:00",
"CurrencyId": 2,
"CurrencyCode": "SEK",
"SalesAreaId": 1,
"SalesAreaName": "Sweden",
"SalesAreaIdIsInherited": false,
"_DefaultPriceRuleId": "User std price (% discount)",
"DefaultPriceRuleId": 7,
"DefaultPriceRuleValue": 10.0000,
"DefaultSupplementChargePercentage": 0.00,
"DefaultSupplementCharge": 0.0000,
"DefaultMinimumProductMarginPercentage": 5.00,
"DefaultLimitToPriceRecommended": null,
"_InheritStructureCalculationRule": "0 = None, 2 = Std price from inherited structureitem sale price",
"InheritStructureCalculationRule": 0,
"ParentPriceListId": 4,
"ParentPriceListName": "Standard SE",
"IsPrimary": false,
"IsPublic": false,
"IsActive": true
}
Get the new Price list
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist/{{newPriceListId}}
List warehouses
Method: GET
URL: https://{{adminapihost}}/api/warehouse
Set connected warehouses
Method: PUT
URL: https://{{adminapihost}}/api/pricing/pricelist/{{newPriceListId}}/warehouse
Body:
[
{
"Id": 4,
"PriceListId": {{newPriceListId}},
"Name": "Standard (SE)",
"LocationId": 4,
"LocationName": "Standard",
"IsStandard": true
},
{
"Id": 7,
"PriceListId": {{newPriceListId}},
"Name": "Store Gothenburg",
"LocationId": 7,
"LocationName": "Standard",
"IsStandard": false
}
]
Set pricing rules
Method: PUT
URL: https://{{adminapihost}}/api/pricing/pricelist/{{newPriceListId}}/pricing
Body:
[
{
"PriceListId": {{newPriceListId}},
"CategoryId": null,
"CategoryName": null,
"CategoryPath": null,
"CategoryParentCount": 0,
"ManufacturerId": null,
"ManufacturerName": null,
"Flags": [
{
"$id": "2",
"Id": 1,
"Name": "Seasonal campaign"
}
],
"MinValue": null,
"MaxValue": null,
"PriceRuleId": 10,
"PriceRuleName": "Use standard price (fixed discount)",
"PriceRuleLabel": "Rebate",
"PriceRuleValue": 10.00,
"PriceRuleUnit": "SEK",
"KickbackPercentage": null,
"MinimumProductMarginPercentage": null,
"MinimumProductMarginPercentageIsInherited": true,
"PreferredPosition": null,
"LimitToPriceRecommended": null,
"SupplementCharge": null,
"SupplementChargePercentage": null,
"IsActive": true
},
{
"PriceListId": {{newPriceListId}},
"CategoryId": 39,
"CategoryName": "Electronics",
"CategoryPath": "Products",
"CategoryParentCount": 2,
"ManufacturerId": 15,
"ManufacturerName": "Apple",
"Flags": [],
"MinValue": null,
"MaxValue": null,
"PriceRuleId": 7,
"PriceRuleName": "Use standard price (pct discount)",
"PriceRuleLabel": "Rebate",
"PriceRuleValue": 12.0000,
"PriceRuleUnit": "%",
"KickbackPercentage": null,
"MinimumProductMarginPercentage": null,
"MinimumProductMarginPercentageIsInherited": true,
"PreferredPosition": null,
"LimitToPriceRecommended": null,
"SupplementCharge": null,
"SupplementChargePercentage": null,
"IsActive": true
}
]
Get empty population rules
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist/{{newPriceListId}}/population
Set population rules
Method: PUT
URL: https://{{adminapihost}}/api/pricing/pricelist/{{newPriceListId}}/population
Body:
{
"$id": "1",
"_comment": "Overrides the population rules with a flag, at the root and everything below the category 'Tractors' ",
"Id": 40,
"ParentPriceListName": "Standard SE",
"IsSupplierRequired": false,
"IsInclude": false,
"IsChecked": false,
"Categories": [
{
"$id": "2",
"CategoryId": 5,
"Name": "Products",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "3",
"CategoryId": 9,
"Name": "Machines",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "4",
"CategoryId": 11,
"Name": "Chain saws",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "3"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "5",
"CategoryId": 27,
"Name": "Tractors",
"_IsChecked": "Set to true",
"IsChecked": true,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "3"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "2"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "6",
"CategoryId": 12,
"Name": "Machine accessories",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "7",
"CategoryId": 23,
"Name": "Spare parts",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "6"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "8",
"CategoryId": 13,
"Name": "Saw chains",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "6"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "9",
"CategoryId": 14,
"Name": "Chain saw accessories",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "6"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "2"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "10",
"CategoryId": 39,
"Name": "Electronics",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "11",
"CategoryId": 40,
"Name": "Phones",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "10"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "12",
"CategoryId": 41,
"Name": "Phone accessories",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "10"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "2"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "13",
"CategoryId": 15,
"Name": "Clothes",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "14",
"CategoryId": 16,
"Name": "Jackets",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "13"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "15",
"CategoryId": 17,
"Name": "Pants",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "13"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "16",
"CategoryId": 18,
"Name": "Shirts",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "13"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "2"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "17",
"CategoryId": 76,
"Name": "Checkout training",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "18",
"CategoryId": 6,
"Name": "Services and Fees",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "19",
"CategoryId": 10,
"Name": "Fees",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "18"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "20",
"CategoryId": 7,
"Name": "Non-sellable",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "21",
"CategoryId": 20,
"Name": "Old Products",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "22",
"CategoryId": 21,
"Name": "Old Machines",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "21"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "20"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "23",
"CategoryId": 19,
"Name": "Exploded views",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "20"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "24",
"CategoryId": 38,
"Name": "Supporting products",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "20"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "25",
"CategoryId": 8,
"Name": "Sandbox_Play_here",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "26",
"CategoryId": 81,
"Name": "Dynamically Created",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "25"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "27",
"CategoryId": 45,
"Name": "MTest_top",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "28",
"CategoryId": 48,
"Name": "MTest_Machines",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "29",
"CategoryId": 49,
"Name": "MTest_Chainsaws",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "28"
},
"Level": 3,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "27"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "30",
"CategoryId": 46,
"Name": "MTest_Clothes",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "31",
"CategoryId": 47,
"Name": "MTest_Jackets",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "30"
},
"Level": 3,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "27"
},
"Level": 2,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "25"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "32",
"CategoryId": 25,
"Name": "New From ERP",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "25"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "33",
"CategoryId": 72,
"Name": "Academy",
"IsChecked": false,
"IsOpen": false,
"Categories": [
{
"$id": "34",
"CategoryId": 73,
"Name": "Garments",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "33"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "35",
"CategoryId": 74,
"Name": "Accessories",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": {
"$ref": "33"
},
"Level": 1,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
},
{
"$id": "36",
"CategoryId": 26,
"Name": "2B_Deleted",
"IsChecked": false,
"IsOpen": false,
"Categories": [],
"Manufacturers": [],
"Flags": [],
"Parent": null,
"Level": 0,
"IsSupplierRequired": false,
"Changed": null,
"ChangedBy": null
}
],
"Manufacturers": [],
"Flags": [ { "Id": 18 } ]
}
Inactivate the price list
Method: PUT
URL: https://{{adminapihost}}/api/pricing/pricelist/{{newPriceListId}}
Body:
{
"_comment": "Take the price list from a get call and set isactive = false, the code will be automatically be scrambled, to prevent duplications.",
"Id": {{newPriceListId}},
"Name": "Dynamically created Price list",
"Description": "A campaign price list created from mgmt api, that is a campaign under the swedish market price list (deactivated)",
"Code": "pl_dynamiccampaign_se",
"TypeId": 0,
"PriceRuleName": "Use standard price (pct discount)",
"StartDate": "2025-10-01T00:00:00",
"EndDate": "2025-11-01T00:00:00",
"CurrencyId": 2,
"CurrencyCode": "SEK",
"CurrencyName": "Swedish kronor",
"SalesAreaId": 1,
"SalesAreaName": "Sweden",
"SalesAreaIdIsInherited": false,
"InheritedSalesAreaName": "Sweden",
"DefaultPriceRuleId": 7,
"DefaultPriceRuleValue": 10.0000,
"DefaultSupplementChargePercentage": 0.00,
"DefaultSupplementCharge": 0.0000,
"DefaultMinimumProductMarginPercentage": 5.00,
"DefaultLimitToPriceRecommended": null,
"InheritStructureCalculationRule": 0,
"ParentPriceListId": 4,
"ParentPriceListName": "Standard SE",
"IsPrimary": false,
"IsPublic": true,
"IsNotStarted": true,
"IsEnded": false,
"IsVirtual": false,
"IsLimitedToStock": null,
"IsFavorite": false,
"_IsActive": "set to false, to force a deactivation of the price list",
"IsActive": false
}
List price lists
Method: GET
URL: https://{{adminapihost}}/api/pricing/pricelist?filter=active&search=&page=1&pageSize=50
Promotions
Use checkout codes
Get unique checkout codes
Method: GET
URL: https://{{adminapihost}}/api/promotion/{{lookupPromotionId}}/unique-codes
Add a new checkout code
Method: POST
URL: https://{{adminapihost}}/api/promotion/{{lookupPromotionId}}/unique-codes
Body:
[
{
"_comment": "pre-script generates a random value and sets it to the variable newDiscountCode",
"DiscountCode": "{{newDiscountCode}}",
"IsClaimed": false
}
]
Update a checkout code
Method: PUT
URL: https://{{adminapihost}}/api/promotion/{{lookupPromotionId}}/unique-codes
Body:
[
{
"$id": "1",
"DiscountCode": "C89VDjJE4C",
"Created": "2025-03-24T15:38:00.743",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "2",
"DiscountCode": "v5ftEZLBvS",
"Created": "2025-03-24T15:38:00.75",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "3",
"DiscountCode": "KsqNAWDNVE",
"Created": "2025-03-24T15:38:00.75",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "4",
"DiscountCode": "JwRf2fzDZt",
"Created": "2025-03-24T15:38:00.75",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "5",
"DiscountCode": "iwkvq8bQtp",
"Created": "2025-03-24T15:38:00.75",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "6",
"DiscountCode": "99d77c9f-6d64-4b76-aa4e-05fcebca9df9",
"Created": "2025-03-24T16:05:58.937",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "7",
"DiscountCode": "null",
"Created": "2025-03-24T16:26:43.883",
"IsClaimed": false,
"DateClaimed": null,
"QuotationId": null,
"ClaimedFromSource": null
},
{
"$id": "8",
"DiscountCode": "5ddfbbd6-9af1-4ba8-9b43-cc43b1066ed3",
"Created": "2025-03-24T16:31:18.53",
"IsClaimed": true,
"DateClaimed": "2025-03-24T18:31:18.53",
"QuotationId": null,
"ClaimedFromSource": "3rd party system"
}
]
List promotions for the application
Method: GET
URL: https://{{adminapihost}}/api/promotion
Get a promotion
Method: GET
URL: https://{{adminapihost}}/api/promotion/{{lookupPromotionId}}
Settings
Applicationsettings
Exchange rates
List currencies with exchange rates
Method: GET
URL: https://{{adminapihost}}/api/client/currency
Update exchange rates
Method: PUT
URL: https://{{adminapihost}}/api/client/currency
Body:
[
{
"$id": "1",
"Code": "EUR",
"Name": "Euro",
"InheritedExchangeRate": 1.0000000000,
"Changed": "2024-03-05 10:35",
"ChangedBy": null,
"Id": 1,
"IsExchangeRateInherited": true,
"ExchangeRate": 1.0000000000
},
{
"_Comment": "Override the exchange rate",
"$id": "2",
"Code": "SEK",
"Name": "Swedish kronor",
"InheritedExchangeRate": 0.0862626698,
"Changed": "2024-02-20 09:20",
"ChangedBy": null,
"Id": 2,
"_IsExchangeRateInherited": "Set to false and pass in your own exchange rate",
"IsExchangeRateInherited": false,
"ExchangeRate": 0.09
},
{
"$id": "3",
"Code": "NOK",
"Name": "Norwegian kroner",
"InheritedExchangeRate": 0.0868281671,
"Changed": "2024-03-05 10:33",
"ChangedBy": null,
"Id": 5,
"IsExchangeRateInherited": true,
"ExchangeRate": 0.0868281671
}
]
Reset exchange rates
Method: PUT
URL: https://{{adminapihost}}/api/client/currency
Body:
[
{
"$id": "1",
"Code": "EUR",
"Name": "Euro",
"InheritedExchangeRate": 1.0000000000,
"Changed": "2024-03-05 10:35",
"ChangedBy": null,
"Id": 1,
"IsExchangeRateInherited": true,
"ExchangeRate": 1.0000000000
},
{
"$id": "2",
"Code": "SEK",
"Name": "Swedish kronor",
"InheritedExchangeRate": 0.0862626698,
"Changed": "2025-03-30 15:28",
"ChangedBy": "Integration Service",
"Id": 2,
"_IsExchangeRateInherited": "Set to true to reset exchange rate",
"IsExchangeRateInherited": true
},
{
"$id": "3",
"Code": "NOK",
"Name": "Norwegian kroner",
"InheritedExchangeRate": 0.0868281671,
"Changed": "2024-03-05 10:33",
"ChangedBy": null,
"Id": 5,
"IsExchangeRateInherited": true,
"ExchangeRate": 0.0868281671
}
]
Vat codes
List sales areas with vat codes
Method: GET
URL: https://{{adminapihost}}/api/client/salesarea
Get Sales area
Method: GET
URL: https://{{adminapihost}}/api/client/salesarea/{{lookupSalesArea}}
Update vat codes on a sales area
Method: PUT
URL: https://{{adminapihost}}/api/client/salesarea/{{lookupSalesArea}}
Body:
{
"$id": "1",
"Id": 1,
"Name": "Sweden",
"Code": null,
"IsPrimary": true,
"VatCodes": [
{
"$id": "2",
"Id": 0,
"Name": "VAT00",
"Value": 0.00
},
{
"$id": "3",
"Id": 6,
"Name": "VAT06",
"Value": 6.00
},
{
"$id": "4",
"Id": 12,
"Name": "VAT12",
"Value": 12.00
},
{
"$id": "5",
"Id": 25,
"Name": "VAT25",
"Value": 25.00
}
],
"PrimaryVatCodeId": 25,
"Changed": "2024-02-20 09:20",
"ChangedBy": null
}
Remove vat code
Method: PUT
URL: https://{{adminapihost}}/api/client/salesarea/{{lookupSalesArea}}
Body:
{
"$id": "1",
"Id": 1,
"Name": "Sweden",
"Code": null,
"IsPrimary": true,
"VatCodes": [
{
"$id": "2",
"Id": 0,
"Name": "VAT00",
"Value": 0.00
},
{
"$id": "3",
"Id": 6,
"Name": "VAT06",
"Value": 6.00
},
{
"$id": "5",
"Id": 25,
"Name": "VAT25",
"Value": 25.00
}
],
"PrimaryVatCodeId": 25,
"Changed": "2024-02-20 09:20",
"ChangedBy": null
}
List Applications for client
Method: GET
URL: https://{{adminapihost}}/api/application/byclient
Get Application
Method: GET
URL: https://{{adminapihost}}/api/application/{{applicationId}}
Update application
Method: PUT
URL: https://{{adminapihost}}/api/application/{{applicationId}}
Body:
{
"Id": {{applicationId}},
"Key": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"Name": "Open Demo Playground SE",
"Description": "Open Demo Playground SE",
"HostClientId": 1000,
"Url": "https://norce-open-demo.playground.norce.io",
"ProductUrl": "https://norceopendemo.norce.se/products/",
"IsActive": true
}
List countries on all application
Method: GET
URL: https://{{adminapihost}}/api/application/country
List cultures on all applications
Method: GET
URL: https://{{adminapihost}}/api/application/culture
List currencies on all applications
Method: GET
URL: https://{{adminapihost}}/api/application/currency
List sales areas on all applications
Method: GET
URL: https://{{adminapihost}}/api/application/salesarea
Customers
Flags
List active flags
Method: GET
URL: https://{{adminapihost}}/api/customer/flag
List deleted flags
Method: GET
URL: https://{{adminapihost}}/api/customer/flag/deleted
List active flag groups
Method: GET
URL: https://{{adminapihost}}/api/customer/group
List deleted flag groups
Method: GET
URL: https://{{adminapihost}}/api/customer/group/deleted
Stores
List stores
Method: GET
URL: https://{{adminapihost}}/api/store
Get store
Method: GET
URL: https://{{adminapihost}}/api/store/{{lookupStoreId}}
Suppliers
Create a new Supplier
Add or change the variables in pre-request script on this folder.
Create Supplier
Method: POST
URL: https://{{adminapihost}}/api/supplier
Body:
{
"Name": "Test Supplier_{{supplierNameSuffix}}",
"Code": "s_testsupplier_{{supplierNameSuffix}}",
"CountryId": 1,
"CountryName": "Sweden",
"IsPurchaseIntegrated": null,
"IsPurchaseManual": null,
"IsActive": true,
"Feed": false,
"OrganizationNo": null,
"ChosenSupplierPenaltyCharge": 0.0000,
"ChosenSupplierPenaltyChargePercentage": 0.00,
"CurrencyId": 2,
"CurrencyCode": "SEK",
"CurrencyName": "Swedish kronor",
"_IsChosenSupplierEnabled": "True if you want to use the supplier to calculate your prices",
"IsChosenSupplierEnabled": false,
"AutoMapManufacturers": null,
"AutoCreateManufacturers": null
}
Get new Supplier
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}
Create a warehouse on the new supplier
Method: POST
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}/warehouse
Body:
{
"SupplierId": {{newSupplierId}},
"Name": "Standard",
"StandardLeadTimeDayCount": 3,
"_IgnoreStock": "true disables the stock from any business logic, use this only for display purposes",
"IgnoreStock": false,
"_IsStandard": "Set only one warehouse to 'standard' on the same supplier",
"IsStandard": true,
"IsActive": true
}
Confirm that a warehouse is created
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}/warehouse
Create a location to the warehouse
Method: PUT
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}/warehouse/{{newSupplierWarehouseId}}/location
Body:
[
{
"SupplierId": {{newSupplierId}},
"WarehouseId": {{newSupplierWarehouseId}},
"Name": "Standard",
"_StandardLeadTimeDayCount": "set a value to override lead time on warehouse",
"StandardLeadTimeDayCount": null,
"_IsStandard": "Set only one location to 'standard' on the same warehouse",
"IsStandard": true,
"_IgnoreStock": "true disables the stock from any business logic, overrides the value from the warehouse",
"IgnoreStock": null
}
]
Confirm new warehouse and location is created
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}/warehouse/{{newSupplierWarehouseId}}/location
Create a pricelist on the supplier
Method: POST
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}/pricelist
Body:
{
"SupplierId": {{newSupplierId}},
"Name": "Standard Pricelist",
"Code": "s_testsupplier_{{supplierNameSuffix}}_stdpricelist",
"Description": "This is the standard assortment and prices from the supplier",
"CurrencyId": 2,
"_IsManuallyMaintained": "true lets the users change supplier data in admin.",
"IsManuallyMaintained": true,
"IsActive": true,
"_IsPrimary": "Only one price list should be set to primary within the same supplier",
"IsPrimary": true
}
Confirm that the price list is created
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{newSupplierId}}/pricelist
Connect the pricelist to the location and warehouse
Method: PUT
URL: https://{{adminapihost}}/api/supplier-pricelist/{{newSupplierPriceListId}}/warehouse
Body:
[
{
"Id": {{newSupplierWarehouseId}},
"LocationId": {{newSupplierLocationId}},
"SupplierId": {{newSupplierId}},
"PriceListId": {{newSupplierPriceListId}}
}
]
Confirm connection between price list, location and warehouse
Method: GET
URL: https://{{adminapihost}}/api/supplier-pricelist/{{newSupplierPriceListId}}/warehouse
Link the supplier price list to a client price list
Method: PUT
URL: https://{{adminapihost}}/api/pricing/pricelist/{{marketPriceListId}}/supplierpricelist
Body:
[
{
"_comment": "since this is a put, you must start with a get and the append the new links (or remove)",
"Id": {{newSupplierPriceListId}},
"PriceListId": {{marketPriceListId}}
},
{
"$id": "1",
"Id": 1,
"PriceListId": 4,
"Name": "NGK Standard Assortment",
"SupplierName": "NGK Supplier US",
"Code": "spl_ngk_std",
"Changed": "2024-03-31 14:01",
"ChangedBy": null
},
{
"$id": "2",
"Id": 2,
"PriceListId": 4,
"Name": "Standard",
"SupplierName": "NGK Reseller",
"Code": "spl_ngk_reseller",
"Changed": "2024-04-16 11:48",
"ChangedBy": null
},
{
"$id": "3",
"Id": 4,
"PriceListId": 4,
"Name": "Standard",
"SupplierName": "Husqvarna",
"Code": "s_husqvarna_pl_std",
"Changed": "2024-10-23 13:16",
"ChangedBy": "Magnus Blombergsson"
},
{
"$id": "4",
"Id": 6,
"PriceListId": 4,
"Name": "Standard Catalog",
"SupplierName": "Academy supplier",
"Code": "sp_academy_standard",
"Changed": "2025-03-16 21:21",
"ChangedBy": "Magnus Blombergsson"
}
]
Information about a supplier
Get supplier
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{lookupSupplierId}}
Warehouses on a supplier
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{lookupSupplierId}}/warehouse
Locations and warehouses on a supplier
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{lookupSupplierId}}/warehouse/{{lookupSupplierWarehouseId}}/location
Pricelists on a supplier
Method: GET
URL: https://{{adminapihost}}/api/supplier/{{lookupSupplierId}}/pricelist
Connected warehouses and locations to a supplier price list
Method: GET
URL: https://{{adminapihost}}/api/supplier-pricelist/{{lookupSupplierPriceListId}}/warehouse
List active suppliers
Method: GET
URL: https://{{adminapihost}}/api/supplier
List deleted suppliers
Method: GET
URL: https://{{adminapihost}}/api/supplier/deleted