Skip to content
Download OpenAPI description
Languages
Servers

https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Get population rules for a price list

Request

Path
priceListIdinteger(int32)required

Price list id

curl -i -X GET \
  'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/pricelist/{priceListId}/population'

Responses

OK

Body
Idinteger(int32)
ParentPriceListNamestring
IsSupplierRequiredboolean
IsIncludeboolean
IsCheckedboolean
CategoriesArray of objects(PriceListPopulationCategoryModel)
ManufacturersArray of objects(IdNameChangedModel)
FlagsArray of objects(IdNameChangedModel)
Response
{ "Id": 0, "ParentPriceListName": "string", "IsSupplierRequired": true, "IsInclude": true, "IsChecked": true, "Categories": [ {} ], "Manufacturers": [ {} ], "Flags": [ {} ] }

Updates population rules for a price list

Request

Path
priceListIdinteger(int32)required

Price list id

Bodyrequired

Population rules

Idinteger(int32)
ParentPriceListNamestring
IsSupplierRequiredboolean
IsIncludeboolean
IsCheckedboolean
CategoriesArray of objects(PriceListPopulationCategoryModel)
ManufacturersArray of objects(IdNameChangedModel)
FlagsArray of objects(IdNameChangedModel)
curl -i -X PUT \
  'https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0/api/pricing/pricelist/{priceListId}/population' \
  -H 'Content-Type: application/json' \
  -d '{
    "Id": 0,
    "ParentPriceListName": "string",
    "IsSupplierRequired": true,
    "IsInclude": true,
    "IsChecked": true,
    "Categories": [
      {
        "CategoryId": 0,
        "Name": "string",
        "IsChecked": true,
        "IsOpen": true,
        "Categories": [
          {}
        ],
        "Manufacturers": [
          {
            "Id": 0,
            "Name": "string",
            "Changed": "string",
            "ChangedBy": "string"
          }
        ],
        "Flags": [
          {
            "Id": 0,
            "Name": "string",
            "Changed": "string",
            "ChangedBy": "string"
          }
        ],
        "Parent": {},
        "Level": 0,
        "IsSupplierRequired": true,
        "Changed": "string",
        "ChangedBy": "string"
      }
    ],
    "Manufacturers": [
      {
        "Id": 0,
        "Name": "string",
        "Changed": "string",
        "ChangedBy": "string"
      }
    ],
    "Flags": [
      {
        "Id": 0,
        "Name": "string",
        "Changed": "string",
        "ChangedBy": "string"
      }
    ]
  }'

Responses

OK

Body
object
Response
{}
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations