The Customers namespace has Entities and Operations concerned with Customer and Company management.
The Customers namespace has Entities and Operations concerned with Customer and Company management.
https://{slug}.api-se.playground.norce.tech/commerce/
https://{slug}.api-se.stage.norce.tech/commerce/
https://{slug}.api-se.norce.tech/commerce/
Contains endpoints for managing Accounts and handling authentication using the Account functionality in Norce. More on Account authentication
https://customer-slug.api-se.playground.norce.tech/commerce/customer/1.1/ListCompanyDiscounts
https://customer-slug.api-se.stage.norce.tech/commerce/customer/1.1/ListCompanyDiscounts
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/ListCompanyDiscounts
curl -i -X GET \
https://customer-slug.api-se.playground.norce.tech/commerce/customer/1.1/ListCompanyDiscounts \
-H 'ApplicationId: YOUR_API_KEY_HERE' \
-H 'Authorization: YOUR_API_KEY_HERE'OK
The TypeId defines the rule for how Value is interpreted. 1 = Category discount, 2 = DiscountCode on product. Cannot be changed.
The value to check for on products. If TypeID = 1 then discounts are valid for all products belonging to Category with Category.Code = Value. If TypeId = 2 then the product's discount code is checked. Cannot be changed.
An optional comma-separated list of priceList type-ids for which the discount is valid.
[ { "TypeId": 0, "Value": "string", "Discount": 0, "PriceListTypeSeed": "string" } ]
A list of discounts to update or insert. See CompanyDiscount entity for details.
The TypeId defines the rule for how Value is interpreted. 1 = Category discount, 2 = DiscountCode on product. Cannot be changed.
The value to check for on products. If TypeID = 1 then discounts are valid for all products belonging to Category with Category.Code = Value. If TypeId = 2 then the product's discount code is checked. Cannot be changed.
An optional comma-separated list of priceList type-ids for which the discount is valid.
https://customer-slug.api-se.playground.norce.tech/commerce/customer/1.1/UpsertCompanyDiscounts
https://customer-slug.api-se.stage.norce.tech/commerce/customer/1.1/UpsertCompanyDiscounts
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/UpsertCompanyDiscounts
curl -i -X POST \
https://customer-slug.api-se.playground.norce.tech/commerce/customer/1.1/UpsertCompanyDiscounts \
-H 'ApplicationId: YOUR_API_KEY_HERE' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"TypeId": 0,
"Value": "string",
"Discount": 0,
"PriceListTypeSeed": "string"
}
]'The discount to delete. See CompanyDiscount entity for details.
The TypeId defines the rule for how Value is interpreted. 1 = Category discount, 2 = DiscountCode on product. Cannot be changed.
The value to check for on products. If TypeID = 1 then discounts are valid for all products belonging to Category with Category.Code = Value. If TypeId = 2 then the product's discount code is checked. Cannot be changed.
https://customer-slug.api-se.playground.norce.tech/commerce/customer/1.1/DeleteCompanyDiscount
https://customer-slug.api-se.stage.norce.tech/commerce/customer/1.1/DeleteCompanyDiscount
https://customer-slug.api-se.norce.tech/commerce/customer/1.1/DeleteCompanyDiscount
curl -i -X POST \
https://customer-slug.api-se.playground.norce.tech/commerce/customer/1.1/DeleteCompanyDiscount \
-H 'ApplicationId: YOUR_API_KEY_HERE' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"TypeId": 0,
"Value": "string",
"Discount": 0,
"PriceListTypeSeed": "string"
}'