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

{
  "id": "9E7Rl655AwraDNV5CDHAc",
  "type": "api-oas-v2",
  "data": {
    "method": "PUT",
    "url": "/episerverapi/commerce/entries/{entryCode}/prices/{priceValueId}",
    "servers": [],
    "name": "Puts the catalog entry price.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "priceValueId",
          "type": "integer<int64>",
          "description": "The price value identifier.",
          "format": "int64"
        },
        {
          "kind": "required",
          "name": "entryCode",
          "type": "string",
          "description": ""
        }
      ],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "entryCode",
          "type": "string",
          "description": "The entry code."
        }
      ],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "The price.",
          "customType": "Price",
          "schema": [
            {
              "name": "priceValueId",
              "kind": "optional",
              "type": "integer<int64>",
              "nullable": true,
              "description": "Gets or sets the price value identifier.",
              "format": "int64"
            },
            {
              "name": "catalogEntryCode",
              "kind": "optional",
              "type": "string",
              "nullable": true,
              "description": "Gets the catalog entry key."
            },
            {
              "name": "marketId",
              "kind": "optional",
              "type": "string",
              "nullable": true,
              "description": "Gets or sets the market identifier."
            },
            {
              "name": "priceTypeId",
              "kind": "optional",
              "type": "string",
              "nullable": true,
              "description": "<p>Gets or sets the price type identifier.  Valid Values are AllCustomers, UserName, PriceGroup.</p>"
            },
            {
              "name": "priceCode",
              "kind": "optional",
              "type": "string",
              "nullable": true,
              "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>",
              "nullable": true,
              "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",
              "nullable": true,
              "description": "Gets or sets the currency code."
            }
          ],
          "modelRef": "#/components/schemas/Price",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Success",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "204",
        "description": "The catalog entry price is saved.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "If the catalog entry price model is 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": "p9zuQHuxSycSrFEvLyIpb",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PUT \\\n     --url /episerverapi/commerce/entries/{entryCode}/prices/{priceValueId} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "BPpPVtfaeH21OjzhOxKSz",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'PUT',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"/episerverapi/commerce/entries/{entryCode}/prices/{priceValueId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "McNwWIUhp5SPycYKT5eNw",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"/episerverapi/commerce/entries/{entryCode}/prices/{priceValueId}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Put.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "RFEfkZ1lc7Nl8t2kt-WUv",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"/episerverapi/commerce/entries/{entryCode}/prices/{priceValueId}\"\n\npayload = {}\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": "p9zuQHuxSycSrFEvLyIpb"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Success\n"
        },
        {
          "id": "response-1-204",
          "language": "204",
          "code": "// The catalog entry price is saved.\n"
        },
        {
          "id": "response-2-400",
          "language": "400",
          "code": "// If the catalog entry price model is not valid.\n"
        },
        {
          "id": "response-3-401",
          "language": "401",
          "code": "// If user does not have enough permission for this request.\n"
        },
        {
          "id": "response-4-404",
          "language": "404",
          "code": "// If entry or entry prices does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}