The Customers namespace has Entities and Operations concerned with Customer and Company management.
Documentation CustomerService (1.1)
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/DeleteCompanyPricelist
- cURL
- JS
- C#
curl -i -X POST \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/DeleteCompanyPricelist?companyId=0&pricelistId=0'
Success
- application/json
- application/xml
The agreement code of the pricelist. Can be an external id of the priceList. MaxLength: 50.
Specifies if the pricelist is active or not. Set this to false before update if you want to delete the pricelist.
A list of population rules for this pricelist.
Indicates if the pricelist should be used exclusively for this Company, or not. Exclusive pricelists are not used with any standard pricelists and only exclusive pricelists will be in scope if the Company has any.
[ { "Id": 0, "ParentId": 0, "Name": "string", "Description": "string", "Agreement": "string", "Type": 0, "IsActive": true, "PriceRule": { … }, "PopulationRules": [ … ], "CurrencyId": 0, "IsExclusive": true } ]
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/GetCompanyPricelist
- cURL
- JS
- C#
curl -i -X GET \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/GetCompanyPricelist?companyId=0&pricelistId=0'
{ "Id": 0, "ParentId": 0, "Name": "string", "Description": "string", "Agreement": "string", "Type": 0, "IsActive": true, "PriceRule": { "RuleId": 0, "Value": 0 }, "PopulationRules": [ { … } ], "CurrencyId": 0, "IsExclusive": true }
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/GetPricelistItem
- cURL
- JS
- C#
curl -i -X GET \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/GetPricelistItem?partNo=string&pricelistId=0'
{ "PartNo": "string", "PricelistId": 0, "Price": 0, "PriceRecommended": 0, "IsActive": true, "PriceRule": { "RuleId": 0, "Value": 0 } }
- application/json
- application/xml
The priceList to insert for the Company. The PriceRule for new PriceLists will be 'Use standard price (pct discount)' (id:7) if none is supplied.
The agreement code of the pricelist. Can be an external id of the priceList. MaxLength: 50.
Specifies if the pricelist is active or not. Set this to false before update if you want to delete the pricelist.
A list of population rules for this pricelist.
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/InsertCompanyPricelist2
- cURL
- JS
- C#
curl -i -X POST \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/InsertCompanyPricelist2?companyId=0' \
-H 'Content-Type: application/json' \
-d '{
"Id": 0,
"ParentId": 0,
"Name": "string",
"Description": "string",
"Agreement": "string",
"Type": 0,
"IsActive": true,
"PriceRule": {
"RuleId": 0,
"Value": 0
},
"PopulationRules": [
{
"RuleId": 0,
"ManufacturerId": 0,
"CategoryId": 0,
"IsSupplierRequired": true,
"IsInclusive": true
}
],
"CurrencyId": 0,
"IsExclusive": true
}'
Success
- application/json
- application/xml
The agreement code of the pricelist. Can be an external id of the priceList. MaxLength: 50.
Specifies if the pricelist is active or not. Set this to false before update if you want to delete the pricelist.
A list of population rules for this pricelist.
Indicates if the pricelist should be used exclusively for this Company, or not. Exclusive pricelists are not used with any standard pricelists and only exclusive pricelists will be in scope if the Company has any.
[ { "Id": 0, "ParentId": 0, "Name": "string", "Description": "string", "Agreement": "string", "Type": 0, "IsActive": true, "PriceRule": { … }, "PopulationRules": [ … ], "CurrencyId": 0, "IsExclusive": true } ]
- application/json
- application/xml
The PriceListItem to insert. Prices should be in the currency of the PriceList.
Specifies if the pricelist item is active or not. Ignored when inserting new pricelist items.
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/InsertPricelistItem
- cURL
- JS
- C#
curl -i -X POST \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/InsertPricelistItem?createdBy=string' \
-H 'Content-Type: application/json' \
-d '{
"PartNo": "string",
"PricelistId": 0,
"Price": 0,
"PriceRecommended": 0,
"IsActive": true,
"PriceRule": {
"RuleId": 0,
"Value": 0
}
}'
{ "PartNo": "string", "PricelistId": 0, "Price": 0, "PriceRecommended": 0, "IsActive": true, "PriceRule": { "RuleId": 0, "Value": 0 } }
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/ListCompanyPricelists
- cURL
- JS
- C#
curl -i -X GET \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/ListCompanyPricelists?companyId=0'
Success
- application/json
- application/xml
The agreement code of the pricelist. Can be an external id of the priceList. MaxLength: 50.
Specifies if the pricelist is active or not. Set this to false before update if you want to delete the pricelist.
A list of population rules for this pricelist.
Indicates if the pricelist should be used exclusively for this Company, or not. Exclusive pricelists are not used with any standard pricelists and only exclusive pricelists will be in scope if the Company has any.
[ { "Id": 0, "ParentId": 0, "Name": "string", "Description": "string", "Agreement": "string", "Type": 0, "IsActive": true, "PriceRule": { … }, "PopulationRules": [ … ], "CurrencyId": 0, "IsExclusive": true } ]
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/ListPriceRules
- cURL
- JS
- C#
curl -i -X GET \
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/ListPriceRules
[ { "Id": 0, "Name": "string", "Description": "string", "ImageKey": "string", "Code": "string" } ]
Request
Updates a PriceList for the specified Company. If the PriceList is not an existingPriceList it will be created. Otherwise it will be updated. Note that only Reseller and Application specific priceLists can be updated. Any attempt to update an other priceList type will be ignored. If no PriceRule is specified, PriceRule 7, use standard price, with no discount will be used. To delete a Company PriceList use DeleteCompanyPricelist.
- application/json
- application/xml
The priceList to update for the Company. The PriceRule for updated PriceLists will be 'Use standard price (pct discount)' (id:7) if none is supplied.
The agreement code of the pricelist. Can be an external id of the priceList. MaxLength: 50.
Specifies if the pricelist is active or not. Set this to false before update if you want to delete the pricelist.
A list of population rules for this pricelist.
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/UpdateCompanyPricelist2
- cURL
- JS
- C#
curl -i -X POST \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/UpdateCompanyPricelist2?companyId=0' \
-H 'Content-Type: application/json' \
-d '{
"Id": 0,
"ParentId": 0,
"Name": "string",
"Description": "string",
"Agreement": "string",
"Type": 0,
"IsActive": true,
"PriceRule": {
"RuleId": 0,
"Value": 0
},
"PopulationRules": [
{
"RuleId": 0,
"ManufacturerId": 0,
"CategoryId": 0,
"IsSupplierRequired": true,
"IsInclusive": true
}
],
"CurrencyId": 0,
"IsExclusive": true
}'
Success
- application/json
- application/xml
The agreement code of the pricelist. Can be an external id of the priceList. MaxLength: 50.
Specifies if the pricelist is active or not. Set this to false before update if you want to delete the pricelist.
A list of population rules for this pricelist.
Indicates if the pricelist should be used exclusively for this Company, or not. Exclusive pricelists are not used with any standard pricelists and only exclusive pricelists will be in scope if the Company has any.
[ { "Id": 0, "ParentId": 0, "Name": "string", "Description": "string", "Agreement": "string", "Type": 0, "IsActive": true, "PriceRule": { … }, "PopulationRules": [ … ], "CurrencyId": 0, "IsExclusive": true } ]
- application/json
- application/xml
The PriceListItem to update. Prices should be in the currency of the PriceList.
Specifies if the pricelist item is active or not. Ignored when inserting new pricelist items.
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/UpdatePricelistItem
- cURL
- JS
- C#
curl -i -X POST \
'https://customer-slug.api-se.norce.tech/commerce/customer/1.1/UpdatePricelistItem?updatedBy=string' \
-H 'Content-Type: application/json' \
-d '{
"PartNo": "string",
"PricelistId": 0,
"Price": 0,
"PriceRecommended": 0,
"IsActive": true,
"PriceRule": {
"RuleId": 0,
"Value": 0
}
}'
{ "PartNo": "string", "PricelistId": 0, "Price": 0, "PriceRecommended": 0, "IsActive": true, "PriceRule": { "RuleId": 0, "Value": 0 } }