---
title: Posts the catalog entry prices.
slug: commerce-connect-15/service-api/posts-the-catalog-entry-prices
docTags: 
createdAt: 2026-10-09T17:33:31.176Z
---

{
  "id": "XGmrEYQpvkjdlU1WeNFi-",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple",
    "servers": [
      {
        "url": "http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple"
      },
      {
        "url": "https://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple"
      }
    ],
    "name": "Posts the catalog entry prices.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "entryCode",
          "type": "string",
          "description": "The entry code."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "array",
          "description": "The collection of prices.",
          "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.Price[]",
          "schema": [
            {
              "name": "PriceValueId",
              "kind": "optional",
              "type": "integer<int64>",
              "description": "Gets or sets the price value identifier.",
              "format": "int64"
            },
            {
              "name": "CatalogEntryCode",
              "kind": "optional",
              "type": "string",
              "description": "Gets the catalog entry key."
            },
            {
              "name": "MarketId",
              "kind": "optional",
              "type": "string",
              "description": "Gets or sets the market identifier."
            },
            {
              "name": "PriceTypeId",
              "kind": "optional",
              "type": "string",
              "description": "<p>Gets or sets the price type identifier.  Valid Values are AllCustomers, UserName, PriceGroup.</p>"
            },
            {
              "name": "PriceCode",
              "kind": "optional",
              "type": "string",
              "description": "Gets or sets the price code for the specified price type identifier."
            },
            {
              "name": "ValidFrom",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "Gets or sets the valid from.",
              "format": "date-time"
            },
            {
              "name": "ValidUntil",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "Gets or sets the valid until.",
              "format": "date-time"
            },
            {
              "name": "MinQuantity",
              "kind": "optional",
              "type": "number<double>",
              "description": "Gets or sets the minimum quantity.",
              "format": "double"
            },
            {
              "name": "UnitPrice",
              "kind": "optional",
              "type": "number<double>",
              "description": "Gets or sets the unit price.",
              "format": "double"
            },
            {
              "name": "CurrencyCode",
              "kind": "optional",
              "type": "string",
              "description": "Gets or sets the currency code."
            }
          ],
          "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.Price",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "The catalog entry prices are saved.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "",
            "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.Price[]",
            "schema": [
              {
                "name": "PriceValueId",
                "kind": "optional",
                "type": "integer<int64>",
                "description": "Gets or sets the price value identifier.",
                "format": "int64"
              },
              {
                "name": "CatalogEntryCode",
                "kind": "optional",
                "type": "string",
                "description": "Gets the catalog entry key."
              },
              {
                "name": "MarketId",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the market identifier."
              },
              {
                "name": "PriceTypeId",
                "kind": "optional",
                "type": "string",
                "description": "<p>Gets or sets the price type identifier.  Valid Values are AllCustomers, UserName, PriceGroup.</p>"
              },
              {
                "name": "PriceCode",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the price code for the specified price type identifier."
              },
              {
                "name": "ValidFrom",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "Gets or sets the valid from.",
                "format": "date-time"
              },
              {
                "name": "ValidUntil",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "Gets or sets the valid until.",
                "format": "date-time"
              },
              {
                "name": "MinQuantity",
                "kind": "optional",
                "type": "number<double>",
                "description": "Gets or sets the minimum quantity.",
                "format": "double"
              },
              {
                "name": "UnitPrice",
                "kind": "optional",
                "type": "number<double>",
                "description": "Gets or sets the unit price.",
                "format": "double"
              },
              {
                "name": "CurrencyCode",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the currency code."
              }
            ],
            "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.Price",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "If the catalog entry price models are not valid.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "401",
        "description": "If user does not have enough permission for this request.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "If entry does not exist.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "_MgWBmMqpn_2_BYrMRuLa",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '[\n     {}\n     ]'"
        },
        {
          "id": "vAwc3PyxAmioN1mSmuKQ8",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify([\n   {}\n]);\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "LN8lBAiDTw29X884eiFDm",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump([\n   {}\n])\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "0oiZ0TWtUviMyT4gDGzDA",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices/multiple\"\n\npayload = json.dumps([\n   {}\n])\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "_MgWBmMqpn_2_BYrMRuLa"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// The catalog entry prices are saved.\n[\n  {\n    \"PriceValueId\": \"\",\n    \"CatalogEntryCode\": \"\",\n    \"MarketId\": \"\",\n    \"PriceTypeId\": \"\",\n    \"PriceCode\": \"\",\n    \"ValidFrom\": \"\",\n    \"ValidUntil\": \"\",\n    \"MinQuantity\": \"\",\n    \"UnitPrice\": \"\",\n    \"CurrencyCode\": \"\"\n  }\n]"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// If the catalog entry price models are not valid.\n"
        },
        {
          "id": "response-2-401",
          "language": "401",
          "code": "// If user does not have enough permission for this request.\n"
        },
        {
          "id": "response-3-404",
          "language": "404",
          "code": "// If entry does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}