The Norce Management API lets you manage configurations and metadata on a client.
The Norce Management API lets you manage configurations and metadata on a client.
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule/{id}
curl -i -X GET \
'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule/{id}' \
-H 'account-id: 0' \
-H 'application-id: 0'Returns the RoundingRule
Optional currency identifier, if the rounding rule is currency specific
Optional application identifier, applies to price lists that are public on a specific application.
Optional field identifier, if the rounding rule is specific to a certain field. Allowed values are: null (not field specific), 1 (Sale Price), 2 (Recommended Price), 3 (Catalog Price)
The name of the rounding rule for the default language.
Indicates whether the rounding rule is applied on amounts including VAT or excluding VAT
Indicates how the rounding rules should adhere to minimum margin settings. If true, minimum margin fallbacks are forced after rounding, which may override rounding results.
Test data for validating rounding rule calculations, used in administration UI
The list of rounding rule settings that define specific rounding criteria
{ "Id": 0, "TypeId": 0, "TypeName": "string", "CurrencyId": 0, "CurrencyCode": "string", "CurrencyName": "string", "ApplicationId": 0, "ApplicationName": "string", "FieldId": 0, "FieldName": "string", "DefaultName": "string", "DefaultDescription": "string", "IsIncludingVat": true, "IsMinimumMarginForced": true, "TestData": [ { … } ], "IsActive": true, "Changed": "string", "ChangedBy": "string", "Settings": [ { … } ], "RoundingRuleSetting": [ { … } ] }
Rounding rule to update
Optional currency identifier, if the rounding rule is currency specific
Optional application identifier, applies to price lists that are public on a specific application.
Optional field identifier, if the rounding rule is specific to a certain field. Allowed values are: null (not field specific), 1 (Sale Price), 2 (Recommended Price), 3 (Catalog Price)
The name of the rounding rule for the default language.
Indicates whether the rounding rule is applied on amounts including VAT or excluding VAT
Indicates how the rounding rules should adhere to minimum margin settings. If true, minimum margin fallbacks are forced after rounding, which may override rounding results.
Test data for validating rounding rule calculations, used in administration UI
The list of rounding rule settings that define specific rounding criteria
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule/{id}
curl -i -X PUT \
'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule/{id}' \
-H 'Content-Type: application/json' \
-H 'account-id: 0' \
-H 'application-id: 0' \
-d '{
"Id": 0,
"TypeId": 0,
"TypeName": "string",
"CurrencyId": 0,
"CurrencyCode": "string",
"CurrencyName": "string",
"ApplicationId": 0,
"ApplicationName": "string",
"FieldId": 0,
"FieldName": "string",
"DefaultName": "string",
"DefaultDescription": "string",
"IsIncludingVat": true,
"IsMinimumMarginForced": true,
"TestData": [
{
"Price": 0,
"Rounded": 0
}
],
"IsActive": true,
"Changed": "string",
"ChangedBy": "string",
"Settings": [
{
"Id": 0,
"RuleId": 0,
"PriceFrom": 0,
"PriceTo": 0,
"PriceEndsFrom": 0,
"PriceEndsTo": 0,
"RoundToDecimals": 0,
"RoundingDirection": 0,
"RoundingValue": 0,
"Changed": "string",
"ChangedBy": "string"
}
],
"RoundingRuleSetting": [
{
"Id": 0,
"RuleId": 0,
"PriceFrom": 0,
"PriceTo": 0,
"RoundToDecimals": 0,
"RoundingDirection": 0,
"PriceEndsFrom": 0,
"PriceEndsTo": 0,
"RoundingValue": 0
}
]
}'0
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule
curl -i -X GET \
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule \
-H 'account-id: 0' \
-H 'application-id: 0'Returns the list of rounding rules, if any exists
Optional currency identifier, if the rounding rule is currency specific
Optional application identifier, applies to price lists that are public on a specific application.
Optional field identifier, if the rounding rule is specific to a certain field. Allowed values are: null (not field specific), 1 (Sale Price), 2 (Recommended Price), 3 (Catalog Price)
The name of the rounding rule for the default language.
Indicates whether the rounding rule is applied on amounts including VAT or excluding VAT
Indicates how the rounding rules should adhere to minimum margin settings. If true, minimum margin fallbacks are forced after rounding, which may override rounding results.
Test data for validating rounding rule calculations, used in administration UI
The list of rounding rule settings that define specific rounding criteria
[ { "Id": 0, "TypeId": 0, "TypeName": "string", "CurrencyId": 0, "CurrencyCode": "string", "CurrencyName": "string", "ApplicationId": 0, "ApplicationName": "string", "FieldId": 0, "FieldName": "string", "DefaultName": "string", "DefaultDescription": "string", "IsIncludingVat": true, "IsMinimumMarginForced": true, "TestData": [ … ], "IsActive": true, "Changed": "string", "ChangedBy": "string", "Settings": [ … ], "RoundingRuleSetting": [ … ] } ]
Rounding rule to add
Optional currency identifier, if the rounding rule is currency specific
Optional application identifier, applies to price lists that are public on a specific application.
Optional field identifier, if the rounding rule is specific to a certain field. Allowed values are: null (not field specific), 1 (Sale Price), 2 (Recommended Price), 3 (Catalog Price)
The name of the rounding rule for the default language.
Indicates whether the rounding rule is applied on amounts including VAT or excluding VAT
Indicates how the rounding rules should adhere to minimum margin settings. If true, minimum margin fallbacks are forced after rounding, which may override rounding results.
Test data for validating rounding rule calculations, used in administration UI
The list of rounding rule settings that define specific rounding criteria
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule
curl -i -X POST \
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/roundingrule \
-H 'Content-Type: application/json' \
-H 'account-id: 0' \
-H 'application-id: 0' \
-d '{
"Id": 0,
"TypeId": 0,
"TypeName": "string",
"CurrencyId": 0,
"CurrencyCode": "string",
"CurrencyName": "string",
"ApplicationId": 0,
"ApplicationName": "string",
"FieldId": 0,
"FieldName": "string",
"DefaultName": "string",
"DefaultDescription": "string",
"IsIncludingVat": true,
"IsMinimumMarginForced": true,
"TestData": [
{
"Price": 0,
"Rounded": 0
}
],
"IsActive": true,
"Changed": "string",
"ChangedBy": "string",
"Settings": [
{
"Id": 0,
"RuleId": 0,
"PriceFrom": 0,
"PriceTo": 0,
"PriceEndsFrom": 0,
"PriceEndsTo": 0,
"RoundToDecimals": 0,
"RoundingDirection": 0,
"RoundingValue": 0,
"Changed": "string",
"ChangedBy": "string"
}
],
"RoundingRuleSetting": [
{
"Id": 0,
"RuleId": 0,
"PriceFrom": 0,
"PriceTo": 0,
"RoundToDecimals": 0,
"RoundingDirection": 0,
"PriceEndsFrom": 0,
"PriceEndsTo": 0,
"RoundingValue": 0
}
]
}'0