ServiceNow · JSON Structure

Servicenow Service Catalog Cart Structure

The shopping cart contents.

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

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

Properties

items subtotal

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "The shopping cart contents.",
  "name": "Cart",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "An item in the shopping cart.",
        "properties": {
          "cart_item_id": {
            "type": "string",
            "description": "Unique identifier for the cart item."
          },
          "catalog_item_id": {
            "type": "string",
            "description": "The sys_id of the catalog item."
          },
          "quantity": {
            "type": "integer",
            "description": "The quantity ordered."
          },
          "subtotal": {
            "type": "string",
            "description": "The subtotal for this cart item."
          }
        }
      }
    },
    "subtotal": {
      "type": "string",
      "description": "The cart subtotal."
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}