Duckhub · Schema

V1PatchProductDto

Artificial IntelligenceQRRestaurantSoftware-as-a-ServiceMenusCompany

Properties

Name Type Description
name string
description stringnull
priceMinor number
salePriceMinor numbernull
isSaleActive boolean
amount numbernull
unit stringnull
badgeLabel stringnull
badgeColor stringnull
categoryRef stringnull Hybrid category ref; null = detach from its category.
menuVisible boolean
sortOrder number
View JSON Schema on GitHub

JSON Schema

duck-hub-com-v1-patch-product-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/duck-hub-com/json-schema/duck-hub-com-v1-patch-product-dto-schema.json",
  "title": "V1PatchProductDto",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/duck-hub-com-openapi.json#/components/schemas/V1PatchProductDto",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 1000
    },
    "priceMinor": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000000
    },
    "salePriceMinor": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100000000
    },
    "isSaleActive": {
      "type": "boolean"
    },
    "amount": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100000
    },
    "unit": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "G",
        "PCS",
        "ML"
      ]
    },
    "badgeLabel": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 16
    },
    "badgeColor": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "RED",
        "PURPLE",
        "YELLOW",
        "GREEN",
        "BLUE",
        "GREY"
      ]
    },
    "categoryRef": {
      "type": [
        "string",
        "null"
      ],
      "description": "Hybrid category ref; null = detach from its category.",
      "maxLength": 255
    },
    "menuVisible": {
      "type": "boolean"
    },
    "sortOrder": {
      "type": "number",
      "minimum": -1000000000,
      "maximum": 1000000000
    }
  }
}

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/duck-hub-com-v1-patch-product-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.