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/application/salesarea/{id}
curl -i -X GET \
'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea/{id}' \
-H 'account-id: 0' \
-H 'application-id: 0'{ "Id": 0, "Code": "string", "Name": "string", "IsPrimary": true, "IsActive": true, "Changed": "string", "ChangedBy": "string" }
UpdateApplicationSalesArea model, only Code, IsPrimary and IsActive can be changed
Sales area code - a unique external identifier used by client systems, e.g. "SE", "US", "44", "FI", can be left as null.
Primary application sales area. Must be set for only one of the active sales areas. Can be updated on an existing ApplicationSalesArea.
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea/{id}
curl -i -X PUT \
'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea/{id}' \
-H 'Content-Type: application/json' \
-H 'account-id: 0' \
-H 'application-id: 0' \
-d '{
"Id": 0,
"Code": "string",
"Name": "string",
"IsPrimary": true,
"IsActive": true,
"Changed": "string",
"ChangedBy": "string"
}'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea/{id}
curl -i -X DELETE \
'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea/{id}' \
-H 'account-id: 0' \
-H 'application-id: 0'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea
curl -i -X GET \
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea \
-H 'account-id: 0' \
-H 'application-id: 0'Returns the list of application sales areas, if any exists
Sales area code - a unique external identifier used by client systems, e.g. "SE", "US", "44", "FI", can be left as null.
Primary application sales area. Must be set for only one of the active sales areas. Can be updated on an existing ApplicationSalesArea.
The name of the user who last changed the ApplicationSalesArea, null if never changed
[ { "Id": 0, "Code": "string", "Name": "string", "IsPrimary": true, "IsActive": true, "Changed": "string", "ChangedBy": "string" } ]
ApplicationSalesArea model, only id and isPrimary required, Code is optional, If IsPrimary is set to true the last primary sales area will be unset
Sales area code - a unique external identifier used by client systems, e.g. "SE", "US", "44", "FI", can be left as null.
Primary application sales area. Must be set for only one of the active sales areas. Can be updated on an existing ApplicationSalesArea.
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea
curl -i -X POST \
https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/application/salesarea \
-H 'Content-Type: application/json' \
-H 'account-id: 0' \
-H 'application-id: 0' \
-d '{
"Id": 0,
"Code": "string",
"Name": "string",
"IsPrimary": true,
"IsActive": true,
"Changed": "string",
"ChangedBy": "string"
}'