Digi-Key · Schema

Product2DBarcodeResponse

Data retrieved from a 2D barcode on a product.

ShoppingPublic APIsElectronic ComponentsDistributionOrderingProduct SearchPricingInventorySupply Chain

Properties

Name Type Description
DigiKeyPartNumber string The Digi-Key part number.
ManufacturerPartNumber string The manufacturer part number.
ManufacturerName string Manufacturer of the product.
ProductDescription string Catalog description of the product.
Quantity integer Quantity of the product.
SalesorderId integer The Id for the Salesorder. Note that if the barcode was from a "Prepack" label, this will not be populated.
InvoiceId integer The Id for the invoice. Note that if the barcode was from a "Prepack" label, this will not be populated.
PurchaseOrder string Customer PurchaseOrder (custom notes or identifier) on the order. Note that if the barcode was from a "Prepack" label, this will not be populated.
CountryOfOrigin string The country that the product orginates from.
LotCode string The Lot Code
DateCode string The date code
View JSON Schema on GitHub

JSON Schema

digi-key-product2-dbarcode-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/digi-key/main/json-schema/digi-key-product2-dbarcode-response-schema.json",
  "title": "Product2DBarcodeResponse",
  "description": "Data retrieved from a 2D barcode on a product.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/digi-key-barcoding-api-openapi.yml#/components/schemas/Product2DBarcodeResponse",
  "type": "object",
  "properties": {
    "DigiKeyPartNumber": {
      "description": "The Digi-Key part number.",
      "type": "string"
    },
    "ManufacturerPartNumber": {
      "description": "The manufacturer part number.",
      "type": "string"
    },
    "ManufacturerName": {
      "description": "Manufacturer of the product.",
      "type": "string"
    },
    "ProductDescription": {
      "description": "Catalog description of the product.",
      "type": "string"
    },
    "Quantity": {
      "format": "int32",
      "description": "Quantity of the product.",
      "type": "integer"
    },
    "SalesorderId": {
      "format": "int32",
      "description": "The Id for the Salesorder. Note that if the barcode was from a \"Prepack\" label, this will not be populated.",
      "type": "integer"
    },
    "InvoiceId": {
      "format": "int32",
      "description": "The Id for the invoice. Note that if the barcode was from a \"Prepack\" label, this will not be populated.",
      "type": "integer"
    },
    "PurchaseOrder": {
      "description": "Customer PurchaseOrder (custom notes or identifier) on the order. Note that if the barcode was from a \"Prepack\" label, this will not be populated.",
      "type": "string"
    },
    "CountryOfOrigin": {
      "description": "The country that the product orginates from.",
      "type": "string"
    },
    "LotCode": {
      "description": "The Lot Code",
      "type": "string"
    },
    "DateCode": {
      "description": "The date code",
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/digi-key-product2-dbarcode-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.