---
title: Get Schema Type Details
slug: data-api/get-schema-type-details
docTags: 
createdAt: 2026-05-15T19:39:37.743Z
---

{
  "id": "bFIMlnHJ2lqWJH-e1c6bI",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.monetate.net/api/data/v1/{retailerShortname}/production/schematype/{schema-type}/",
    "servers": [
      {
        "url": "https://api.monetate.net/api/data/v1/{retailerShortname}/production/schematype/{schema-type}/"
      }
    ],
    "name": "Get Schema Type Details",
    "description": "Gets details for a Schema Type and its specification.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "schema-type",
          "type": "string",
          "description": "Name of the schema type."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "Token Authentication",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>The Monetate Data API uses Token Authentication, so requests to the Data API must include a valid, active authentication token. Include an <code>Authorization</code> header with the value <code>Token [token_string]</code> with every request. See <a href=\"https://developer.monetate.com/auth-api\" target=\"_blank\">Auth API</a> for information on obtaining the <em>token_string</em>.</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "A Schema Type.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "SchemaTypeResponse",
            "schema": [
              {
                "name": "meta",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseMeta",
                "customType": "ResponseMeta",
                "schema": [
                  {
                    "name": "code",
                    "kind": "required",
                    "type": "integer",
                    "description": "The http response code for this response.",
                    "example": 200
                  },
                  {
                    "name": "warnings",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of warnings associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "errors",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of errors associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  }
                ]
              },
              {
                "name": "data",
                "kind": "required",
                "type": "object",
                "description": "Representation of the type of Schema that can be created.",
                "example": "{\"name\":\"product\",\"fields\":{\"id\":{\"data_type\":\"STRING\",\"identifier\":true,\"unique_key\":true,\"event_time\":false,\"required\":true},\"title\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":true},\"description\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":true},\"link\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":true},\"image_link\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":true},\"additional_image_link\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"mobile_link\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"availability\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"availability_date\":{\"data_type\":\"DATETIME\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"expiration_date\":{\"data_type\":\"DATETIME\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"price\":{\"data_type\":\"NUMBER\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":true},\"sale_price\":{\"data_type\":\"NUMBER\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"sale_price_effective_date_begin\":{\"data_type\":\"DATETIME\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"sale_price_effective_date_end\":{\"data_type\":\"DATETIME\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"loyalty_points\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"product_type\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":true},\"brand\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"mpn\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"condition\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"adult\":{\"data_type\":\"BOOLEAN\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"multipack\":{\"data_type\":\"NUMBER\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"is_bundle\":{\"data_type\":\"BOOLEAN\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"energy_efficiency_class\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"age_group\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"color\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"gender\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"material\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"pattern\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"quantity\":{\"data_type\":\"NUMBER\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"size\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"size_type\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"item_group_id\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"promotion_id\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"shipping\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"shipping_label\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"shipping_weight\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"shipping_length\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"shipping_height\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"shipping_width\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false},\"tax\":{\"data_type\":\"STRING\",\"identifier\":false,\"unique_key\":false,\"event_time\":false,\"required\":false}}}",
                "modelRef": "#/components/schemas/SchemaType",
                "customType": "SchemaType",
                "schema": [
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "description": "The name of the Schema Type.",
                    "maxLength": 64,
                    "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
                  },
                  {
                    "name": "fields",
                    "kind": "required",
                    "type": "map",
                    "description": "The fields part of the Schema Type specification.",
                    "example": "",
                    "customType": "map<string, Field>",
                    "schema": []
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/SchemaTypeResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "<p>Unauthorized.</p>\n<p>The request did not include a token, or the token provided was invalid. Please ensure that your token is correct and that the Authorization header is properly formatted.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Response",
            "schema": [
              {
                "name": "meta",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseMeta",
                "customType": "ResponseMeta",
                "schema": [
                  {
                    "name": "code",
                    "kind": "required",
                    "type": "integer",
                    "description": "The http response code for this response.",
                    "example": 200
                  },
                  {
                    "name": "warnings",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of warnings associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "errors",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of errors associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  }
                ]
              },
              {
                "name": "data",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseAnyData",
                "customType": "ResponseAnyData",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Response",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "403",
        "description": "Forbidden.\n\nThe request included a token that has been revoked. Please contact your account administrator to generate a new token.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Response",
            "schema": [
              {
                "name": "meta",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseMeta",
                "customType": "ResponseMeta",
                "schema": [
                  {
                    "name": "code",
                    "kind": "required",
                    "type": "integer",
                    "description": "The http response code for this response.",
                    "example": 200
                  },
                  {
                    "name": "warnings",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of warnings associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "errors",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of errors associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  }
                ]
              },
              {
                "name": "data",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseAnyData",
                "customType": "ResponseAnyData",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Response",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "<p>Not found.</p>\n<p>The resource you are trying to fetch does not exist, or has been deleted.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Response",
            "schema": [
              {
                "name": "meta",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseMeta",
                "customType": "ResponseMeta",
                "schema": [
                  {
                    "name": "code",
                    "kind": "required",
                    "type": "integer",
                    "description": "The http response code for this response.",
                    "example": 200
                  },
                  {
                    "name": "warnings",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of warnings associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "errors",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of errors associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  }
                ]
              },
              {
                "name": "data",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseAnyData",
                "customType": "ResponseAnyData",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Response",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "500",
        "description": "Unknown error.\n\nPlease try again or contact your account manager for more information.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Response",
            "schema": [
              {
                "name": "meta",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseMeta",
                "customType": "ResponseMeta",
                "schema": [
                  {
                    "name": "code",
                    "kind": "required",
                    "type": "integer",
                    "description": "The http response code for this response.",
                    "example": 200
                  },
                  {
                    "name": "warnings",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of warnings associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "errors",
                    "kind": "optional",
                    "type": "array",
                    "description": "A list of errors associated with this response.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "itemExample": "",
                    "itemDefault": ""
                  }
                ]
              },
              {
                "name": "data",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ResponseAnyData",
                "customType": "ResponseAnyData",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Response",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "Gg-YpOhBFUjdORTRohRaK",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.monetate.net/api/data/v1/{retailerShortname}/production/schematype/{schema-type}/ \\\n     --header 'accept: application/json'"
        },
        {
          "id": "q01DAIlt2lMOwZJWep4Uj",
          "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.monetate.net/api/data/v1/{retailerShortname}/production/schematype/{schema-type}/\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "e746HGryTp9A4a3EoBNap",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.monetate.net/api/data/v1/{retailerShortname}/production/schematype/{schema-type}/\")\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": "Wrf9i4NbT6YL6XN7yip3J",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.monetate.net/api/data/v1/{retailerShortname}/production/schematype/{schema-type}/\"\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": "Gg-YpOhBFUjdORTRohRaK"
    },
    "results": {
      "languages": [
        {
          "id": "VqgezXIM153gNrYAF6jkM",
          "language": "200",
          "code": "// A Schema Type.\n{\n  \"meta\": {\n    \"code\": 200,\n    \"warnings\": [\n      {}\n    ],\n    \"errors\": [\n      {}\n    ]\n  },\n  \"data\": {\n    \"name\": \"\",\n    \"fields\": \"\"\n  }\n}"
        },
        {
          "id": "HpTs0JklllsQ62wdOn9mh",
          "language": "401",
          "code": "// Unauthorized.\nThe request did not include a token, or the token provided was invalid. Please ensure that your token is correct and that the Authorization header is properly formatted.\n{\n  \"meta\": {\n    \"code\": 200,\n    \"warnings\": [\n      {}\n    ],\n    \"errors\": [\n      {}\n    ]\n  },\n  \"data\": {}\n}"
        },
        {
          "id": "bu1_wkkQZWQ9u3bl5OBig",
          "language": "403",
          "code": "// Forbidden.\n\nThe request included a token that has been revoked. Please contact your account administrator to generate a new token.\n{\n  \"meta\": {\n    \"code\": 200,\n    \"warnings\": [\n      {}\n    ],\n    \"errors\": [\n      {}\n    ]\n  },\n  \"data\": {}\n}"
        },
        {
          "id": "oHju5myA8C5-nPpsZ0Y65",
          "language": "404",
          "code": "// Not found.\nThe resource you are trying to fetch does not exist, or has been deleted.\n{\n  \"meta\": {\n    \"code\": 200,\n    \"warnings\": [\n      {}\n    ],\n    \"errors\": [\n      {}\n    ]\n  },\n  \"data\": {}\n}"
        },
        {
          "id": "Ch2UJ7pV73tLUjsSkfxHP",
          "language": "500",
          "code": "// Unknown error.\n\nPlease try again or contact your account manager for more information.\n{\n  \"meta\": {\n    \"code\": 200,\n    \"warnings\": [\n      {}\n    ],\n    \"errors\": [\n      {}\n    ]\n  },\n  \"data\": {}\n}"
        }
      ],
      "selectedLanguageId": "VqgezXIM153gNrYAF6jkM"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}