{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-seller-central/main/json-schema/amazon-seller-central-create-marketplace-item-labels-request-schema.json",
  "title": "CreateMarketplaceItemLabelsRequest",
  "description": "The `createMarketplaceItemLabels` request.",
  "x-generated": "2026-09-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-seller-central-fbainbound-api-openapi.yml#/components/schemas/CreateMarketplaceItemLabelsRequest",
  "properties": {
    "height": {
      "description": "The height of the item label.",
      "maximum": 100,
      "minimum": 25,
      "type": "number"
    },
    "labelType": {
      "$ref": "#/$defs/LabelPrintType"
    },
    "localeCode": {
      "description": "The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character.",
      "pattern": "^[a-z]{2}_[A-Z]{2}$",
      "type": "string",
      "default": "en_US"
    },
    "marketplaceId": {
      "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).",
      "maxLength": 20,
      "minLength": 1,
      "type": "string"
    },
    "mskuQuantities": {
      "description": "Represents the quantity of an MSKU to print item labels for.",
      "items": {
        "$ref": "#/$defs/MskuQuantity"
      },
      "maxItems": 100,
      "minItems": 1,
      "type": "array"
    },
    "pageType": {
      "$ref": "#/$defs/ItemLabelPageType"
    },
    "width": {
      "description": "The width of the item label.",
      "maximum": 100,
      "minimum": 25,
      "type": "number"
    }
  },
  "required": [
    "labelType",
    "marketplaceId",
    "mskuQuantities"
  ],
  "type": "object",
  "$defs": {
    "ItemLabelPageType": {
      "description": "The page type to use to print the labels. Possible values: 'A4_21', 'A4_24', 'A4_24_64x33', 'A4_24_66x35', 'A4_24_70x36', 'A4_24_70x37', 'A4_24i', 'A4_27', 'A4_40_52x29', 'A4_44_48x25', 'Letter_30'.",
      "enum": [
        "A4_21",
        "A4_24",
        "A4_24_64x33",
        "A4_24_66x35",
        "A4_24_70x36",
        "A4_24_70x37",
        "A4_24i",
        "A4_27",
        "A4_40_52x29",
        "A4_44_48x25",
        "Letter_30"
      ],
      "type": "string",
      "x-docgen-enum-table-extension": [
        {
          "value": "A4_21",
          "description": "-"
        },
        {
          "value": "A4_24",
          "description": "-"
        },
        {
          "value": "A4_24_64x33",
          "description": "-"
        },
        {
          "value": "A4_24_66x35",
          "description": "-"
        },
        {
          "value": "A4_24_70x36",
          "description": "-"
        },
        {
          "value": "A4_24_70x37",
          "description": "-"
        },
        {
          "value": "A4_24i",
          "description": "-"
        },
        {
          "value": "A4_27",
          "description": "-"
        },
        {
          "value": "A4_40_52x29",
          "description": "-"
        },
        {
          "value": "A4_44_48x25",
          "description": "-"
        },
        {
          "value": "Letter_30",
          "description": "-"
        }
      ]
    },
    "LabelPrintType": {
      "description": "Indicates the type of print type for a given label.",
      "enum": [
        "STANDARD_FORMAT",
        "THERMAL_PRINTING"
      ],
      "type": "string",
      "x-docgen-enum-table-extension": [
        {
          "value": "STANDARD_FORMAT",
          "description": "-"
        },
        {
          "value": "THERMAL_PRINTING",
          "description": "-"
        }
      ]
    },
    "MskuQuantity": {
      "description": "Represents an MSKU and the related quantity.",
      "properties": {
        "msku": {
          "description": "The merchant SKU, a merchant-supplied identifier for a specific SKU.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "quantity": {
          "description": "A positive integer.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "msku",
        "quantity"
      ],
      "type": "object"
    }
  }
}