ServiceNow · JSON Structure

Servicenow Service Catalog Cart Item Input Structure

Input for adding a catalog item to the cart or ordering directly.

Type: object Properties: 2 Required: 1
AutomationCloud ServicesDigital WorkflowsEnterprise PlatformIT Service ManagementITSMProcessesT1Workflow AutomationWorkflows

CartItemInput is a JSON Structure definition published by ServiceNow, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

sysparm_quantity variables

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Input for adding a catalog item to the cart or ordering directly.",
  "name": "CartItemInput",
  "properties": {
    "sysparm_quantity": {
      "type": "integer",
      "description": "The quantity of items to order."
    },
    "variables": {
      "type": "object",
      "description": "Name-value pairs for the catalog item variables. Keys are variable names and values are the user-provided entries."
    }
  },
  "required": [
    "sysparm_quantity"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}