---
title: Fetch Price Tag
slug: fetch-price-tag
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "XXxqsEJFWWzXhI7ZWkSnR",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/catalog/price-tags",
    "servers": [
      {
        "url": "https://api.nue.io/catalog/price-tags",
        "description": "**Production Environment** - Live production server for all customer-facing operations. Use this for production integrations with real customer data and transactions."
      },
      {
        "url": "https://api.sandbox.nue.io/catalog/price-tags",
        "description": "**Sandbox Environment** - Safe testing environment with sample data for development and integration testing. No rate limits apply. Data is reset weekly. Perfect for prototyping and QA testing."
      }
    ],
    "name": "Fetch Price Tag",
    "description": "This endpoint allows you to retrieve details of all price and discount tags or a specific price or discount tag.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "code",
          "type": "string",
          "description": "The code of a published price or discount tag that needs to be retrieved."
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "ApiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful response",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "",
            "schema": [
              {
                "name": "active",
                "kind": "optional",
                "type": "boolean",
                "description": "Indicates if the price tag is active"
              },
              {
                "name": "code",
                "kind": "optional",
                "type": "string",
                "description": "Code representing the discount"
              },
              {
                "name": "id",
                "kind": "optional",
                "type": "string",
                "description": "Unique identifier for the price tag"
              },
              {
                "name": "lastPublishedById",
                "kind": "optional",
                "type": "string",
                "description": "ID of the user who last published the tag"
              },
              {
                "name": "lastPublishedDate",
                "kind": "optional",
                "type": "string",
                "description": "Date of the last publication"
              },
              {
                "name": "name",
                "kind": "optional",
                "type": "string",
                "description": "Name of the price tag"
              },
              {
                "name": "priceTagType",
                "kind": "optional",
                "type": "string",
                "description": "<p>Type of the price tag (e.g., Quantity, Term)</p>"
              },
              {
                "name": "priceTiers",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "chargeModel",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Model of charge (e.g., PerUnit)</p>"
                  },
                  {
                    "name": "discountPercentage",
                    "kind": "optional",
                    "type": "number",
                    "description": "Percentage discount applied"
                  },
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique identifier for the price tier"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the price tier"
                  },
                  {
                    "name": "startUnit",
                    "kind": "optional",
                    "type": "number",
                    "description": "Starting unit for the tier"
                  },
                  {
                    "name": "startUnitDimension",
                    "kind": "optional",
                    "type": "string",
                    "description": "Dimension of the starting tier unit"
                  },
                  {
                    "name": "tierNumber",
                    "kind": "optional",
                    "type": "number",
                    "description": "Number representing the tier"
                  },
                  {
                    "name": "endUnit",
                    "kind": "optional",
                    "type": "number",
                    "description": "Ending unit for the tier"
                  },
                  {
                    "name": "endUnitDimension",
                    "kind": "optional",
                    "type": "string",
                    "description": "Dimension of the ending tier unit"
                  }
                ]
              },
              {
                "name": "priceType",
                "kind": "optional",
                "type": "string",
                "description": "<p>Type of pricing (e.g., Volume)</p>"
              },
              {
                "name": "publishStatus",
                "kind": "optional",
                "type": "string",
                "description": "Publication status of the price tag"
              },
              {
                "name": "recordType",
                "kind": "optional",
                "type": "string",
                "description": "<p>Type of record (DiscountDimension)</p>"
              },
              {
                "name": "startTime",
                "kind": "optional",
                "type": "string",
                "description": "Start time for the discount"
              },
              {
                "name": "uomDimension",
                "kind": "optional",
                "type": "string",
                "description": "Unit of measure dimension for pricing"
              }
            ],
            "itemType": "object",
            "customType": "object[]",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "hvbfPEhi7Ks9MpDVMD6ka",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/catalog/price-tags \\\n     --header 'accept: application/json'"
        },
        {
          "id": "pIbCRn5HsGWAWsQyZsZVT",
          "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(\"https://api.nue.io/catalog/price-tags\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "yvfk226Om1DIjVRPhU6D5",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/catalog/price-tags\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "zHeRGk-wT85NbkKTkj7Np",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/catalog/price-tags\"\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": "hvbfPEhi7Ks9MpDVMD6ka"
    },
    "results": {
      "languages": [
        {
          "id": "lu49y_lLxwwc8qwq6ep2K",
          "language": "200",
          "code": "// Successful response\n[\n  {\n    \"active\": false,\n    \"code\": \"\",\n    \"id\": \"\",\n    \"lastPublishedById\": \"\",\n    \"lastPublishedDate\": \"\",\n    \"name\": \"\",\n    \"priceTagType\": \"\",\n    \"priceTiers\": [\n      {\n        \"chargeModel\": \"\",\n        \"discountPercentage\": 0,\n        \"id\": \"\",\n        \"name\": \"\",\n        \"startUnit\": 0,\n        \"startUnitDimension\": \"\",\n        \"tierNumber\": 0,\n        \"endUnit\": 0,\n        \"endUnitDimension\": \"\"\n      }\n    ],\n    \"priceType\": \"\",\n    \"publishStatus\": \"\",\n    \"recordType\": \"\",\n    \"startTime\": \"\",\n    \"uomDimension\": \"\"\n  }\n]"
        }
      ],
      "selectedLanguageId": "lu49y_lLxwwc8qwq6ep2K"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}