Kibo Commerce · Schema

FindItemDiscountsRequest

Request parameters to search for discounts

CompanyCommerceE-CommerceHeadless CommerceOrder ManagementB2BConsumerInventoryFulfillment

Properties

Name Type Description
customerSegmentIds arraynull List of customer segments that the discounts are applicable to. If not specified, only discounts that are not restricted to any customer segment are returned. When specified, only discounts that are a
includeUnconditional boolean When true, include discounts that are applied when there is no condition on the discount. By default, these are not included.
isPurchaseRequirement boolean Set false to exclude discounts that require one of the specified products to be purchased default is true
isTarget boolean Set false to exclude discounts that require one of the specified products to be a target Default is true
labels arraynull List of discount labels to filter discounts by. Limit: 10 labels
locationCodes arraynull List of location codes to filter discounts by. when not specified all discounts are returned.
productCodes arraynull List of product codes to query for discounts Limit: 20 product codes
targetType stringnull Types of discounts to search for Product, Shipping, or All when not specified, all types are returned.
View JSON Schema on GitHub

JSON Schema

kibo-commerce-find-item-discounts-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kibo-commerce/main/json-schema/kibo-commerce-find-item-discounts-request-schema.json",
  "title": "FindItemDiscountsRequest",
  "description": "Request parameters to search for discounts",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kibo-commerce-pricing-openapi.yml#/components/schemas/FindItemDiscountsRequest",
  "properties": {
    "customerSegmentIds": {
      "description": "List of customer segments that the discounts are applicable to.\nIf not specified, only discounts that are not restricted to any customer segment are returned.\nWhen specified, only discounts that are applicable to one of the specified customer segments are returned.",
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "includeUnconditional": {
      "description": "When true, include discounts that are applied when there is no condition on the discount.\nBy default, these are not included.",
      "type": "boolean"
    },
    "isPurchaseRequirement": {
      "description": "Set false to exclude discounts that require one of the specified products to be purchased\ndefault is true",
      "type": "boolean"
    },
    "isTarget": {
      "description": "Set false to exclude discounts that require one of the specified products to be a target\nDefault is true",
      "type": "boolean"
    },
    "labels": {
      "description": "List of discount labels to filter discounts by.\nLimit: 10 labels",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "locationCodes": {
      "description": "List of location codes to filter discounts by.\nwhen not specified all discounts are returned.",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "productCodes": {
      "description": "List of product codes to query for discounts\nLimit: 20 product codes",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "targetType": {
      "description": "Types of discounts to search for Product, Shipping, or All\nwhen not specified, all types are returned.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object"
}

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/kibo-commerce-find-item-discounts-request"
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.