BigCommerce · Schema

complexRuleConditionBase

Complex rules may return with conditions that apply to one or more variants, or with a single modifier value (if the rules were created using the v2 API or the control panel). Complex rules created or updated in the v3 API must have conditions that either reference multiple `modifier_value_id`’s, or else reference a `modifier_value_id` and a `variant_id`.

E-CommerceRetailCatalogOrderCheckoutPaymentsSoftware-as-a-Service

Properties

Name Type Description
id integer The unique numeric ID of the rule condition; increments sequentially. Read-Only
rule_id integer The unique numeric ID of the rule with which the condition is associated. Read-Only
modifier_id integer The unique numeric ID of the modifier with which the rule condition is associated. Required in /POST.
modifier_value_id integer The unique numeric ID of the modifier value with which the rule condition is associated. Required in /POST.
variant_id integer The unique numeric ID of the variant with which the rule condition is associated. Required in /POST.
combination_id integer (READ-ONLY:) The unique numeric ID of the SKU (v2 API), or Combination, with which the rule condition is associated. This is to maintain cross-compatibility between v2 and v3.
View JSON Schema on GitHub

JSON Schema

bigcommerce-complexruleconditionbase-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/complexRuleConditionBase",
  "title": "complexRuleConditionBase",
  "required": [
    "modifier_id",
    "modifier_value_id",
    "variant_id"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique numeric ID of the rule condition; increments sequentially. Read-Only\n",
      "nullable": true,
      "example": 3
    },
    "rule_id": {
      "type": "integer",
      "description": "The unique numeric ID of the rule with which the condition is associated.\nRead-Only",
      "nullable": true,
      "example": 4
    },
    "modifier_id": {
      "type": "integer",
      "description": "The unique numeric ID of the modifier with which the rule condition is associated.\nRequired in /POST.",
      "nullable": true,
      "example": 55
    },
    "modifier_value_id": {
      "type": "integer",
      "description": "The unique numeric ID of the modifier value with which the rule condition is associated.\nRequired in /POST.",
      "nullable": true,
      "example": 256
    },
    "variant_id": {
      "type": "integer",
      "description": "The unique numeric ID of the variant with which the rule condition is associated.\nRequired in /POST.",
      "nullable": true,
      "example": 1
    },
    "combination_id": {
      "type": "integer",
      "description": "(READ-ONLY:) The unique numeric ID of the SKU (v2 API), or Combination, with which the rule condition is associated. This is to maintain cross-compatibility between v2 and v3.\n"
    }
  },
  "description": "Complex rules may return with conditions that apply to one or more variants, or with a single modifier value (if the rules were created using the v2 API or the control panel). Complex rules created or updated in the v3 API must have conditions that either reference multiple `modifier_value_id`\u2019s, or else reference a `modifier_value_id` and a `variant_id`.",
  "x-internal": false
}

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/bigcommerce-complexruleconditionbase"
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.