---
title: Puts the catalog entry prices.
slug: commerce-connect-15/service-api/puts-the-catalog-entry-prices
docTags: 
createdAt: 2026-10-09T17:33:30.457Z
---

{
  "id": "p4j0iI2De_Bj1HUdJtShT",
  "type": "api-oas-v2",
  "data": {
    "method": "PUT",
    "url": "http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices",
    "servers": [
      {
        "url": "http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices"
      },
      {
        "url": "https://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices"
      }
    ],
    "name": "Puts 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 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": "204",
        "description": "The catalog entry prices are saved.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [],
            "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 or entry prices does not exist.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "tjH2MK1ax_a6SZ0--TSeS",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PUT \\\n     --url http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '[\n     {}\n     ]'"
        },
        {
          "id": "8BnOEJoK5zQyyjDXOf4Rc",
          "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: 'PUT',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "Cr25GqQs218f4W3pVZkjp",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Put.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": "VWcc6BfFHv-qHf1LHE96F",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:64424/episerverapi/commerce/entries/{entryCode}/prices\"\n\npayload = json.dumps([\n   {}\n])\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "tjH2MK1ax_a6SZ0--TSeS"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-204",
          "language": "204",
          "code": "// The catalog entry prices are saved.\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 or entry prices does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-204"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}