---
title: Gets sku price information.
slug: cms-12/api/8um8-gets-sku-price-information
docTags: 
createdAt: 2026-08-28T13:16:06.833Z
---

{
  "id": "TRursuxBeGPs6pqA4SwqY",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "http://localhost:65349//api/episerver/v2.0/pricing",
    "servers": [
      {
        "url": "http://localhost:65349//api/episerver/v2.0/pricing"
      }
    ],
    "name": "Gets sku price information.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json",
            "text/json",
            "application/xml",
            "text/xml"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "required",
          "name": "contentIds",
          "type": "array",
          "description": "The content ids.",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        },
        {
          "kind": "required",
          "name": "marketId",
          "type": "string",
          "description": "The market id."
        },
        {
          "kind": "required",
          "name": "currencyCode",
          "type": "string",
          "description": "The currency code."
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "Represents pricing data for a sku",
            "customType": "PricingApiModel[]",
            "schema": [
              {
                "name": "EntryCode",
                "kind": "optional",
                "type": "string",
                "description": "The entry code."
              },
              {
                "name": "Prices",
                "kind": "optional",
                "type": "array",
                "description": "The prices.",
                "modelRef": "#/components/schemas/PriceModel",
                "customType": "PriceModel[]",
                "schema": [
                  {
                    "name": "Price",
                    "kind": "optional",
                    "type": "number<decimal>",
                    "description": "The price.",
                    "format": "decimal"
                  },
                  {
                    "name": "PriceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "The price type."
                  },
                  {
                    "name": "PriceCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "The price code."
                  },
                  {
                    "name": "ValidFrom",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "The valid from date and time.",
                    "format": "date-time"
                  },
                  {
                    "name": "ValidUntil",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "The valid until date and time.",
                    "format": "date-time"
                  },
                  {
                    "name": "MinQuantity",
                    "kind": "optional",
                    "type": "number<decimal>",
                    "description": "The minimum quantity.",
                    "format": "decimal"
                  }
                ]
              },
              {
                "name": "DiscountedPrices",
                "kind": "optional",
                "type": "array",
                "description": "The discounted prices.",
                "modelRef": "#/components/schemas/DiscountedPriceModel",
                "customType": "DiscountedPriceModel[]",
                "schema": [
                  {
                    "name": "Description",
                    "kind": "optional",
                    "type": "string",
                    "description": "The description of the discount."
                  },
                  {
                    "name": "DiscountedPrice",
                    "kind": "optional",
                    "type": "number<decimal>",
                    "description": "The discounted price.",
                    "format": "decimal"
                  },
                  {
                    "name": "DefaultPrice",
                    "kind": "optional",
                    "type": "number<decimal>",
                    "description": "The default price that be used for calculating the discounted price.",
                    "format": "decimal"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/PricingApiModel",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "Forbidden",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "B-W__nHiRWEGPHvr9h8i7",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'http://localhost:65349//api/episerver/v2.0/pricing?contentIds=array&marketId=string&currencyCode=string' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "qMVAzm1rTt9QGqu243GB8",
          "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: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:65349//api/episerver/v2.0/pricing?contentIds=array&marketId=string&currencyCode=string\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "QY_hHq_Lc6RmimKJrbiTL",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:65349//api/episerver/v2.0/pricing?contentIds=array&marketId=string&currencyCode=string\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "5T7hirUAH_LhfN6_9yPax",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:65349//api/episerver/v2.0/pricing?contentIds=array&marketId=string&currencyCode=string\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "B-W__nHiRWEGPHvr9h8i7"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// OK\n[\n  {\n    \"EntryCode\": \"\",\n    \"Prices\": [\n      {\n        \"Price\": \"\",\n        \"PriceType\": \"\",\n        \"PriceCode\": \"\",\n        \"ValidFrom\": \"\",\n        \"ValidUntil\": \"\",\n        \"MinQuantity\": \"\"\n      }\n    ],\n    \"DiscountedPrices\": [\n      {\n        \"Description\": \"\",\n        \"DiscountedPrice\": \"\",\n        \"DefaultPrice\": \"\"\n      }\n    ]\n  }\n]"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// Bad Request\n"
        },
        {
          "id": "response-2-403",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "response-3-404",
          "language": "404",
          "code": "// Not Found\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}