{
  "openapi": "3.1.0",
  "info": {
    "title": "Nambikk CPQ — Commerce Integration Profile",
    "version": "1.0.0-beta.1",
    "description": "Browse a published catalogue, build and configure a customer Quote, calculate pricing and place an Order.",
    "contact": {
      "name": "Nambikk API Support"
    },
    "license": {
      "name": "Commercial",
      "identifier": "LicenseRef-Commercial"
    },
    "x-nambikk-lifecycle": "BETA"
  },
  "servers": [
    {
      "url": "https://{host}",
      "description": "Nambikk CPQ API",
      "variables": {
        "host": {
          "default": "api.example.nambikk.ai"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Published Catalogue",
      "description": "Resolve a selling context and browse its current published catalogue."
    },
    {
      "name": "Product Configuration",
      "description": "Read published product configuration and available add-ons."
    },
    {
      "name": "Catalogue Pricing",
      "description": "Read published price summaries and charge details."
    },
    {
      "name": "Quotes",
      "description": "Create and manage a known customer Quote."
    },
    {
      "name": "Quote Configuration",
      "description": "Add, configure and remove Quote items, units and add-ons."
    },
    {
      "name": "Quote Pricing and Validation",
      "description": "Calculate charges and validate a Quote before placement."
    },
    {
      "name": "Order Placement",
      "description": "Create an Order from an eligible Quote."
    }
  ],
  "paths": {
    "/api/v1/catalogue-views/{catalogueViewCode}/context": {
      "get": {
        "operationId": "resolveCatalogueViewSellingContext",
        "summary": "Get selling context",
        "tags": [
          "Published Catalogue"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "pricebookId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "pricebookCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueId",
                    "catalogueCode",
                    "catalogueName",
                    "catalogueViewId",
                    "catalogueViewCode",
                    "catalogueViewName",
                    "channel",
                    "segment",
                    "market",
                    "defaultLocale",
                    "supportedLocales",
                    "accountId",
                    "pricebookId",
                    "pricebookCode",
                    "pricebookName",
                    "pricebookSource",
                    "agreementId",
                    "agreementCode",
                    "agreementName",
                    "discretionaryDiscountsAllowed",
                    "currency",
                    "visibilityMode",
                    "allowedProductCount"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueName": {
                      "type": "string"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "catalogueViewName": {
                      "type": "string"
                    },
                    "channel": {
                      "type": "string"
                    },
                    "segment": {
                      "type": "string"
                    },
                    "market": {
                      "type": "string"
                    },
                    "defaultLocale": {
                      "type": "string"
                    },
                    "supportedLocales": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "accountId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "pricebookId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "pricebookCode": {
                      "type": "string"
                    },
                    "pricebookName": {
                      "type": "string"
                    },
                    "pricebookSource": {
                      "type": "string",
                      "enum": [
                        "PRICEBOOK_OVERRIDE",
                        "AGREEMENT",
                        "ACCOUNT",
                        "CATALOGUE_VIEW_DEFAULT"
                      ]
                    },
                    "agreementId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "discretionaryDiscountsAllowed": {
                      "type": "boolean"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "visibilityMode": {
                      "type": "string",
                      "enum": [
                        "STANDARD_CATALOGUE",
                        "ADD_TO_CATALOGUE",
                        "ONLY_AGREEMENT_PRODUCTS"
                      ]
                    },
                    "allowedProductCount": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Resolve the published selling context for an Account"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/categories": {
      "get": {
        "operationId": "getCatalogueViewCategories",
        "summary": "List categories",
        "tags": [
          "Published Catalogue"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "items",
                    "tree"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "catalogueViewId",
                          "parentCategoryId",
                          "code",
                          "name",
                          "description",
                          "displayOrder",
                          "payload"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "catalogueViewId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "parentCategoryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "displayOrder": {
                            "type": "integer"
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "tree": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get published categories for a catalogue view"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/categories/{categoryCode}/filters": {
      "get": {
        "operationId": "getCatalogueViewCategoryFilters",
        "summary": "List category filters",
        "tags": [
          "Published Catalogue"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "categoryId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "categoryCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 8000
            },
            "in": "query",
            "name": "filters",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "categoryCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "category",
                    "items"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "category": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "catalogueViewId",
                        "parentCategoryId",
                        "code",
                        "name",
                        "description",
                        "displayOrder",
                        "payload"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "catalogueViewId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "parentCategoryId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "code": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "displayOrder": {
                          "type": "integer"
                        },
                        "payload": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "attributeId",
                          "attributeCode",
                          "label",
                          "filterType",
                          "displayControl",
                          "displayOrder",
                          "required",
                          "dependsOnFilterId",
                          "dependsOnAttributeCode",
                          "visibleCondition",
                          "optionSource",
                          "options",
                          "defaultValue",
                          "selection",
                          "visible",
                          "range",
                          "payload"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "attributeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "attributeCode": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "filterType": {
                            "type": "string",
                            "enum": [
                              "PICKLIST",
                              "MULTI_SELECT",
                              "BOOLEAN",
                              "RANGE",
                              "TEXT",
                              "LOCATION",
                              "DATE_RANGE"
                            ]
                          },
                          "displayControl": {
                            "type": "string"
                          },
                          "displayOrder": {
                            "type": "integer"
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "dependsOnFilterId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "dependsOnAttributeCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "visibleCondition": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "optionSource": {
                            "type": "string",
                            "enum": [
                              "LISTING_VALUES",
                              "STATIC_VALUES"
                            ]
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "value",
                                "label",
                                "count",
                                "selected",
                                "displayOrder"
                              ],
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "count": {
                                  "type": "integer"
                                },
                                "selected": {
                                  "type": "boolean"
                                },
                                "displayOrder": {
                                  "type": "integer"
                                }
                              }
                            }
                          },
                          "defaultValue": {
                            "anyOf": [
                              {},
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "selection": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "visible": {
                            "type": "boolean"
                          },
                          "range": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "min",
                                  "max"
                                ],
                                "properties": {
                                  "min": {
                                    "type": "number"
                                  },
                                  "max": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get the browse filters published for a category."
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/categories/{categoryCode}/products": {
      "get": {
        "operationId": "browseCatalogueViewCategoryProducts",
        "summary": "Browse products",
        "tags": [
          "Published Catalogue"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "categoryId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "categoryCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "pricebookId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "pricebookCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "in": "query",
            "name": "q",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 8000
            },
            "in": "query",
            "name": "filters",
            "required": false
          },
          {
            "schema": {
              "default": 24,
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1000
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "categoryCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "category",
                    "items",
                    "nextCursor",
                    "facets",
                    "totalMatched"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "category": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "catalogueViewId",
                        "parentCategoryId",
                        "code",
                        "name",
                        "description",
                        "displayOrder",
                        "payload"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "catalogueViewId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "parentCategoryId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "code": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "displayOrder": {
                          "type": "integer"
                        },
                        "payload": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "categoryId",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "title",
                          "shortDescription",
                          "imageUrl",
                          "badges",
                          "displayOrder",
                          "featured",
                          "visibility",
                          "pricebookId",
                          "priceSummary",
                          "payload"
                        ],
                        "properties": {
                          "categoryId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "shortDescription": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "imageUrl": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "badges": {
                            "type": "array",
                            "items": {}
                          },
                          "displayOrder": {
                            "type": "integer"
                          },
                          "featured": {
                            "type": "boolean"
                          },
                          "visibility": {
                            "type": "string"
                          },
                          "pricebookId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "priceSummary": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": true,
                                "required": [
                                  "pricebookId",
                                  "currency",
                                  "recurringAmount",
                                  "recurringPeriod",
                                  "oneTimeAmount",
                                  "isFromPrice",
                                  "priceBasis",
                                  "sortAmount",
                                  "summary"
                                ],
                                "properties": {
                                  "pricebookId": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "currency": {
                                    "type": "string"
                                  },
                                  "recurringAmount": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "recurringPeriod": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "oneTimeAmount": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "isFromPrice": {
                                    "type": "boolean"
                                  },
                                  "priceBasis": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "sortAmount": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "summary": {
                                    "type": "object",
                                    "additionalProperties": true
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "facets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "attributeId",
                          "attributeCode",
                          "label",
                          "filterType",
                          "displayControl",
                          "displayOrder",
                          "required",
                          "dependsOnFilterId",
                          "dependsOnAttributeCode",
                          "visibleCondition",
                          "optionSource",
                          "options",
                          "defaultValue",
                          "selection",
                          "visible",
                          "range",
                          "payload"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "attributeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "attributeCode": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "filterType": {
                            "type": "string",
                            "enum": [
                              "PICKLIST",
                              "MULTI_SELECT",
                              "BOOLEAN",
                              "RANGE",
                              "TEXT",
                              "LOCATION",
                              "DATE_RANGE"
                            ]
                          },
                          "displayControl": {
                            "type": "string"
                          },
                          "displayOrder": {
                            "type": "integer"
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "dependsOnFilterId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "dependsOnAttributeCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "visibleCondition": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "optionSource": {
                            "type": "string",
                            "enum": [
                              "LISTING_VALUES",
                              "STATIC_VALUES"
                            ]
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "value",
                                "label",
                                "count",
                                "selected",
                                "displayOrder"
                              ],
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "count": {
                                  "type": "integer"
                                },
                                "selected": {
                                  "type": "boolean"
                                },
                                "displayOrder": {
                                  "type": "integer"
                                }
                              }
                            }
                          },
                          "defaultValue": {
                            "anyOf": [
                              {},
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "selection": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "visible": {
                            "type": "boolean"
                          },
                          "range": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "min",
                                  "max"
                                ],
                                "properties": {
                                  "min": {
                                    "type": "number"
                                  },
                                  "max": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "totalMatched": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Browse the published offerings in a category."
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/search/suggestions": {
      "get": {
        "operationId": "suggestCatalogueViewProducts",
        "summary": "Suggest products",
        "tags": [
          "Published Catalogue"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "categoryId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "categoryCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "in": "query",
            "name": "q",
            "required": true
          },
          {
            "schema": {
              "default": 8,
              "type": "integer",
              "minimum": 1,
              "maximum": 20
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "items"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "categoryId",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "title"
                        ],
                        "properties": {
                          "categoryId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Suggest published products from a search term"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/products/{productCode}": {
      "get": {
        "operationId": "getCatalogueViewProduct",
        "summary": "Get a product",
        "tags": [
          "Published Catalogue"
        ],
        "description": "Returns a product sold on its own in the view. 404 published_listing_not_found carries details.reason UNKNOWN_CODE, NOT_IN_VIEW, NOT_VISIBLE_FOR_ACCOUNT or SOLD_WITHIN_ONLY (with details.soldWithin) and details.next.",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "categoryId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "categoryCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "pricebookId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "pricebookCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "productCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "product"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "product": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "categoryId",
                        "productType",
                        "productId",
                        "productCode",
                        "title",
                        "shortDescription",
                        "imageUrl",
                        "badges",
                        "displayOrder",
                        "featured",
                        "visibility",
                        "pricebookId",
                        "priceSummary",
                        "payload"
                      ],
                      "properties": {
                        "categoryId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "productType": {
                          "type": "string",
                          "enum": [
                            "PRODUCT",
                            "PACKAGE",
                            "SOLUTION"
                          ]
                        },
                        "productId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "productCode": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "shortDescription": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "imageUrl": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "badges": {
                          "type": "array",
                          "items": {}
                        },
                        "displayOrder": {
                          "type": "integer"
                        },
                        "featured": {
                          "type": "boolean"
                        },
                        "visibility": {
                          "type": "string"
                        },
                        "pricebookId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "priceSummary": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": true,
                              "required": [
                                "pricebookId",
                                "currency",
                                "recurringAmount",
                                "recurringPeriod",
                                "oneTimeAmount",
                                "isFromPrice",
                                "priceBasis",
                                "sortAmount",
                                "summary"
                              ],
                              "properties": {
                                "pricebookId": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "recurringAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "recurringPeriod": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "oneTimeAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "isFromPrice": {
                                  "type": "boolean"
                                },
                                "priceBasis": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sortAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "summary": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "payload": {
                          "type": "object",
                          "additionalProperties": true,
                          "properties": {
                            "selectedVariant": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "code",
                                "name",
                                "skuCode",
                                "facts"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "skuCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "facts": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/products/{productCode}/sold-within": {
      "get": {
        "operationId": "getCatalogueViewProductSoldWithin",
        "summary": "Get where a product is sold",
        "tags": [
          "Published Catalogue"
        ],
        "description": "Resolves a product offering, variant, package or solution code and returns whether it has its own listing and which Packages and Solutions offer it in a step. Account visibility applies. 404 published_listing_not_found carries details.reason UNKNOWN_CODE, NOT_IN_VIEW or NOT_VISIBLE_FOR_ACCOUNT.",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "productCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "standaloneSellable",
                    "offering",
                    "variant",
                    "soldWithin",
                    "next"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "standaloneSellable": {
                      "type": "boolean",
                      "description": "True when the product has its own visible listing in this view; false when it is sold only inside the listed Packages or Solutions."
                    },
                    "offering": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "itemType",
                        "id",
                        "code",
                        "name"
                      ],
                      "properties": {
                        "itemType": {
                          "type": "string",
                          "enum": [
                            "PRODUCT_OFFERING",
                            "PACKAGE",
                            "SOLUTION"
                          ]
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "code": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      }
                    },
                    "variant": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "code",
                            "name",
                            "skuCode"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "code": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "skuCode": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "soldWithin": {
                      "type": "array",
                      "maxItems": 20,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "itemType",
                          "code",
                          "name",
                          "componentCode",
                          "componentName"
                        ],
                        "properties": {
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "componentCode": {
                            "type": "string",
                            "description": "Package component or Solution step that offers the product."
                          },
                          "componentName": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "next": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/products/{productCode}/configuration": {
      "get": {
        "operationId": "getCatalogueViewProductConfiguration",
        "summary": "Get product configuration",
        "tags": [
          "Product Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "productType",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "publishRunId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          },
          {
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "string",
                  "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                }
              ]
            },
            "in": "path",
            "name": "productCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "itemType",
                    "itemId",
                    "payload"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "payload": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "catalogueView",
                        "channelGroups",
                        "item",
                        "groups",
                        "variants",
                        "variantSelection",
                        "components",
                        "relationships"
                      ],
                      "properties": {
                        "catalogueView": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "code",
                            "channel",
                            "segment",
                            "market",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "code": {
                              "type": "string"
                            },
                            "channel": {
                              "type": "string"
                            },
                            "segment": {
                              "type": "string"
                            },
                            "market": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          }
                        },
                        "channelGroups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "code",
                              "name",
                              "description",
                              "displayOrder",
                              "repeatable",
                              "minInstances",
                              "maxInstances",
                              "attributes"
                            ],
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "description": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "displayOrder": {
                                "type": "integer"
                              },
                              "repeatable": {
                                "type": "boolean"
                              },
                              "minInstances": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxInstances": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "attributes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "id",
                                    "code",
                                    "name",
                                    "description",
                                    "dataType",
                                    "unit",
                                    "allowedValues",
                                    "validation",
                                    "attributeCategory",
                                    "piiClassification",
                                    "copyable",
                                    "ownerType",
                                    "valueLevel",
                                    "commercial",
                                    "placement",
                                    "required",
                                    "editable",
                                    "visible",
                                    "defaultValue",
                                    "displayOrder",
                                    "impactFlags",
                                    "groupingBehavior",
                                    "usageFlags",
                                    "metadata",
                                    "source"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    "code": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "description": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "dataType": {
                                      "type": "string",
                                      "enum": [
                                        "TEXT",
                                        "NUMBER",
                                        "BOOLEAN",
                                        "DATE",
                                        "DATE_TIME",
                                        "MONEY",
                                        "ADDRESS",
                                        "ENUM",
                                        "MULTI_SELECT",
                                        "JSON"
                                      ]
                                    },
                                    "unit": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "allowedValues": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "validation": {
                                      "type": "object",
                                      "additionalProperties": true
                                    },
                                    "attributeCategory": {
                                      "type": "string",
                                      "enum": [
                                        "COMMERCIAL",
                                        "NON_COMMERCIAL"
                                      ]
                                    },
                                    "piiClassification": {
                                      "type": "string",
                                      "enum": [
                                        "NONE",
                                        "PERSONAL",
                                        "SENSITIVE"
                                      ]
                                    },
                                    "copyable": {
                                      "type": "boolean",
                                      "description": "Whether copy configuration copies this value into a new quote."
                                    },
                                    "searchable": {
                                      "type": "boolean",
                                      "description": "Whether values of this attribute are copied into subscription and service search. Absent in older runs (treat as false)."
                                    },
                                    "aliases": {
                                      "type": "array",
                                      "maxItems": 10,
                                      "items": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 60
                                      },
                                      "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                                    },
                                    "ownerType": {
                                      "type": "string",
                                      "enum": [
                                        "PRODUCT_DEFINITION",
                                        "PRODUCT_OFFERING",
                                        "PRODUCT_VARIANT",
                                        "CATALOGUE_VIEW",
                                        "BUNDLE",
                                        "BUNDLE_COMPONENT"
                                      ]
                                    },
                                    "valueLevel": {
                                      "type": "string",
                                      "enum": [
                                        "CART",
                                        "CART_ITEM",
                                        "UNIT"
                                      ]
                                    },
                                    "required": {
                                      "type": "boolean"
                                    },
                                    "commercial": {
                                      "type": "boolean"
                                    },
                                    "placement": {
                                      "anyOf": [
                                        {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "componentCode"
                                          ],
                                          "properties": {
                                            "componentCode": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "editable": {
                                      "type": "boolean"
                                    },
                                    "visible": {
                                      "type": "boolean"
                                    },
                                    "defaultValue": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "displayOrder": {
                                      "type": "integer"
                                    },
                                    "impactFlags": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "groupingBehavior": {
                                      "type": "string",
                                      "enum": [
                                        "NONE",
                                        "GROUPING_KEY",
                                        "UNIT_DETAIL"
                                      ]
                                    },
                                    "usageFlags": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "metadata": {
                                      "type": "object",
                                      "additionalProperties": true
                                    },
                                    "source": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "ownerType",
                                        "ownerId",
                                        "assignmentId"
                                      ],
                                      "properties": {
                                        "ownerType": {
                                          "type": "string"
                                        },
                                        "ownerId": {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        "assignmentId": {
                                          "type": "string",
                                          "format": "uuid"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "item": {
                          "type": "object",
                          "additionalProperties": true,
                          "required": [
                            "type",
                            "id",
                            "code",
                            "name",
                            "facts"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "PRODUCT_OFFERING",
                                "PACKAGE",
                                "SOLUTION"
                              ]
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "code": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            },
                            "effectiveFrom": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "effectiveTo": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "standaloneSellable": {
                              "type": "boolean"
                            },
                            "visibility": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "PACKAGE",
                                "SOLUTION"
                              ]
                            },
                            "commercialLock": {
                              "type": "boolean"
                            },
                            "productFamily": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "facts": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "instanceNoun": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "singular",
                                    "plural"
                                  ],
                                  "properties": {
                                    "singular": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 40
                                    },
                                    "plural": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 40
                                    }
                                  },
                                  "description": "What one instance is called, singular and plural. Absent in older runs (treat as null)."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "instanceLabelAttributes": {
                              "type": "array",
                              "maxItems": 3,
                              "items": {
                                "type": "string"
                              },
                              "description": "Ordered attribute codes whose values name one instance. Absent in older runs (treat as empty)."
                            },
                            "aliases": {
                              "type": "array",
                              "maxItems": 10,
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 60
                              },
                              "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                            },
                            "productDefinition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "code",
                                "name",
                                "quantityStrategy",
                                "orderProductType",
                                "facts"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "quantityStrategy": {
                                  "type": "string",
                                  "enum": [
                                    "MULTIPLIER",
                                    "UNIT"
                                  ]
                                },
                                "orderProductType": {
                                  "type": "string",
                                  "enum": [
                                    "SUBSCRIPTION",
                                    "DELIVERABLE"
                                  ]
                                },
                                "facts": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "instanceNoun": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "singular",
                                        "plural"
                                      ],
                                      "properties": {
                                        "singular": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 40
                                        },
                                        "plural": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 40
                                        }
                                      },
                                      "description": "What one instance is called, singular and plural. Absent in older runs (treat as null)."
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "instanceLabelAttributes": {
                                  "type": "array",
                                  "maxItems": 3,
                                  "items": {
                                    "type": "string"
                                  },
                                  "description": "Ordered attribute codes whose values name one instance. Absent in older runs (treat as empty)."
                                },
                                "aliases": {
                                  "type": "array",
                                  "maxItems": 10,
                                  "items": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 60
                                  },
                                  "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                                },
                                "unitNoun": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "singular",
                                        "plural"
                                      ],
                                      "properties": {
                                        "singular": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 40
                                        },
                                        "plural": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 40
                                        }
                                      },
                                      "description": "What one unit is called, singular and plural. Only with quantity strategy UNIT. Absent in older runs (treat as null)."
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "unitLabelAttributes": {
                                  "type": "array",
                                  "maxItems": 2,
                                  "items": {
                                    "type": "string"
                                  },
                                  "description": "Ordered UNIT-level attribute codes whose values name one unit. Absent in older runs (treat as empty)."
                                }
                              }
                            }
                          }
                        },
                        "groups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "code",
                              "name",
                              "description",
                              "displayOrder",
                              "repeatable",
                              "minInstances",
                              "maxInstances",
                              "attributes"
                            ],
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "description": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "displayOrder": {
                                "type": "integer"
                              },
                              "repeatable": {
                                "type": "boolean"
                              },
                              "minInstances": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxInstances": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "attributes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "id",
                                    "code",
                                    "name",
                                    "description",
                                    "dataType",
                                    "unit",
                                    "allowedValues",
                                    "validation",
                                    "attributeCategory",
                                    "piiClassification",
                                    "copyable",
                                    "ownerType",
                                    "valueLevel",
                                    "commercial",
                                    "placement",
                                    "required",
                                    "editable",
                                    "visible",
                                    "defaultValue",
                                    "displayOrder",
                                    "impactFlags",
                                    "groupingBehavior",
                                    "usageFlags",
                                    "metadata",
                                    "source"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    "code": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "description": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "dataType": {
                                      "type": "string",
                                      "enum": [
                                        "TEXT",
                                        "NUMBER",
                                        "BOOLEAN",
                                        "DATE",
                                        "DATE_TIME",
                                        "MONEY",
                                        "ADDRESS",
                                        "ENUM",
                                        "MULTI_SELECT",
                                        "JSON"
                                      ]
                                    },
                                    "unit": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "allowedValues": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "validation": {
                                      "type": "object",
                                      "additionalProperties": true
                                    },
                                    "attributeCategory": {
                                      "type": "string",
                                      "enum": [
                                        "COMMERCIAL",
                                        "NON_COMMERCIAL"
                                      ]
                                    },
                                    "piiClassification": {
                                      "type": "string",
                                      "enum": [
                                        "NONE",
                                        "PERSONAL",
                                        "SENSITIVE"
                                      ]
                                    },
                                    "copyable": {
                                      "type": "boolean",
                                      "description": "Whether copy configuration copies this value into a new quote."
                                    },
                                    "searchable": {
                                      "type": "boolean",
                                      "description": "Whether values of this attribute are copied into subscription and service search. Absent in older runs (treat as false)."
                                    },
                                    "aliases": {
                                      "type": "array",
                                      "maxItems": 10,
                                      "items": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 60
                                      },
                                      "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                                    },
                                    "ownerType": {
                                      "type": "string",
                                      "enum": [
                                        "PRODUCT_DEFINITION",
                                        "PRODUCT_OFFERING",
                                        "PRODUCT_VARIANT",
                                        "CATALOGUE_VIEW",
                                        "BUNDLE",
                                        "BUNDLE_COMPONENT"
                                      ]
                                    },
                                    "valueLevel": {
                                      "type": "string",
                                      "enum": [
                                        "CART",
                                        "CART_ITEM",
                                        "UNIT"
                                      ]
                                    },
                                    "required": {
                                      "type": "boolean"
                                    },
                                    "commercial": {
                                      "type": "boolean"
                                    },
                                    "placement": {
                                      "anyOf": [
                                        {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "componentCode"
                                          ],
                                          "properties": {
                                            "componentCode": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "editable": {
                                      "type": "boolean"
                                    },
                                    "visible": {
                                      "type": "boolean"
                                    },
                                    "defaultValue": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "displayOrder": {
                                      "type": "integer"
                                    },
                                    "impactFlags": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "groupingBehavior": {
                                      "type": "string",
                                      "enum": [
                                        "NONE",
                                        "GROUPING_KEY",
                                        "UNIT_DETAIL"
                                      ]
                                    },
                                    "usageFlags": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "metadata": {
                                      "type": "object",
                                      "additionalProperties": true
                                    },
                                    "source": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "ownerType",
                                        "ownerId",
                                        "assignmentId"
                                      ],
                                      "properties": {
                                        "ownerType": {
                                          "type": "string"
                                        },
                                        "ownerId": {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        "assignmentId": {
                                          "type": "string",
                                          "format": "uuid"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "variants": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "code",
                              "name",
                              "skuCode",
                              "facts",
                              "adds",
                              "overrides"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "skuCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "facts": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "adds": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "group",
                                    "attribute"
                                  ],
                                  "properties": {
                                    "group": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "id",
                                        "code",
                                        "name",
                                        "repeatable",
                                        "minInstances",
                                        "maxInstances"
                                      ],
                                      "properties": {
                                        "id": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "format": "uuid"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "code": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "repeatable": {
                                          "type": "boolean"
                                        },
                                        "minInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "maxInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    "attribute": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "id",
                                        "code",
                                        "name",
                                        "description",
                                        "dataType",
                                        "unit",
                                        "allowedValues",
                                        "validation",
                                        "attributeCategory",
                                        "piiClassification",
                                        "copyable",
                                        "ownerType",
                                        "valueLevel",
                                        "commercial",
                                        "placement",
                                        "required",
                                        "editable",
                                        "visible",
                                        "defaultValue",
                                        "displayOrder",
                                        "impactFlags",
                                        "groupingBehavior",
                                        "usageFlags",
                                        "metadata",
                                        "source"
                                      ],
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        "code": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "description": {
                                          "anyOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "dataType": {
                                          "type": "string",
                                          "enum": [
                                            "TEXT",
                                            "NUMBER",
                                            "BOOLEAN",
                                            "DATE",
                                            "DATE_TIME",
                                            "MONEY",
                                            "ADDRESS",
                                            "ENUM",
                                            "MULTI_SELECT",
                                            "JSON"
                                          ]
                                        },
                                        "unit": {
                                          "anyOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "allowedValues": {
                                          "anyOf": [
                                            {},
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "validation": {
                                          "type": "object",
                                          "additionalProperties": true
                                        },
                                        "attributeCategory": {
                                          "type": "string",
                                          "enum": [
                                            "COMMERCIAL",
                                            "NON_COMMERCIAL"
                                          ]
                                        },
                                        "piiClassification": {
                                          "type": "string",
                                          "enum": [
                                            "NONE",
                                            "PERSONAL",
                                            "SENSITIVE"
                                          ]
                                        },
                                        "copyable": {
                                          "type": "boolean",
                                          "description": "Whether copy configuration copies this value into a new quote."
                                        },
                                        "searchable": {
                                          "type": "boolean",
                                          "description": "Whether values of this attribute are copied into subscription and service search. Absent in older runs (treat as false)."
                                        },
                                        "aliases": {
                                          "type": "array",
                                          "maxItems": 10,
                                          "items": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 60
                                          },
                                          "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                                        },
                                        "ownerType": {
                                          "type": "string",
                                          "enum": [
                                            "PRODUCT_DEFINITION",
                                            "PRODUCT_OFFERING",
                                            "PRODUCT_VARIANT",
                                            "CATALOGUE_VIEW",
                                            "BUNDLE",
                                            "BUNDLE_COMPONENT"
                                          ]
                                        },
                                        "valueLevel": {
                                          "type": "string",
                                          "enum": [
                                            "CART",
                                            "CART_ITEM",
                                            "UNIT"
                                          ]
                                        },
                                        "required": {
                                          "type": "boolean"
                                        },
                                        "commercial": {
                                          "type": "boolean"
                                        },
                                        "placement": {
                                          "anyOf": [
                                            {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "componentCode"
                                              ],
                                              "properties": {
                                                "componentCode": {
                                                  "type": "string"
                                                }
                                              }
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "editable": {
                                          "type": "boolean"
                                        },
                                        "visible": {
                                          "type": "boolean"
                                        },
                                        "defaultValue": {
                                          "anyOf": [
                                            {},
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "displayOrder": {
                                          "type": "integer"
                                        },
                                        "impactFlags": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "groupingBehavior": {
                                          "type": "string",
                                          "enum": [
                                            "NONE",
                                            "GROUPING_KEY",
                                            "UNIT_DETAIL"
                                          ]
                                        },
                                        "usageFlags": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "metadata": {
                                          "type": "object",
                                          "additionalProperties": true
                                        },
                                        "source": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "ownerType",
                                            "ownerId",
                                            "assignmentId"
                                          ],
                                          "properties": {
                                            "ownerType": {
                                              "type": "string"
                                            },
                                            "ownerId": {
                                              "type": "string",
                                              "format": "uuid"
                                            },
                                            "assignmentId": {
                                              "type": "string",
                                              "format": "uuid"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "overrides": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "group",
                                    "attribute"
                                  ],
                                  "properties": {
                                    "group": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "id",
                                        "code",
                                        "name",
                                        "repeatable",
                                        "minInstances",
                                        "maxInstances"
                                      ],
                                      "properties": {
                                        "id": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "format": "uuid"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "code": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "repeatable": {
                                          "type": "boolean"
                                        },
                                        "minInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "maxInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    "attribute": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "id",
                                        "code",
                                        "name",
                                        "description",
                                        "dataType",
                                        "unit",
                                        "allowedValues",
                                        "validation",
                                        "attributeCategory",
                                        "piiClassification",
                                        "copyable",
                                        "ownerType",
                                        "valueLevel",
                                        "commercial",
                                        "placement",
                                        "required",
                                        "editable",
                                        "visible",
                                        "defaultValue",
                                        "displayOrder",
                                        "impactFlags",
                                        "groupingBehavior",
                                        "usageFlags",
                                        "metadata",
                                        "source"
                                      ],
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        "code": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "description": {
                                          "anyOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "dataType": {
                                          "type": "string",
                                          "enum": [
                                            "TEXT",
                                            "NUMBER",
                                            "BOOLEAN",
                                            "DATE",
                                            "DATE_TIME",
                                            "MONEY",
                                            "ADDRESS",
                                            "ENUM",
                                            "MULTI_SELECT",
                                            "JSON"
                                          ]
                                        },
                                        "unit": {
                                          "anyOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "allowedValues": {
                                          "anyOf": [
                                            {},
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "validation": {
                                          "type": "object",
                                          "additionalProperties": true
                                        },
                                        "attributeCategory": {
                                          "type": "string",
                                          "enum": [
                                            "COMMERCIAL",
                                            "NON_COMMERCIAL"
                                          ]
                                        },
                                        "piiClassification": {
                                          "type": "string",
                                          "enum": [
                                            "NONE",
                                            "PERSONAL",
                                            "SENSITIVE"
                                          ]
                                        },
                                        "copyable": {
                                          "type": "boolean",
                                          "description": "Whether copy configuration copies this value into a new quote."
                                        },
                                        "searchable": {
                                          "type": "boolean",
                                          "description": "Whether values of this attribute are copied into subscription and service search. Absent in older runs (treat as false)."
                                        },
                                        "aliases": {
                                          "type": "array",
                                          "maxItems": 10,
                                          "items": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 60
                                          },
                                          "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                                        },
                                        "ownerType": {
                                          "type": "string",
                                          "enum": [
                                            "PRODUCT_DEFINITION",
                                            "PRODUCT_OFFERING",
                                            "PRODUCT_VARIANT",
                                            "CATALOGUE_VIEW",
                                            "BUNDLE",
                                            "BUNDLE_COMPONENT"
                                          ]
                                        },
                                        "valueLevel": {
                                          "type": "string",
                                          "enum": [
                                            "CART",
                                            "CART_ITEM",
                                            "UNIT"
                                          ]
                                        },
                                        "required": {
                                          "type": "boolean"
                                        },
                                        "commercial": {
                                          "type": "boolean"
                                        },
                                        "placement": {
                                          "anyOf": [
                                            {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "componentCode"
                                              ],
                                              "properties": {
                                                "componentCode": {
                                                  "type": "string"
                                                }
                                              }
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "editable": {
                                          "type": "boolean"
                                        },
                                        "visible": {
                                          "type": "boolean"
                                        },
                                        "defaultValue": {
                                          "anyOf": [
                                            {},
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "displayOrder": {
                                          "type": "integer"
                                        },
                                        "impactFlags": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "groupingBehavior": {
                                          "type": "string",
                                          "enum": [
                                            "NONE",
                                            "GROUPING_KEY",
                                            "UNIT_DETAIL"
                                          ]
                                        },
                                        "usageFlags": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "metadata": {
                                          "type": "object",
                                          "additionalProperties": true
                                        },
                                        "source": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "ownerType",
                                            "ownerId",
                                            "assignmentId"
                                          ],
                                          "properties": {
                                            "ownerType": {
                                              "type": "string"
                                            },
                                            "ownerId": {
                                              "type": "string",
                                              "format": "uuid"
                                            },
                                            "assignmentId": {
                                              "type": "string",
                                              "format": "uuid"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "variantSelection": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "required",
                                "defaultVariantCode",
                                "dimensions",
                                "variants"
                              ],
                              "properties": {
                                "required": {
                                  "type": "boolean"
                                },
                                "defaultVariantCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "dimensions": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "attributeId",
                                      "attributeCode",
                                      "label",
                                      "dataType",
                                      "unit",
                                      "required",
                                      "displayOrder",
                                      "values",
                                      "metadata",
                                      "source"
                                    ],
                                    "properties": {
                                      "attributeId": {
                                        "type": "string",
                                        "format": "uuid"
                                      },
                                      "attributeCode": {
                                        "type": "string"
                                      },
                                      "label": {
                                        "type": "string"
                                      },
                                      "dataType": {
                                        "type": "string"
                                      },
                                      "unit": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "required": {
                                        "type": "boolean"
                                      },
                                      "displayOrder": {
                                        "type": "integer"
                                      },
                                      "values": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "value",
                                            "label",
                                            "displayOrder",
                                            "variantCodes"
                                          ],
                                          "properties": {
                                            "value": {},
                                            "label": {
                                              "type": "string"
                                            },
                                            "displayOrder": {
                                              "type": "integer"
                                            },
                                            "variantCodes": {
                                              "type": "array",
                                              "items": {
                                                "type": "string"
                                              }
                                            }
                                          }
                                        }
                                      },
                                      "metadata": {
                                        "type": "object",
                                        "additionalProperties": true
                                      },
                                      "source": {
                                        "type": "object",
                                        "additionalProperties": true
                                      }
                                    }
                                  }
                                },
                                "variants": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "variantId",
                                      "variantCode",
                                      "productCode",
                                      "name",
                                      "skuCode",
                                      "values",
                                      "facts"
                                    ],
                                    "properties": {
                                      "variantId": {
                                        "type": "string",
                                        "format": "uuid"
                                      },
                                      "variantCode": {
                                        "type": "string"
                                      },
                                      "productCode": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "skuCode": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "values": {
                                        "type": "object",
                                        "additionalProperties": true
                                      },
                                      "facts": {
                                        "type": "object",
                                        "additionalProperties": true
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "components": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "code",
                              "name",
                              "description",
                              "minSelect",
                              "maxSelect",
                              "displayOrder",
                              "visibilityCondition",
                              "questionAttributeCodes",
                              "groups",
                              "options"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "description": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "minSelect": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxSelect": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "displayOrder": {
                                "type": "integer"
                              },
                              "visibilityCondition": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": true
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "addMode": {
                                "type": "string",
                                "enum": [
                                  "LIST",
                                  "NEW_ROW"
                                ],
                                "description": "How a seller adds this step's products: LIST shows each product with Add; NEW_ROW ends the step with an empty row to search and choose in. Always LIST for package contents; absent only in runs published before the setting existed (treat as LIST)."
                              },
                              "aliases": {
                                "type": "array",
                                "maxItems": 10,
                                "items": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 60
                                },
                                "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                              },
                              "questionAttributeCodes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "groups": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "id",
                                    "code",
                                    "name",
                                    "description",
                                    "displayOrder",
                                    "repeatable",
                                    "minInstances",
                                    "maxInstances",
                                    "attributes"
                                  ],
                                  "properties": {
                                    "id": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "code": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "description": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "displayOrder": {
                                      "type": "integer"
                                    },
                                    "repeatable": {
                                      "type": "boolean"
                                    },
                                    "minInstances": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "maxInstances": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "attributes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "id",
                                          "code",
                                          "name",
                                          "description",
                                          "dataType",
                                          "unit",
                                          "allowedValues",
                                          "validation",
                                          "attributeCategory",
                                          "piiClassification",
                                          "copyable",
                                          "ownerType",
                                          "valueLevel",
                                          "commercial",
                                          "placement",
                                          "required",
                                          "editable",
                                          "visible",
                                          "defaultValue",
                                          "displayOrder",
                                          "impactFlags",
                                          "groupingBehavior",
                                          "usageFlags",
                                          "metadata",
                                          "source"
                                        ],
                                        "properties": {
                                          "id": {
                                            "type": "string",
                                            "format": "uuid"
                                          },
                                          "code": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "description": {
                                            "anyOf": [
                                              {
                                                "type": "string"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "dataType": {
                                            "type": "string",
                                            "enum": [
                                              "TEXT",
                                              "NUMBER",
                                              "BOOLEAN",
                                              "DATE",
                                              "DATE_TIME",
                                              "MONEY",
                                              "ADDRESS",
                                              "ENUM",
                                              "MULTI_SELECT",
                                              "JSON"
                                            ]
                                          },
                                          "unit": {
                                            "anyOf": [
                                              {
                                                "type": "string"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "allowedValues": {
                                            "anyOf": [
                                              {},
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "validation": {
                                            "type": "object",
                                            "additionalProperties": true
                                          },
                                          "attributeCategory": {
                                            "type": "string",
                                            "enum": [
                                              "COMMERCIAL",
                                              "NON_COMMERCIAL"
                                            ]
                                          },
                                          "piiClassification": {
                                            "type": "string",
                                            "enum": [
                                              "NONE",
                                              "PERSONAL",
                                              "SENSITIVE"
                                            ]
                                          },
                                          "copyable": {
                                            "type": "boolean",
                                            "description": "Whether copy configuration copies this value into a new quote."
                                          },
                                          "searchable": {
                                            "type": "boolean",
                                            "description": "Whether values of this attribute are copied into subscription and service search. Absent in older runs (treat as false)."
                                          },
                                          "aliases": {
                                            "type": "array",
                                            "maxItems": 10,
                                            "items": {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 60
                                            },
                                            "description": "Other names for this record used in search. Absent in older runs (treat as empty)."
                                          },
                                          "ownerType": {
                                            "type": "string",
                                            "enum": [
                                              "PRODUCT_DEFINITION",
                                              "PRODUCT_OFFERING",
                                              "PRODUCT_VARIANT",
                                              "CATALOGUE_VIEW",
                                              "BUNDLE",
                                              "BUNDLE_COMPONENT"
                                            ]
                                          },
                                          "valueLevel": {
                                            "type": "string",
                                            "enum": [
                                              "CART",
                                              "CART_ITEM",
                                              "UNIT"
                                            ]
                                          },
                                          "required": {
                                            "type": "boolean"
                                          },
                                          "commercial": {
                                            "type": "boolean"
                                          },
                                          "placement": {
                                            "anyOf": [
                                              {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "componentCode"
                                                ],
                                                "properties": {
                                                  "componentCode": {
                                                    "type": "string"
                                                  }
                                                }
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "editable": {
                                            "type": "boolean"
                                          },
                                          "visible": {
                                            "type": "boolean"
                                          },
                                          "defaultValue": {
                                            "anyOf": [
                                              {},
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "displayOrder": {
                                            "type": "integer"
                                          },
                                          "impactFlags": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          },
                                          "groupingBehavior": {
                                            "type": "string",
                                            "enum": [
                                              "NONE",
                                              "GROUPING_KEY",
                                              "UNIT_DETAIL"
                                            ]
                                          },
                                          "usageFlags": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          },
                                          "metadata": {
                                            "type": "object",
                                            "additionalProperties": true
                                          },
                                          "source": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "ownerType",
                                              "ownerId",
                                              "assignmentId"
                                            ],
                                            "properties": {
                                              "ownerType": {
                                                "type": "string"
                                              },
                                              "ownerId": {
                                                "type": "string",
                                                "format": "uuid"
                                              },
                                              "assignmentId": {
                                                "type": "string",
                                                "format": "uuid"
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "options": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "id",
                                    "sourceOptionId",
                                    "sourceOptionType",
                                    "optionType",
                                    "optionId",
                                    "defaultSelected",
                                    "minQuantity",
                                    "maxQuantity",
                                    "defaultQuantity",
                                    "quantityMode",
                                    "displayOrder",
                                    "locked"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "sourceOptionId": {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    "sourceOptionType": {
                                      "type": "string",
                                      "enum": [
                                        "PRODUCT_DEFINITION",
                                        "PRODUCT_OFFERING",
                                        "PRODUCT_VARIANT",
                                        "PACKAGE",
                                        "SOLUTION"
                                      ]
                                    },
                                    "optionType": {
                                      "type": "string",
                                      "enum": [
                                        "PRODUCT_DEFINITION",
                                        "PRODUCT_OFFERING",
                                        "PRODUCT_VARIANT",
                                        "PACKAGE",
                                        "SOLUTION"
                                      ]
                                    },
                                    "optionId": {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    "defaultSelected": {
                                      "type": "boolean"
                                    },
                                    "minQuantity": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "maxQuantity": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "defaultQuantity": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "quantityMode": {
                                      "type": "string",
                                      "enum": [
                                        "FOLLOW_PARENT",
                                        "FIXED",
                                        "USER_ENTERED"
                                      ]
                                    },
                                    "displayOrder": {
                                      "type": "integer"
                                    },
                                    "locked": {
                                      "type": "boolean"
                                    },
                                    "definition": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "id",
                                        "code",
                                        "name"
                                      ],
                                      "description": "Present only on a PRODUCT_DEFINITION option.",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        "code": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "candidateCount": {
                                      "type": "integer",
                                      "description": "Active products the definition offers when published. Present only on a PRODUCT_DEFINITION option."
                                    },
                                    "candidate": {
                                      "anyOf": [
                                        {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "shortDescription",
                                            "sortName",
                                            "searchText",
                                            "facets",
                                            "facetLabels"
                                          ],
                                          "properties": {
                                            "shortDescription": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "sortName": {
                                              "type": "string"
                                            },
                                            "searchText": {
                                              "type": "string"
                                            },
                                            "facets": {
                                              "type": "object",
                                              "additionalProperties": {
                                                "type": "array",
                                                "items": {
                                                  "type": "string"
                                                }
                                              }
                                            },
                                            "facetLabels": {
                                              "type": "object",
                                              "additionalProperties": {
                                                "type": "string"
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "item": {
                                      "type": "object",
                                      "additionalProperties": true,
                                      "required": [
                                        "item"
                                      ],
                                      "properties": {
                                        "item": {
                                          "type": "object",
                                          "additionalProperties": true,
                                          "required": [
                                            "type",
                                            "id"
                                          ],
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "PRODUCT_OFFERING",
                                                "PRODUCT_VARIANT",
                                                "PACKAGE",
                                                "SOLUTION"
                                              ]
                                            },
                                            "id": {
                                              "type": "string",
                                              "format": "uuid"
                                            },
                                            "code": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "description": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "status": {
                                              "type": "string"
                                            },
                                            "cycle": {
                                              "type": "boolean"
                                            },
                                            "unavailable": {
                                              "type": "boolean"
                                            },
                                            "skuCode": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "facts": {
                                              "type": "object",
                                              "additionalProperties": true
                                            },
                                            "kind": {
                                              "type": "string",
                                              "enum": [
                                                "PACKAGE",
                                                "SOLUTION"
                                              ]
                                            },
                                            "commercialLock": {
                                              "type": "boolean"
                                            },
                                            "productOffering": {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "id",
                                                "code",
                                                "name"
                                              ],
                                              "properties": {
                                                "id": {
                                                  "type": "string",
                                                  "format": "uuid"
                                                },
                                                "code": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                }
                                              }
                                            }
                                          }
                                        },
                                        "selectedVariantId": {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        "productConfiguration": {
                                          "type": "object",
                                          "additionalProperties": true,
                                          "required": [
                                            "item"
                                          ],
                                          "properties": {
                                            "item": {
                                              "type": "object",
                                              "additionalProperties": true,
                                              "required": [
                                                "type",
                                                "id"
                                              ],
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "PRODUCT_OFFERING",
                                                    "PRODUCT_VARIANT",
                                                    "PACKAGE",
                                                    "SOLUTION"
                                                  ]
                                                },
                                                "id": {
                                                  "type": "string",
                                                  "format": "uuid"
                                                },
                                                "code": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "description": {
                                                  "anyOf": [
                                                    {
                                                      "type": "string"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "status": {
                                                  "type": "string"
                                                },
                                                "cycle": {
                                                  "type": "boolean"
                                                },
                                                "unavailable": {
                                                  "type": "boolean"
                                                },
                                                "skuCode": {
                                                  "anyOf": [
                                                    {
                                                      "type": "string"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "facts": {
                                                  "type": "object",
                                                  "additionalProperties": true
                                                },
                                                "kind": {
                                                  "type": "string",
                                                  "enum": [
                                                    "PACKAGE",
                                                    "SOLUTION"
                                                  ]
                                                },
                                                "commercialLock": {
                                                  "type": "boolean"
                                                },
                                                "productOffering": {
                                                  "type": "object",
                                                  "additionalProperties": false,
                                                  "required": [
                                                    "id",
                                                    "code",
                                                    "name"
                                                  ],
                                                  "properties": {
                                                    "id": {
                                                      "type": "string",
                                                      "format": "uuid"
                                                    },
                                                    "code": {
                                                      "type": "string"
                                                    },
                                                    "name": {
                                                      "type": "string"
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "relationships": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get current published product configuration"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/products/{productCode}/configuration/structure": {
      "get": {
        "operationId": "getCatalogueViewProductConfigurationStructure",
        "summary": "Get product structure",
        "tags": [
          "Product Configuration"
        ],
        "description": "One bounded read of the root, each step or component with its options, variants (listed up to 12, otherwise summarised by selector dimension), required fields and add-on groups. Parts dropped to stay within about 24 KB are listed in omittedPaths. 409 configuration_too_large when even the reduced structure does not fit.",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "productType",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "publishRunId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          },
          {
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "string",
                  "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                }
              ]
            },
            "in": "path",
            "name": "productCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "itemType",
                    "itemId",
                    "section",
                    "structure",
                    "omittedPaths"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "section": {
                      "enum": [
                        "STRUCTURE"
                      ]
                    },
                    "structure": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "root",
                        "components"
                      ],
                      "properties": {
                        "root": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "itemType",
                            "code",
                            "name",
                            "requiredFields",
                            "optionalFieldCount"
                          ],
                          "properties": {
                            "itemType": {
                              "type": "string",
                              "enum": [
                                "PRODUCT_OFFERING",
                                "PACKAGE",
                                "SOLUTION"
                              ]
                            },
                            "code": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "quantityStrategy": {
                              "type": "string",
                              "enum": [
                                "MULTIPLIER",
                                "UNIT"
                              ]
                            },
                            "variants": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "count"
                              ],
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "minimum": 1
                                },
                                "defaultVariantCode": {
                                  "type": "string"
                                },
                                "dimensions": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "code",
                                      "label",
                                      "values"
                                    ],
                                    "properties": {
                                      "code": {
                                        "type": "string"
                                      },
                                      "label": {
                                        "type": "string"
                                      },
                                      "values": {
                                        "type": "array",
                                        "items": {}
                                      },
                                      "valueCount": {
                                        "type": "integer"
                                      }
                                    }
                                  }
                                },
                                "items": {
                                  "type": "array",
                                  "maxItems": 12,
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "code",
                                      "name"
                                    ],
                                    "properties": {
                                      "code": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "values": {
                                        "type": "object",
                                        "additionalProperties": true
                                      }
                                    }
                                  }
                                },
                                "itemsTruncated": {
                                  "type": "boolean"
                                },
                                "resolveBy": {
                                  "type": "string"
                                }
                              }
                            },
                            "requiredFields": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "code",
                                  "name",
                                  "dataType",
                                  "valueLevel"
                                ],
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "dataType": {
                                    "type": "string"
                                  },
                                  "valueLevel": {
                                    "type": "string",
                                    "enum": [
                                      "CART",
                                      "CART_ITEM",
                                      "UNIT"
                                    ]
                                  },
                                  "defaultValue": {},
                                  "allowedValues": {
                                    "type": "array",
                                    "maxItems": 20,
                                    "items": {}
                                  },
                                  "allowedValueCount": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Total allowed values when the list is truncated or omitted."
                                  },
                                  "repeatableGroup": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "code",
                                      "minInstances",
                                      "maxInstances"
                                    ],
                                    "properties": {
                                      "code": {
                                        "type": "string"
                                      },
                                      "minInstances": {
                                        "anyOf": [
                                          {
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "maxInstances": {
                                        "anyOf": [
                                          {
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "optionalFieldCount": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "addonGroups": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "code",
                                  "name",
                                  "minSelect",
                                  "maxSelect",
                                  "addons"
                                ],
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "minSelect": {
                                    "anyOf": [
                                      {
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "maxSelect": {
                                    "anyOf": [
                                      {
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "variantCodes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "Present when the group applies only to these variants."
                                  },
                                  "addons": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "targetType",
                                        "code",
                                        "name",
                                        "required",
                                        "defaultSelected",
                                        "minQuantity",
                                        "maxQuantity",
                                        "defaultQuantity"
                                      ],
                                      "properties": {
                                        "targetType": {
                                          "type": "string",
                                          "enum": [
                                            "PRODUCT_OFFERING",
                                            "PRODUCT_VARIANT",
                                            "PACKAGE"
                                          ]
                                        },
                                        "code": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "required": {
                                          "type": "boolean"
                                        },
                                        "defaultSelected": {
                                          "type": "boolean"
                                        },
                                        "minQuantity": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "maxQuantity": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "defaultQuantity": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "quantityStrategy": {
                                          "type": "string",
                                          "enum": [
                                            "MULTIPLIER",
                                            "UNIT"
                                          ]
                                        },
                                        "requiredFields": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "code",
                                              "name",
                                              "dataType",
                                              "valueLevel"
                                            ],
                                            "properties": {
                                              "code": {
                                                "type": "string"
                                              },
                                              "name": {
                                                "type": "string"
                                              },
                                              "dataType": {
                                                "type": "string"
                                              },
                                              "valueLevel": {
                                                "type": "string",
                                                "enum": [
                                                  "CART",
                                                  "CART_ITEM",
                                                  "UNIT"
                                                ]
                                              },
                                              "defaultValue": {},
                                              "allowedValues": {
                                                "type": "array",
                                                "maxItems": 20,
                                                "items": {}
                                              },
                                              "allowedValueCount": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "description": "Total allowed values when the list is truncated or omitted."
                                              },
                                              "repeatableGroup": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "code",
                                                  "minInstances",
                                                  "maxInstances"
                                                ],
                                                "properties": {
                                                  "code": {
                                                    "type": "string"
                                                  },
                                                  "minInstances": {
                                                    "anyOf": [
                                                      {
                                                        "type": "integer"
                                                      },
                                                      {
                                                        "type": "null"
                                                      }
                                                    ]
                                                  },
                                                  "maxInstances": {
                                                    "anyOf": [
                                                      {
                                                        "type": "integer"
                                                      },
                                                      {
                                                        "type": "null"
                                                      }
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        },
                                        "requiredFieldCount": {
                                          "type": "integer",
                                          "minimum": 0
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "components": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "componentCode",
                              "name",
                              "minSelect",
                              "maxSelect",
                              "displayOrder",
                              "requiredFields",
                              "optionalFieldCount",
                              "options"
                            ],
                            "properties": {
                              "componentCode": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "minSelect": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxSelect": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "displayOrder": {
                                "type": "integer"
                              },
                              "addMode": {
                                "type": "string",
                                "enum": [
                                  "LIST",
                                  "NEW_ROW"
                                ],
                                "description": "How a seller adds this step's products: LIST or an empty NEW_ROW."
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "code",
                                    "name",
                                    "dataType",
                                    "valueLevel"
                                  ],
                                  "properties": {
                                    "code": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "dataType": {
                                      "type": "string"
                                    },
                                    "valueLevel": {
                                      "type": "string",
                                      "enum": [
                                        "CART",
                                        "CART_ITEM",
                                        "UNIT"
                                      ]
                                    },
                                    "defaultValue": {},
                                    "allowedValues": {
                                      "type": "array",
                                      "maxItems": 20,
                                      "items": {}
                                    },
                                    "allowedValueCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "description": "Total allowed values when the list is truncated or omitted."
                                    },
                                    "repeatableGroup": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "code",
                                        "minInstances",
                                        "maxInstances"
                                      ],
                                      "properties": {
                                        "code": {
                                          "type": "string"
                                        },
                                        "minInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "maxInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      }
                                    }
                                  }
                                },
                                "description": "Solution fields asked at this step; their values belong to the Solution."
                              },
                              "optionalQuestionCount": {
                                "type": "integer",
                                "minimum": 0
                              },
                              "requiredFields": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "code",
                                    "name",
                                    "dataType",
                                    "valueLevel"
                                  ],
                                  "properties": {
                                    "code": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "dataType": {
                                      "type": "string"
                                    },
                                    "valueLevel": {
                                      "type": "string",
                                      "enum": [
                                        "CART",
                                        "CART_ITEM",
                                        "UNIT"
                                      ]
                                    },
                                    "defaultValue": {},
                                    "allowedValues": {
                                      "type": "array",
                                      "maxItems": 20,
                                      "items": {}
                                    },
                                    "allowedValueCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "description": "Total allowed values when the list is truncated or omitted."
                                    },
                                    "repeatableGroup": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "code",
                                        "minInstances",
                                        "maxInstances"
                                      ],
                                      "properties": {
                                        "code": {
                                          "type": "string"
                                        },
                                        "minInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "maxInstances": {
                                          "anyOf": [
                                            {
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      }
                                    }
                                  }
                                },
                                "description": "Step fields applied to each chosen option."
                              },
                              "optionalFieldCount": {
                                "type": "integer",
                                "minimum": 0
                              },
                              "options": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "optionType",
                                    "code",
                                    "name",
                                    "defaultSelected",
                                    "minQuantity",
                                    "maxQuantity",
                                    "defaultQuantity",
                                    "quantityMode",
                                    "displayOrder"
                                  ],
                                  "properties": {
                                    "optionType": {
                                      "type": "string",
                                      "enum": [
                                        "PRODUCT_DEFINITION",
                                        "PRODUCT_OFFERING",
                                        "PRODUCT_VARIANT",
                                        "PACKAGE",
                                        "SOLUTION"
                                      ]
                                    },
                                    "code": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "name": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "offeringCode": {
                                      "type": "string",
                                      "description": "Owning offering of a variant option."
                                    },
                                    "defaultSelected": {
                                      "type": "boolean"
                                    },
                                    "minQuantity": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "maxQuantity": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "defaultQuantity": {
                                      "anyOf": [
                                        {
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "quantityMode": {
                                      "type": "string"
                                    },
                                    "displayOrder": {
                                      "type": "integer"
                                    },
                                    "locked": {
                                      "type": "boolean"
                                    },
                                    "unavailable": {
                                      "type": "boolean"
                                    },
                                    "candidateCount": {
                                      "type": "integer",
                                      "minimum": 0
                                    },
                                    "next": {
                                      "type": "string"
                                    },
                                    "quantityStrategy": {
                                      "type": "string",
                                      "enum": [
                                        "MULTIPLIER",
                                        "UNIT"
                                      ]
                                    },
                                    "variants": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "count"
                                      ],
                                      "properties": {
                                        "count": {
                                          "type": "integer",
                                          "minimum": 1
                                        },
                                        "defaultVariantCode": {
                                          "type": "string"
                                        },
                                        "dimensions": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "code",
                                              "label",
                                              "values"
                                            ],
                                            "properties": {
                                              "code": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "values": {
                                                "type": "array",
                                                "items": {}
                                              },
                                              "valueCount": {
                                                "type": "integer"
                                              }
                                            }
                                          }
                                        },
                                        "items": {
                                          "type": "array",
                                          "maxItems": 12,
                                          "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "code",
                                              "name"
                                            ],
                                            "properties": {
                                              "code": {
                                                "type": "string"
                                              },
                                              "name": {
                                                "type": "string"
                                              },
                                              "values": {
                                                "type": "object",
                                                "additionalProperties": true
                                              }
                                            }
                                          }
                                        },
                                        "itemsTruncated": {
                                          "type": "boolean"
                                        },
                                        "resolveBy": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "requiredFields": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "code",
                                          "name",
                                          "dataType",
                                          "valueLevel"
                                        ],
                                        "properties": {
                                          "code": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "dataType": {
                                            "type": "string"
                                          },
                                          "valueLevel": {
                                            "type": "string",
                                            "enum": [
                                              "CART",
                                              "CART_ITEM",
                                              "UNIT"
                                            ]
                                          },
                                          "defaultValue": {},
                                          "allowedValues": {
                                            "type": "array",
                                            "maxItems": 20,
                                            "items": {}
                                          },
                                          "allowedValueCount": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "description": "Total allowed values when the list is truncated or omitted."
                                          },
                                          "repeatableGroup": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "code",
                                              "minInstances",
                                              "maxInstances"
                                            ],
                                            "properties": {
                                              "code": {
                                                "type": "string"
                                              },
                                              "minInstances": {
                                                "anyOf": [
                                                  {
                                                    "type": "integer"
                                                  },
                                                  {
                                                    "type": "null"
                                                  }
                                                ]
                                              },
                                              "maxInstances": {
                                                "anyOf": [
                                                  {
                                                    "type": "integer"
                                                  },
                                                  {
                                                    "type": "null"
                                                  }
                                                ]
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "optionalFieldCount": {
                                      "type": "integer",
                                      "minimum": 0
                                    },
                                    "addonGroups": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "code",
                                          "name",
                                          "minSelect",
                                          "maxSelect",
                                          "addons"
                                        ],
                                        "properties": {
                                          "code": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "minSelect": {
                                            "anyOf": [
                                              {
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "maxSelect": {
                                            "anyOf": [
                                              {
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "variantCodes": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            },
                                            "description": "Present when the group applies only to these variants."
                                          },
                                          "addons": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "targetType",
                                                "code",
                                                "name",
                                                "required",
                                                "defaultSelected",
                                                "minQuantity",
                                                "maxQuantity",
                                                "defaultQuantity"
                                              ],
                                              "properties": {
                                                "targetType": {
                                                  "type": "string",
                                                  "enum": [
                                                    "PRODUCT_OFFERING",
                                                    "PRODUCT_VARIANT",
                                                    "PACKAGE"
                                                  ]
                                                },
                                                "code": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "required": {
                                                  "type": "boolean"
                                                },
                                                "defaultSelected": {
                                                  "type": "boolean"
                                                },
                                                "minQuantity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "integer"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "maxQuantity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "integer"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "defaultQuantity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "integer"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "quantityStrategy": {
                                                  "type": "string",
                                                  "enum": [
                                                    "MULTIPLIER",
                                                    "UNIT"
                                                  ]
                                                },
                                                "requiredFields": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "additionalProperties": false,
                                                    "required": [
                                                      "code",
                                                      "name",
                                                      "dataType",
                                                      "valueLevel"
                                                    ],
                                                    "properties": {
                                                      "code": {
                                                        "type": "string"
                                                      },
                                                      "name": {
                                                        "type": "string"
                                                      },
                                                      "dataType": {
                                                        "type": "string"
                                                      },
                                                      "valueLevel": {
                                                        "type": "string",
                                                        "enum": [
                                                          "CART",
                                                          "CART_ITEM",
                                                          "UNIT"
                                                        ]
                                                      },
                                                      "defaultValue": {},
                                                      "allowedValues": {
                                                        "type": "array",
                                                        "maxItems": 20,
                                                        "items": {}
                                                      },
                                                      "allowedValueCount": {
                                                        "type": "integer",
                                                        "minimum": 0,
                                                        "description": "Total allowed values when the list is truncated or omitted."
                                                      },
                                                      "repeatableGroup": {
                                                        "type": "object",
                                                        "additionalProperties": false,
                                                        "required": [
                                                          "code",
                                                          "minInstances",
                                                          "maxInstances"
                                                        ],
                                                        "properties": {
                                                          "code": {
                                                            "type": "string"
                                                          },
                                                          "minInstances": {
                                                            "anyOf": [
                                                              {
                                                                "type": "integer"
                                                              },
                                                              {
                                                                "type": "null"
                                                              }
                                                            ]
                                                          },
                                                          "maxInstances": {
                                                            "anyOf": [
                                                              {
                                                                "type": "integer"
                                                              },
                                                              {
                                                                "type": "null"
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "requiredFieldCount": {
                                                  "type": "integer",
                                                  "minimum": 0
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "components": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "componentCode",
                                          "name",
                                          "minSelect",
                                          "maxSelect",
                                          "displayOrder",
                                          "requiredFields",
                                          "optionalFieldCount",
                                          "options"
                                        ],
                                        "properties": {
                                          "componentCode": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "minSelect": {
                                            "anyOf": [
                                              {
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "maxSelect": {
                                            "anyOf": [
                                              {
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "displayOrder": {
                                            "type": "integer"
                                          },
                                          "addMode": {
                                            "type": "string",
                                            "enum": [
                                              "LIST",
                                              "NEW_ROW"
                                            ],
                                            "description": "How a seller adds this step's products: LIST or an empty NEW_ROW."
                                          },
                                          "questions": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "code",
                                                "name",
                                                "dataType",
                                                "valueLevel"
                                              ],
                                              "properties": {
                                                "code": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "dataType": {
                                                  "type": "string"
                                                },
                                                "valueLevel": {
                                                  "type": "string",
                                                  "enum": [
                                                    "CART",
                                                    "CART_ITEM",
                                                    "UNIT"
                                                  ]
                                                },
                                                "defaultValue": {},
                                                "allowedValues": {
                                                  "type": "array",
                                                  "maxItems": 20,
                                                  "items": {}
                                                },
                                                "allowedValueCount": {
                                                  "type": "integer",
                                                  "minimum": 0,
                                                  "description": "Total allowed values when the list is truncated or omitted."
                                                },
                                                "repeatableGroup": {
                                                  "type": "object",
                                                  "additionalProperties": false,
                                                  "required": [
                                                    "code",
                                                    "minInstances",
                                                    "maxInstances"
                                                  ],
                                                  "properties": {
                                                    "code": {
                                                      "type": "string"
                                                    },
                                                    "minInstances": {
                                                      "anyOf": [
                                                        {
                                                          "type": "integer"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "maxInstances": {
                                                      "anyOf": [
                                                        {
                                                          "type": "integer"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            },
                                            "description": "Solution fields asked at this step; their values belong to the Solution."
                                          },
                                          "optionalQuestionCount": {
                                            "type": "integer",
                                            "minimum": 0
                                          },
                                          "requiredFields": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "code",
                                                "name",
                                                "dataType",
                                                "valueLevel"
                                              ],
                                              "properties": {
                                                "code": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "dataType": {
                                                  "type": "string"
                                                },
                                                "valueLevel": {
                                                  "type": "string",
                                                  "enum": [
                                                    "CART",
                                                    "CART_ITEM",
                                                    "UNIT"
                                                  ]
                                                },
                                                "defaultValue": {},
                                                "allowedValues": {
                                                  "type": "array",
                                                  "maxItems": 20,
                                                  "items": {}
                                                },
                                                "allowedValueCount": {
                                                  "type": "integer",
                                                  "minimum": 0,
                                                  "description": "Total allowed values when the list is truncated or omitted."
                                                },
                                                "repeatableGroup": {
                                                  "type": "object",
                                                  "additionalProperties": false,
                                                  "required": [
                                                    "code",
                                                    "minInstances",
                                                    "maxInstances"
                                                  ],
                                                  "properties": {
                                                    "code": {
                                                      "type": "string"
                                                    },
                                                    "minInstances": {
                                                      "anyOf": [
                                                        {
                                                          "type": "integer"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "maxInstances": {
                                                      "anyOf": [
                                                        {
                                                          "type": "integer"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            },
                                            "description": "Step fields applied to each chosen option."
                                          },
                                          "optionalFieldCount": {
                                            "type": "integer",
                                            "minimum": 0
                                          },
                                          "options": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "additionalProperties": false,
                                              "required": [
                                                "optionType",
                                                "code",
                                                "name",
                                                "defaultSelected",
                                                "minQuantity",
                                                "maxQuantity",
                                                "defaultQuantity",
                                                "quantityMode",
                                                "displayOrder"
                                              ],
                                              "properties": {
                                                "optionType": {
                                                  "type": "string",
                                                  "enum": [
                                                    "PRODUCT_DEFINITION",
                                                    "PRODUCT_OFFERING",
                                                    "PRODUCT_VARIANT",
                                                    "PACKAGE",
                                                    "SOLUTION"
                                                  ]
                                                },
                                                "code": {
                                                  "anyOf": [
                                                    {
                                                      "type": "string"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "name": {
                                                  "anyOf": [
                                                    {
                                                      "type": "string"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "offeringCode": {
                                                  "type": "string",
                                                  "description": "Owning offering of a variant option."
                                                },
                                                "defaultSelected": {
                                                  "type": "boolean"
                                                },
                                                "minQuantity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "integer"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "maxQuantity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "integer"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "defaultQuantity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "integer"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "quantityMode": {
                                                  "type": "string"
                                                },
                                                "displayOrder": {
                                                  "type": "integer"
                                                },
                                                "locked": {
                                                  "type": "boolean"
                                                },
                                                "unavailable": {
                                                  "type": "boolean"
                                                },
                                                "candidateCount": {
                                                  "type": "integer",
                                                  "minimum": 0
                                                },
                                                "next": {
                                                  "type": "string"
                                                },
                                                "quantityStrategy": {
                                                  "type": "string",
                                                  "enum": [
                                                    "MULTIPLIER",
                                                    "UNIT"
                                                  ]
                                                },
                                                "variants": {
                                                  "type": "object",
                                                  "additionalProperties": false,
                                                  "required": [
                                                    "count"
                                                  ],
                                                  "properties": {
                                                    "count": {
                                                      "type": "integer",
                                                      "minimum": 1
                                                    },
                                                    "defaultVariantCode": {
                                                      "type": "string"
                                                    },
                                                    "dimensions": {
                                                      "type": "array",
                                                      "items": {
                                                        "type": "object",
                                                        "additionalProperties": false,
                                                        "required": [
                                                          "code",
                                                          "label",
                                                          "values"
                                                        ],
                                                        "properties": {
                                                          "code": {
                                                            "type": "string"
                                                          },
                                                          "label": {
                                                            "type": "string"
                                                          },
                                                          "values": {
                                                            "type": "array",
                                                            "items": {}
                                                          },
                                                          "valueCount": {
                                                            "type": "integer"
                                                          }
                                                        }
                                                      }
                                                    },
                                                    "items": {
                                                      "type": "array",
                                                      "maxItems": 12,
                                                      "items": {
                                                        "type": "object",
                                                        "additionalProperties": false,
                                                        "required": [
                                                          "code",
                                                          "name"
                                                        ],
                                                        "properties": {
                                                          "code": {
                                                            "type": "string"
                                                          },
                                                          "name": {
                                                            "type": "string"
                                                          },
                                                          "values": {
                                                            "type": "object",
                                                            "additionalProperties": true
                                                          }
                                                        }
                                                      }
                                                    },
                                                    "itemsTruncated": {
                                                      "type": "boolean"
                                                    },
                                                    "resolveBy": {
                                                      "type": "string"
                                                    }
                                                  }
                                                },
                                                "requiredFields": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "additionalProperties": false,
                                                    "required": [
                                                      "code",
                                                      "name",
                                                      "dataType",
                                                      "valueLevel"
                                                    ],
                                                    "properties": {
                                                      "code": {
                                                        "type": "string"
                                                      },
                                                      "name": {
                                                        "type": "string"
                                                      },
                                                      "dataType": {
                                                        "type": "string"
                                                      },
                                                      "valueLevel": {
                                                        "type": "string",
                                                        "enum": [
                                                          "CART",
                                                          "CART_ITEM",
                                                          "UNIT"
                                                        ]
                                                      },
                                                      "defaultValue": {},
                                                      "allowedValues": {
                                                        "type": "array",
                                                        "maxItems": 20,
                                                        "items": {}
                                                      },
                                                      "allowedValueCount": {
                                                        "type": "integer",
                                                        "minimum": 0,
                                                        "description": "Total allowed values when the list is truncated or omitted."
                                                      },
                                                      "repeatableGroup": {
                                                        "type": "object",
                                                        "additionalProperties": false,
                                                        "required": [
                                                          "code",
                                                          "minInstances",
                                                          "maxInstances"
                                                        ],
                                                        "properties": {
                                                          "code": {
                                                            "type": "string"
                                                          },
                                                          "minInstances": {
                                                            "anyOf": [
                                                              {
                                                                "type": "integer"
                                                              },
                                                              {
                                                                "type": "null"
                                                              }
                                                            ]
                                                          },
                                                          "maxInstances": {
                                                            "anyOf": [
                                                              {
                                                                "type": "integer"
                                                              },
                                                              {
                                                                "type": "null"
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "optionalFieldCount": {
                                                  "type": "integer",
                                                  "minimum": 0
                                                },
                                                "addonGroups": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "additionalProperties": false,
                                                    "required": [
                                                      "code",
                                                      "name",
                                                      "minSelect",
                                                      "maxSelect",
                                                      "addons"
                                                    ],
                                                    "properties": {
                                                      "code": {
                                                        "type": "string"
                                                      },
                                                      "name": {
                                                        "type": "string"
                                                      },
                                                      "minSelect": {
                                                        "anyOf": [
                                                          {
                                                            "type": "integer"
                                                          },
                                                          {
                                                            "type": "null"
                                                          }
                                                        ]
                                                      },
                                                      "maxSelect": {
                                                        "anyOf": [
                                                          {
                                                            "type": "integer"
                                                          },
                                                          {
                                                            "type": "null"
                                                          }
                                                        ]
                                                      },
                                                      "variantCodes": {
                                                        "type": "array",
                                                        "items": {
                                                          "type": "string"
                                                        },
                                                        "description": "Present when the group applies only to these variants."
                                                      },
                                                      "addons": {
                                                        "type": "array",
                                                        "items": {
                                                          "type": "object",
                                                          "additionalProperties": false,
                                                          "required": [
                                                            "targetType",
                                                            "code",
                                                            "name",
                                                            "required",
                                                            "defaultSelected",
                                                            "minQuantity",
                                                            "maxQuantity",
                                                            "defaultQuantity"
                                                          ],
                                                          "properties": {
                                                            "targetType": {
                                                              "type": "string",
                                                              "enum": [
                                                                "PRODUCT_OFFERING",
                                                                "PRODUCT_VARIANT",
                                                                "PACKAGE"
                                                              ]
                                                            },
                                                            "code": {
                                                              "type": "string"
                                                            },
                                                            "name": {
                                                              "type": "string"
                                                            },
                                                            "required": {
                                                              "type": "boolean"
                                                            },
                                                            "defaultSelected": {
                                                              "type": "boolean"
                                                            },
                                                            "minQuantity": {
                                                              "anyOf": [
                                                                {
                                                                  "type": "integer"
                                                                },
                                                                {
                                                                  "type": "null"
                                                                }
                                                              ]
                                                            },
                                                            "maxQuantity": {
                                                              "anyOf": [
                                                                {
                                                                  "type": "integer"
                                                                },
                                                                {
                                                                  "type": "null"
                                                                }
                                                              ]
                                                            },
                                                            "defaultQuantity": {
                                                              "anyOf": [
                                                                {
                                                                  "type": "integer"
                                                                },
                                                                {
                                                                  "type": "null"
                                                                }
                                                              ]
                                                            },
                                                            "quantityStrategy": {
                                                              "type": "string",
                                                              "enum": [
                                                                "MULTIPLIER",
                                                                "UNIT"
                                                              ]
                                                            },
                                                            "requiredFields": {
                                                              "type": "array",
                                                              "items": {
                                                                "type": "object",
                                                                "additionalProperties": false,
                                                                "required": [
                                                                  "code",
                                                                  "name",
                                                                  "dataType",
                                                                  "valueLevel"
                                                                ],
                                                                "properties": {
                                                                  "code": {
                                                                    "type": "string"
                                                                  },
                                                                  "name": {
                                                                    "type": "string"
                                                                  },
                                                                  "dataType": {
                                                                    "type": "string"
                                                                  },
                                                                  "valueLevel": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                      "CART",
                                                                      "CART_ITEM",
                                                                      "UNIT"
                                                                    ]
                                                                  },
                                                                  "defaultValue": {},
                                                                  "allowedValues": {
                                                                    "type": "array",
                                                                    "maxItems": 20,
                                                                    "items": {}
                                                                  },
                                                                  "allowedValueCount": {
                                                                    "type": "integer",
                                                                    "minimum": 0,
                                                                    "description": "Total allowed values when the list is truncated or omitted."
                                                                  },
                                                                  "repeatableGroup": {
                                                                    "type": "object",
                                                                    "additionalProperties": false,
                                                                    "required": [
                                                                      "code",
                                                                      "minInstances",
                                                                      "maxInstances"
                                                                    ],
                                                                    "properties": {
                                                                      "code": {
                                                                        "type": "string"
                                                                      },
                                                                      "minInstances": {
                                                                        "anyOf": [
                                                                          {
                                                                            "type": "integer"
                                                                          },
                                                                          {
                                                                            "type": "null"
                                                                          }
                                                                        ]
                                                                      },
                                                                      "maxInstances": {
                                                                        "anyOf": [
                                                                          {
                                                                            "type": "integer"
                                                                          },
                                                                          {
                                                                            "type": "null"
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            "requiredFieldCount": {
                                                              "type": "integer",
                                                              "minimum": 0
                                                            }
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "componentCount": {
                                                  "type": "integer",
                                                  "minimum": 0
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "componentCount": {
                                      "type": "integer",
                                      "minimum": 0
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "omittedPaths": {
                      "type": "array",
                      "maxItems": 100,
                      "items": {
                        "type": "string"
                      },
                      "description": "Parts left out to keep the structure bounded; read them with section FIELDS."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/products/{productCode}/relationships": {
      "get": {
        "operationId": "getCatalogueViewProductRelationships",
        "summary": "Get product add-ons",
        "tags": [
          "Product Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "productType",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "productOfferingId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "productOfferingCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          },
          {
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "string",
                  "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                }
              ]
            },
            "in": "path",
            "name": "productCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "sourceType",
                    "sourceId",
                    "addonGroups",
                    "relationships"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PRODUCT_VARIANT",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "sourceId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "addonGroups": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "code",
                          "name",
                          "description",
                          "minSelect",
                          "maxSelect",
                          "displayOrder",
                          "options"
                        ],
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "minSelect": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "maxSelect": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "displayOrder": {
                            "type": "integer"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "relationshipId",
                                "relationshipType",
                                "addonGroupId",
                                "addonGroupCode",
                                "targetType",
                                "targetId",
                                "targetCode",
                                "targetName",
                                "minQuantity",
                                "maxQuantity",
                                "defaultQuantity",
                                "defaultSelected",
                                "required",
                                "priority",
                                "payload"
                              ],
                              "properties": {
                                "relationshipId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "relationshipType": {
                                  "type": "string",
                                  "enum": [
                                    "OPTIONAL_ADDON",
                                    "REQUIRED_ADDON",
                                    "UPGRADE_TO",
                                    "MIGRATES_TO"
                                  ]
                                },
                                "addonGroupId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "addonGroupCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "targetType": {
                                  "type": "string",
                                  "enum": [
                                    "PRODUCT_OFFERING",
                                    "PRODUCT_VARIANT",
                                    "PACKAGE"
                                  ]
                                },
                                "targetId": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "targetCode": {
                                  "type": "string"
                                },
                                "targetName": {
                                  "type": "string"
                                },
                                "minQuantity": {
                                  "anyOf": [
                                    {
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "maxQuantity": {
                                  "anyOf": [
                                    {
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "defaultQuantity": {
                                  "anyOf": [
                                    {
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "defaultSelected": {
                                  "type": "boolean"
                                },
                                "required": {
                                  "type": "boolean"
                                },
                                "priority": {
                                  "type": "integer"
                                },
                                "payload": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "relationships": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "upgradeTo",
                        "migratesTo"
                      ],
                      "properties": {
                        "upgradeTo": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "relationshipId",
                              "relationshipType",
                              "addonGroupId",
                              "addonGroupCode",
                              "targetType",
                              "targetId",
                              "targetCode",
                              "targetName",
                              "minQuantity",
                              "maxQuantity",
                              "defaultQuantity",
                              "defaultSelected",
                              "required",
                              "priority",
                              "payload"
                            ],
                            "properties": {
                              "relationshipId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "relationshipType": {
                                "type": "string",
                                "enum": [
                                  "OPTIONAL_ADDON",
                                  "REQUIRED_ADDON",
                                  "UPGRADE_TO",
                                  "MIGRATES_TO"
                                ]
                              },
                              "addonGroupId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "addonGroupCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "targetType": {
                                "type": "string",
                                "enum": [
                                  "PRODUCT_OFFERING",
                                  "PRODUCT_VARIANT",
                                  "PACKAGE"
                                ]
                              },
                              "targetId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "targetCode": {
                                "type": "string"
                              },
                              "targetName": {
                                "type": "string"
                              },
                              "minQuantity": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxQuantity": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "defaultQuantity": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "defaultSelected": {
                                "type": "boolean"
                              },
                              "required": {
                                "type": "boolean"
                              },
                              "priority": {
                                "type": "integer"
                              },
                              "payload": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        },
                        "migratesTo": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "relationshipId",
                              "relationshipType",
                              "addonGroupId",
                              "addonGroupCode",
                              "targetType",
                              "targetId",
                              "targetCode",
                              "targetName",
                              "minQuantity",
                              "maxQuantity",
                              "defaultQuantity",
                              "defaultSelected",
                              "required",
                              "priority",
                              "payload"
                            ],
                            "properties": {
                              "relationshipId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "relationshipType": {
                                "type": "string",
                                "enum": [
                                  "OPTIONAL_ADDON",
                                  "REQUIRED_ADDON",
                                  "UPGRADE_TO",
                                  "MIGRATES_TO"
                                ]
                              },
                              "addonGroupId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "addonGroupCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "targetType": {
                                "type": "string",
                                "enum": [
                                  "PRODUCT_OFFERING",
                                  "PRODUCT_VARIANT",
                                  "PACKAGE"
                                ]
                              },
                              "targetId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "targetCode": {
                                "type": "string"
                              },
                              "targetName": {
                                "type": "string"
                              },
                              "minQuantity": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxQuantity": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "defaultQuantity": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "defaultSelected": {
                                "type": "boolean"
                              },
                              "required": {
                                "type": "boolean"
                              },
                              "priority": {
                                "type": "integer"
                              },
                              "payload": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get current published add-ons and product relationships"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/products/{productCode}/charges": {
      "get": {
        "operationId": "getPublishedProductCharges",
        "summary": "Get product charges",
        "tags": [
          "Catalogue Pricing"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "pricebookCode",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "productType",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "variantCode",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "path",
            "name": "productCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "pricebookId",
                    "pricebookCode",
                    "itemType",
                    "itemId",
                    "charges"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "pricebookId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "pricebookCode": {
                      "type": "string"
                    },
                    "itemType": {
                      "type": "string"
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "itemType",
                          "itemId",
                          "chargeDefinitionId",
                          "chargeCode",
                          "chargeType",
                          "pricingRole",
                          "activationMode",
                          "billingPeriod",
                          "ratingMode",
                          "quantityBasis",
                          "inputAttributeId",
                          "inputAttributeCode",
                          "inputAttributeUnit",
                          "priceSource",
                          "pricingMethod",
                          "currency",
                          "resolvedPrice",
                          "sourcePricebookId",
                          "sourcePricebookEntryId",
                          "payload"
                        ],
                        "properties": {
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PRODUCT_VARIANT",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeDefinitionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "activationMode": {
                            "type": "string",
                            "enum": [
                              "ALWAYS",
                              "RULE_CONTROLLED"
                            ]
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "quantityBasis": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "inputAttributeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "inputAttributeCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "inputAttributeUnit": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "priceSource": {
                            "type": "string",
                            "enum": [
                              "CATALOGUE",
                              "EXTERNAL"
                            ]
                          },
                          "pricingMethod": {
                            "type": "string"
                          },
                          "currency": {
                            "type": "string"
                          },
                          "resolvedPrice": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get the published charges of a product."
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/prices": {
      "get": {
        "operationId": "getPublishedPriceSummaries",
        "summary": "Get price summaries",
        "tags": [
          "Catalogue Pricing"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "pricebookCode",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT_OFFERING",
                "PRODUCT_VARIANT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "itemType",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "itemRefs",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "productType",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "productCodes",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "variantCode",
            "required": false
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "pricebookId",
                    "pricebookCode",
                    "items"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "pricebookId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "pricebookCode": {
                      "type": "string"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "itemType",
                          "itemId",
                          "currency",
                          "recurringAmount",
                          "recurringPeriod",
                          "oneTimeAmount",
                          "hasMeteredCharges",
                          "hasConditionalPricing",
                          "isFromPrice",
                          "priceBasis",
                          "sortAmount",
                          "summary"
                        ],
                        "properties": {
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PRODUCT_VARIANT",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "currency": {
                            "type": "string"
                          },
                          "recurringAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "recurringPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "oneTimeAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "hasMeteredCharges": {
                            "type": "boolean"
                          },
                          "hasConditionalPricing": {
                            "type": "boolean"
                          },
                          "isFromPrice": {
                            "type": "boolean"
                          },
                          "priceBasis": {
                            "type": "string"
                          },
                          "sortAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "summary": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get published price summaries for products in a catalogue view."
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/allowed-products": {
      "get": {
        "operationId": "getCatalogueViewAllowedProducts",
        "summary": "List agreement products",
        "tags": [
          "Published Catalogue"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "in": "query",
            "name": "accountId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "accountId",
                    "visibilityMode",
                    "items"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string"
                    },
                    "visibilityMode": {
                      "type": "string",
                      "enum": [
                        "ADD_TO_CATALOGUE",
                        "ONLY_AGREEMENT_PRODUCTS"
                      ]
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "customerAgreementId",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "payload"
                        ],
                        "properties": {
                          "customerAgreementId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get agreement products allowed for an Account"
      }
    },
    "/api/v1/catalogue-views/{catalogueViewCode}/step-candidates": {
      "get": {
        "operationId": "getCatalogueViewStepCandidates",
        "summary": "List solution step options",
        "tags": [
          "Published Catalogue"
        ],
        "description": "Searches, filters and pages the products, variants and Packages a Solution step offers, from the publication the Quote uses. Candidate filters are sent as filter[<attributeCode>]=<value>; repeat a key to accept several values of one attribute. The cursor is opaque and keyset-based. Prices are not returned; read price summaries for the visible rows.",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueViewId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueViewCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "catalogueId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "catalogueCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "publishRunId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "bundleCode",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "query",
            "name": "stepCode",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "in": "query",
            "name": "q",
            "required": false
          },
          {
            "schema": {
              "default": "name",
              "type": "string",
              "enum": [
                "name",
                "code"
              ]
            },
            "in": "query",
            "name": "sort",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1000
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "default": 25,
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "object",
              "additionalProperties": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "in": "query",
            "name": "filter",
            "required": false,
            "description": "Candidate filters sent as filter[<attributeCode>]=<value>; repeat a key for several values."
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
            },
            "in": "path",
            "name": "catalogueViewCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "publishRunId",
                    "catalogueViewId",
                    "bundleCode",
                    "stepCode",
                    "total",
                    "items",
                    "filters",
                    "nextCursor"
                  ],
                  "properties": {
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "bundleCode": {
                      "type": "string"
                    },
                    "stepCode": {
                      "type": "string"
                    },
                    "total": {
                      "type": "integer",
                      "description": "Candidates matching the search and filters."
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "sourceOptionId",
                          "optionType",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "title",
                          "shortDescription",
                          "definition",
                          "facets"
                        ],
                        "properties": {
                          "sourceOptionId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The step option that offers this candidate."
                          },
                          "optionType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PRODUCT_VARIANT",
                              "PACKAGE"
                            ]
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PRODUCT_VARIANT",
                              "PACKAGE"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string",
                            "description": "The product code to add to the step."
                          },
                          "title": {
                            "type": "string"
                          },
                          "shortDescription": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "definition": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "code",
                                  "name"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "facets": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "description": "Attribute code to the distinct values this candidate has for that attribute."
                          }
                        }
                      }
                    },
                    "filters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "attributeCode",
                          "label",
                          "values"
                        ],
                        "properties": {
                          "attributeCode": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "values": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "value",
                                "count"
                              ],
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "count": {
                                  "type": "integer"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.catalogue.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/carts/{cartId}": {
      "get": {
        "operationId": "getCart",
        "summary": "Get a quote",
        "tags": [
          "Quotes"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartNumber",
                    "name",
                    "cartType",
                    "status",
                    "accountId",
                    "primaryContactId",
                    "assignedSellerId",
                    "assignedAt",
                    "assignedBy",
                    "catalogueCode",
                    "catalogueViewCode",
                    "pricebookCode",
                    "currency",
                    "agreementId",
                    "agreementCode",
                    "agreementName",
                    "discretionaryDiscountsAllowed",
                    "sourceCartId",
                    "sourceOrderId",
                    "sourceSubscriptionId",
                    "orderStatus",
                    "orderedItemCount",
                    "changeCode",
                    "attributes",
                    "validationStatus",
                    "validationIssues",
                    "ruleResults",
                    "pricedAt",
                    "expiresAt",
                    "acceptedAt",
                    "version",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt",
                    "items"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartNumber": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cartType": {
                      "type": "string",
                      "enum": [
                        "NEW_SALE",
                        "SUBSCRIPTION_CHANGE",
                        "ORDER_AMENDMENT"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "DRAFT",
                        "PRICED",
                        "PENDING_APPROVAL",
                        "APPROVED",
                        "ACCEPTED",
                        "ORDERED",
                        "CANCELLED",
                        "EXPIRED"
                      ]
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "primaryContactId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedSellerId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "pricebookCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "discretionaryDiscountsAllowed": {
                      "type": "boolean"
                    },
                    "sourceCartId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceOrderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceSubscriptionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_ORDERED",
                        "PARTIALLY_ORDERED",
                        "ORDERED"
                      ],
                      "description": "Ordering progress, independent of the commercial status. PARTIALLY_ORDERED when some top-level items are ordered and others are still open."
                    },
                    "orderedItemCount": {
                      "type": "integer",
                      "description": "Number of top-level items already ordered."
                    },
                    "changeCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "ruleResults": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pricedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version": {
                      "type": "integer"
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get a quote and its items."
      },
      "patch": {
        "operationId": "updateCart",
        "summary": "Update a quote",
        "tags": [
          "Quotes"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "primaryContactId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "pricebookCode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "changeCode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "attributes": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartNumber",
                    "name",
                    "cartType",
                    "status",
                    "accountId",
                    "primaryContactId",
                    "assignedSellerId",
                    "assignedAt",
                    "assignedBy",
                    "catalogueCode",
                    "catalogueViewCode",
                    "pricebookCode",
                    "currency",
                    "agreementId",
                    "agreementCode",
                    "agreementName",
                    "discretionaryDiscountsAllowed",
                    "sourceCartId",
                    "sourceOrderId",
                    "sourceSubscriptionId",
                    "orderStatus",
                    "orderedItemCount",
                    "changeCode",
                    "attributes",
                    "validationStatus",
                    "validationIssues",
                    "ruleResults",
                    "pricedAt",
                    "expiresAt",
                    "acceptedAt",
                    "version",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartNumber": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cartType": {
                      "type": "string",
                      "enum": [
                        "NEW_SALE",
                        "SUBSCRIPTION_CHANGE",
                        "ORDER_AMENDMENT"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "DRAFT",
                        "PRICED",
                        "PENDING_APPROVAL",
                        "APPROVED",
                        "ACCEPTED",
                        "ORDERED",
                        "CANCELLED",
                        "EXPIRED"
                      ]
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "primaryContactId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedSellerId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "pricebookCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "discretionaryDiscountsAllowed": {
                      "type": "boolean"
                    },
                    "sourceCartId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceOrderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceSubscriptionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_ORDERED",
                        "PARTIALLY_ORDERED",
                        "ORDERED"
                      ],
                      "description": "Ordering progress, independent of the commercial status. PARTIALLY_ORDERED when some top-level items are ordered and others are still open."
                    },
                    "orderedItemCount": {
                      "type": "integer",
                      "description": "Number of top-level items already ordered."
                    },
                    "changeCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "ruleResults": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pricedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version": {
                      "type": "integer"
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update Quote header details"
      },
      "delete": {
        "operationId": "deleteCart",
        "summary": "Delete a quote",
        "tags": [
          "Quotes"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "commandId",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "in": "query",
            "name": "expectedVersion",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "Default Response"
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Delete an eligible Quote"
      }
    },
    "/api/v1/carts/{cartId}/charges": {
      "get": {
        "operationId": "listCartCharges",
        "summary": "List quote charges",
        "tags": [
          "Quote Pricing and Validation"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "totals"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "cartId",
                          "cartItemId",
                          "parentChargeId",
                          "sourceChargeId",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "listAmount",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "ratingMode",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "rateCardId",
                          "reasonCode",
                          "approvalStatus",
                          "createdBy",
                          "comment",
                          "priceDetails",
                          "status",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "rateCardId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "comment": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "status": {
                            "type": "string"
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "totals": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "currency",
                        "oneTimeTotal",
                        "recurringTotalsByPeriod",
                        "meteredTariffCount",
                        "list",
                        "adjusted",
                        "sales"
                      ],
                      "properties": {
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "oneTimeTotal": {
                          "type": "number"
                        },
                        "recurringTotalsByPeriod": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "billingPeriod",
                              "listAmount",
                              "adjustmentAmount",
                              "salesAmount"
                            ],
                            "properties": {
                              "billingPeriod": {
                                "type": "string"
                              },
                              "listAmount": {
                                "type": "number"
                              },
                              "adjustmentAmount": {
                                "type": "number"
                              },
                              "salesAmount": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "meteredTariffCount": {
                          "type": "integer"
                        },
                        "list": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        },
                        "adjusted": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        },
                        "sales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List the charges and totals of a quote."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}": {
      "get": {
        "operationId": "getCartItem",
        "summary": "Get a quote item",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get one item of a quote."
      },
      "delete": {
        "operationId": "removeCartItem",
        "summary": "Remove a quote item",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "commandId",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "in": "query",
            "name": "expectedVersion",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "Default Response"
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Remove one item from a quote."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/summary": {
      "get": {
        "operationId": "getCartItemUnitSummary",
        "summary": "Get item unit summary",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "expectedUnits",
                    "activeUnits",
                    "completeUnits",
                    "incompleteUnits",
                    "missingUnits",
                    "excessUnits",
                    "removedUnits",
                    "firstIncompleteUnitNumber",
                    "firstMissingUnitNumber",
                    "firstExcessUnitNumber",
                    "validationStatus",
                    "validationIssues"
                  ],
                  "properties": {
                    "expectedUnits": {
                      "type": "integer"
                    },
                    "activeUnits": {
                      "type": "integer"
                    },
                    "completeUnits": {
                      "type": "integer"
                    },
                    "incompleteUnits": {
                      "type": "integer"
                    },
                    "missingUnits": {
                      "type": "integer"
                    },
                    "excessUnits": {
                      "type": "integer"
                    },
                    "removedUnits": {
                      "type": "integer"
                    },
                    "firstIncompleteUnitNumber": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "firstMissingUnitNumber": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "firstExcessUnitNumber": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_VALIDATED",
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get quantity and configuration completeness for one Unit-based Quote item"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units": {
      "get": {
        "operationId": "listCartItemUnits",
        "summary": "List item units",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "default": 100,
              "type": "integer",
              "minimum": 1,
              "maximum": 500
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "boolean"
            },
            "in": "query",
            "name": "includeRemoved",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "summary",
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "summary": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "expectedUnits",
                        "activeUnits",
                        "completeUnits",
                        "incompleteUnits",
                        "missingUnits",
                        "excessUnits",
                        "removedUnits",
                        "firstIncompleteUnitNumber",
                        "firstMissingUnitNumber",
                        "firstExcessUnitNumber",
                        "validationStatus",
                        "validationIssues"
                      ],
                      "properties": {
                        "expectedUnits": {
                          "type": "integer"
                        },
                        "activeUnits": {
                          "type": "integer"
                        },
                        "completeUnits": {
                          "type": "integer"
                        },
                        "incompleteUnits": {
                          "type": "integer"
                        },
                        "missingUnits": {
                          "type": "integer"
                        },
                        "excessUnits": {
                          "type": "integer"
                        },
                        "removedUnits": {
                          "type": "integer"
                        },
                        "firstIncompleteUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstMissingUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstExcessUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "validationStatus": {
                          "type": "string",
                          "enum": [
                            "NOT_VALIDATED",
                            "VALID",
                            "HAS_WARNINGS",
                            "HAS_ERRORS"
                          ]
                        },
                        "validationIssues": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        }
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "cartItemId",
                          "unitNumber",
                          "attributes",
                          "status",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "unitNumber": {
                            "type": "integer"
                          },
                          "unitLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "attributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "ACTIVE",
                              "REMOVED"
                            ]
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List the units of a quote item whose product is sold per unit."
      }
    },
    "/api/v1/carts": {
      "post": {
        "operationId": "createCart",
        "summary": "Create a quote",
        "tags": [
          "Quotes"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cartType": {
                    "default": "NEW_SALE",
                    "type": "string",
                    "enum": [
                      "NEW_SALE",
                      "SUBSCRIPTION_CHANGE",
                      "ORDER_AMENDMENT"
                    ]
                  },
                  "accountId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "primaryContactId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "catalogueViewCode": {
                    "type": "string",
                    "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                  },
                  "pricebookCode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sourceCartId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sourceOrderId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sourceSubscriptionId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "changeCode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "attributes": {
                    "default": {},
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "accountId",
                  "catalogueViewCode"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartNumber",
                    "name",
                    "cartType",
                    "status",
                    "accountId",
                    "primaryContactId",
                    "assignedSellerId",
                    "assignedAt",
                    "assignedBy",
                    "catalogueCode",
                    "catalogueViewCode",
                    "pricebookCode",
                    "currency",
                    "agreementId",
                    "agreementCode",
                    "agreementName",
                    "discretionaryDiscountsAllowed",
                    "sourceCartId",
                    "sourceOrderId",
                    "sourceSubscriptionId",
                    "orderStatus",
                    "orderedItemCount",
                    "changeCode",
                    "attributes",
                    "validationStatus",
                    "validationIssues",
                    "ruleResults",
                    "pricedAt",
                    "expiresAt",
                    "acceptedAt",
                    "version",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartNumber": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cartType": {
                      "type": "string",
                      "enum": [
                        "NEW_SALE",
                        "SUBSCRIPTION_CHANGE",
                        "ORDER_AMENDMENT"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "DRAFT",
                        "PRICED",
                        "PENDING_APPROVAL",
                        "APPROVED",
                        "ACCEPTED",
                        "ORDERED",
                        "CANCELLED",
                        "EXPIRED"
                      ]
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "primaryContactId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedSellerId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "pricebookCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "discretionaryDiscountsAllowed": {
                      "type": "boolean"
                    },
                    "sourceCartId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceOrderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceSubscriptionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_ORDERED",
                        "PARTIALLY_ORDERED",
                        "ORDERED"
                      ],
                      "description": "Ordering progress, independent of the commercial status. PARTIALLY_ORDERED when some top-level items are ordered and others are still open."
                    },
                    "orderedItemCount": {
                      "type": "integer",
                      "description": "Number of top-level items already ordered."
                    },
                    "changeCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "ruleResults": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pricedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version": {
                      "type": "integer"
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Create a quote. Quote paths use the resource name `carts`."
      }
    },
    "/api/v1/carts/{cartId}/cancel": {
      "post": {
        "operationId": "cancelCart",
        "summary": "Cancel a quote",
        "tags": [
          "Quotes"
        ],
        "description": "On a Quote without orders, cancels it. On a Quote that already has orders, withdraws its open items and closes it as ORDERED; existing orders are not changed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartNumber",
                    "name",
                    "cartType",
                    "status",
                    "accountId",
                    "primaryContactId",
                    "assignedSellerId",
                    "assignedAt",
                    "assignedBy",
                    "catalogueCode",
                    "catalogueViewCode",
                    "pricebookCode",
                    "currency",
                    "agreementId",
                    "agreementCode",
                    "agreementName",
                    "discretionaryDiscountsAllowed",
                    "sourceCartId",
                    "sourceOrderId",
                    "sourceSubscriptionId",
                    "orderStatus",
                    "orderedItemCount",
                    "changeCode",
                    "attributes",
                    "validationStatus",
                    "validationIssues",
                    "ruleResults",
                    "pricedAt",
                    "expiresAt",
                    "acceptedAt",
                    "version",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartNumber": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cartType": {
                      "type": "string",
                      "enum": [
                        "NEW_SALE",
                        "SUBSCRIPTION_CHANGE",
                        "ORDER_AMENDMENT"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "DRAFT",
                        "PRICED",
                        "PENDING_APPROVAL",
                        "APPROVED",
                        "ACCEPTED",
                        "ORDERED",
                        "CANCELLED",
                        "EXPIRED"
                      ]
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "primaryContactId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedSellerId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "pricebookCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "discretionaryDiscountsAllowed": {
                      "type": "boolean"
                    },
                    "sourceCartId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceOrderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceSubscriptionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_ORDERED",
                        "PARTIALLY_ORDERED",
                        "ORDERED"
                      ],
                      "description": "Ordering progress, independent of the commercial status. PARTIALLY_ORDERED when some top-level items are ordered and others are still open."
                    },
                    "orderedItemCount": {
                      "type": "integer",
                      "description": "Number of top-level items already ordered."
                    },
                    "changeCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "ruleResults": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pricedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version": {
                      "type": "integer"
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/carts/{cartId}/reopen": {
      "post": {
        "operationId": "reopenCart",
        "summary": "Reopen an approved quote",
        "tags": [
          "Quotes"
        ],
        "description": "Returns an APPROVED new-sale Quote to PRICED. Later changes need approval again where limits or rules require it. Ordered items stay locked.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartNumber",
                    "name",
                    "cartType",
                    "status",
                    "accountId",
                    "primaryContactId",
                    "assignedSellerId",
                    "assignedAt",
                    "assignedBy",
                    "catalogueCode",
                    "catalogueViewCode",
                    "pricebookCode",
                    "currency",
                    "agreementId",
                    "agreementCode",
                    "agreementName",
                    "discretionaryDiscountsAllowed",
                    "sourceCartId",
                    "sourceOrderId",
                    "sourceSubscriptionId",
                    "orderStatus",
                    "orderedItemCount",
                    "changeCode",
                    "attributes",
                    "validationStatus",
                    "validationIssues",
                    "ruleResults",
                    "pricedAt",
                    "expiresAt",
                    "acceptedAt",
                    "version",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartNumber": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cartType": {
                      "type": "string",
                      "enum": [
                        "NEW_SALE",
                        "SUBSCRIPTION_CHANGE",
                        "ORDER_AMENDMENT"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "DRAFT",
                        "PRICED",
                        "PENDING_APPROVAL",
                        "APPROVED",
                        "ACCEPTED",
                        "ORDERED",
                        "CANCELLED",
                        "EXPIRED"
                      ]
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "primaryContactId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedSellerId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assignedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "pricebookCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "agreementName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "discretionaryDiscountsAllowed": {
                      "type": "boolean"
                    },
                    "sourceCartId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceOrderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceSubscriptionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_ORDERED",
                        "PARTIALLY_ORDERED",
                        "ORDERED"
                      ],
                      "description": "Ordering progress, independent of the commercial status. PARTIALLY_ORDERED when some top-level items are ordered and others are still open."
                    },
                    "orderedItemCount": {
                      "type": "integer",
                      "description": "Number of top-level items already ordered."
                    },
                    "changeCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "ruleResults": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pricedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version": {
                      "type": "integer"
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/carts/{cartId}/validate": {
      "post": {
        "operationId": "validateCartForClose",
        "summary": "Validate a quote",
        "tags": [
          "Quote Pricing and Validation"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "reviewedBasis": {
                    "type": "object",
                    "properties": {
                      "discountAuthorityDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "commercialDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "approvalRequestId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "approvalDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "required": [
                      "commercialDigest"
                    ],
                    "additionalProperties": false
                  },
                  "phase": {
                    "default": "PRE_ACCEPT",
                    "type": "string",
                    "enum": [
                      "IMMEDIATE",
                      "AFTER_PRICING",
                      "PRE_ACCEPT"
                    ]
                  },
                  "changedFields": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[A-Za-z][A-Za-z0-9_]*(?:\\.[A-Za-z0-9_*]+)*$"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cartId",
                    "phase",
                    "valid",
                    "errors",
                    "warnings",
                    "recommendations",
                    "approvalRequirements",
                    "results",
                    "publishRunId",
                    "evaluatedAt",
                    "durationMs",
                    "evaluatedRuleCount",
                    "evaluatedSubjectCount"
                  ],
                  "properties": {
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "phase": {
                      "type": "string",
                      "enum": [
                        "CANDIDATE",
                        "IMMEDIATE",
                        "AFTER_PRICING",
                        "PRE_ACCEPT"
                      ]
                    },
                    "valid": {
                      "type": "boolean"
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "key",
                          "ruleCode",
                          "category",
                          "outcome",
                          "reference"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "ruleCode": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string",
                            "enum": [
                              "ELIGIBILITY",
                              "COMPATIBILITY",
                              "VALIDATION",
                              "RECOMMENDATION",
                              "APPROVAL",
                              "PRICING"
                            ]
                          },
                          "outcome": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "type",
                              "code",
                              "message"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "RECOMMEND_PRODUCT",
                                  "REQUIRE_APPROVAL",
                                  "ACTIVATE_CHARGE",
                                  "SELECT_PRICE"
                                ]
                              },
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "targetChargeDefinitionId": {
                                "type": "string"
                              },
                              "targetChargeDefinitionCode": {
                                "type": "string"
                              },
                              "priceCode": {
                                "type": "string"
                              },
                              "targetProductCodes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "remediation": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "type"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "NONE",
                                      "ADD_PRODUCT",
                                      "REMOVE_PRODUCT",
                                      "CHANGE_ATTRIBUTE"
                                    ]
                                  },
                                  "productCode": {
                                    "type": "string"
                                  },
                                  "attributeCode": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "reference": {
                            "type": "object",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "decisionRowCode": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "approvalRequirements": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "key",
                          "ruleCode",
                          "category",
                          "outcome",
                          "reference"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "ruleCode": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string",
                            "enum": [
                              "ELIGIBILITY",
                              "COMPATIBILITY",
                              "VALIDATION",
                              "RECOMMENDATION",
                              "APPROVAL",
                              "PRICING"
                            ]
                          },
                          "outcome": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "type",
                              "code",
                              "message"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "RECOMMEND_PRODUCT",
                                  "REQUIRE_APPROVAL",
                                  "ACTIVATE_CHARGE",
                                  "SELECT_PRICE"
                                ]
                              },
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "targetChargeDefinitionId": {
                                "type": "string"
                              },
                              "targetChargeDefinitionCode": {
                                "type": "string"
                              },
                              "priceCode": {
                                "type": "string"
                              },
                              "targetProductCodes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "remediation": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "type"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "NONE",
                                      "ADD_PRODUCT",
                                      "REMOVE_PRODUCT",
                                      "CHANGE_ATTRIBUTE"
                                    ]
                                  },
                                  "productCode": {
                                    "type": "string"
                                  },
                                  "attributeCode": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "reference": {
                            "type": "object",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "decisionRowCode": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "key",
                          "ruleCode",
                          "category",
                          "outcome",
                          "reference"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "ruleCode": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string",
                            "enum": [
                              "ELIGIBILITY",
                              "COMPATIBILITY",
                              "VALIDATION",
                              "RECOMMENDATION",
                              "APPROVAL",
                              "PRICING"
                            ]
                          },
                          "outcome": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "type",
                              "code",
                              "message"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "RECOMMEND_PRODUCT",
                                  "REQUIRE_APPROVAL",
                                  "ACTIVATE_CHARGE",
                                  "SELECT_PRICE"
                                ]
                              },
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "targetChargeDefinitionId": {
                                "type": "string"
                              },
                              "targetChargeDefinitionCode": {
                                "type": "string"
                              },
                              "priceCode": {
                                "type": "string"
                              },
                              "targetProductCodes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "remediation": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "type"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "NONE",
                                      "ADD_PRODUCT",
                                      "REMOVE_PRODUCT",
                                      "CHANGE_ATTRIBUTE"
                                    ]
                                  },
                                  "productCode": {
                                    "type": "string"
                                  },
                                  "attributeCode": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "reference": {
                            "type": "object",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "decisionRowCode": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "evaluatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "durationMs": {
                      "type": "number"
                    },
                    "evaluatedRuleCount": {
                      "type": "integer"
                    },
                    "evaluatedSubjectCount": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Validate a Quote at a commercial lifecycle phase"
      }
    },
    "/api/v1/carts/{cartId}/products/check": {
      "post": {
        "operationId": "checkCartProduct",
        "summary": "Check a product",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "productCode": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "productType": {
                    "type": "string",
                    "enum": [
                      "PRODUCT",
                      "PACKAGE",
                      "SOLUTION"
                    ]
                  },
                  "parentCartItemId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "addonGroupCode": {
                    "type": "string",
                    "pattern": "^[A-Z][A-Z0-9_]*$"
                  },
                  "attributes": {
                    "default": {},
                    "type": "object",
                    "propertyNames": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,63}$"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "productCode"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cartId",
                    "phase",
                    "valid",
                    "allowed",
                    "errors",
                    "warnings",
                    "recommendations",
                    "approvalRequirements",
                    "results",
                    "resolvedResultKeys",
                    "publishRunId",
                    "evaluatedAt",
                    "durationMs",
                    "evaluatedRuleCount",
                    "evaluatedSubjectCount"
                  ],
                  "properties": {
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "phase": {
                      "type": "string",
                      "enum": [
                        "CANDIDATE"
                      ]
                    },
                    "valid": {
                      "type": "boolean"
                    },
                    "allowed": {
                      "type": "boolean"
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "approvalRequirements": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "resolvedResultKeys": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "publishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "evaluatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "durationMs": {
                      "type": "number"
                    },
                    "evaluatedRuleCount": {
                      "type": "integer"
                    },
                    "evaluatedSubjectCount": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Check whether a published product can be added to a Quote"
      }
    },
    "/api/v1/carts/{cartId}/items": {
      "post": {
        "operationId": "addCartItem",
        "summary": "Add a quote item",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parentCartItemId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "productCode": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "componentCode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "quantity": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100000
                  },
                  "attributes": {
                    "default": {},
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "externalPrices": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "chargeCode": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
                        },
                        "amount": {
                          "type": "number"
                        },
                        "listAmount": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "externalRef": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "chargeCode",
                        "amount"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "productCode",
                  "quantity"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "201": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Add a published product to a Quote"
      }
    },
    "/api/v1/carts/{cartId}/items/copy": {
      "post": {
        "operationId": "copyCartConfiguration",
        "summary": "Copy a configuration",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SUBSCRIPTION",
                          "CART_ITEM"
                        ]
                      },
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "cartId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "set": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "source"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "rootItemId",
                    "source",
                    "items",
                    "skippedValues",
                    "cartVersion",
                    "validationStatus",
                    "validationIssues",
                    "validationIssueCount",
                    "pricing"
                  ],
                  "properties": {
                    "rootItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "source": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "id",
                        "itemId",
                        "itemName"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "CART_ITEM"
                          ]
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "itemId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "itemName": {
                          "type": "string"
                        }
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "sourceItemId",
                          "itemId",
                          "itemName",
                          "componentRoleCode",
                          "productCode"
                        ],
                        "properties": {
                          "sourceItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemName": {
                            "type": "string"
                          },
                          "componentRoleCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productCode": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "skippedValues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "sourceItemId",
                          "itemName",
                          "attributeCode",
                          "unitNumber",
                          "reason"
                        ],
                        "properties": {
                          "sourceItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemName": {
                            "type": "string"
                          },
                          "attributeCode": {
                            "type": "string"
                          },
                          "unitNumber": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reason": {
                            "type": "string",
                            "enum": [
                              "NOT_ALLOWED"
                            ]
                          }
                        }
                      }
                    },
                    "cartVersion": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_VALIDATED",
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "maxItems": 50,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "validationIssueCount": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "pricing": {
                      "type": "string",
                      "enum": [
                        "NOT_PRICED"
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Copy an existing site, subscription or quote item configuration into a new-sale Quote"
      }
    },
    "/api/v1/carts/{cartId}/items/bulk": {
      "post": {
        "operationId": "bulkAddCartItems",
        "summary": "Add several quote items",
        "tags": [
          "Quote Configuration"
        ],
        "description": "Adds every item as one change: all are added or none, and a failing item is named by its position. Each item is a top-level product with its quantity and values.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "items": {
                    "minItems": 1,
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productCode": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "quantity": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100000
                        },
                        "attributes": {
                          "default": {},
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "required": [
                        "productCode",
                        "quantity"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "items"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "201": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "cartId",
                    "cartVersion",
                    "items"
                  ],
                  "additionalProperties": false,
                  "properties": {
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartVersion": {
                      "type": "integer"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "cartId",
                          "parentCartItemId",
                          "sourceCartItemId",
                          "sourceServiceId",
                          "sourceDeliverableItemId",
                          "sourceComponentType",
                          "sourceComponentId",
                          "componentRoleCode",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "itemName",
                          "productVariantId",
                          "productVariantCode",
                          "productDefinitionId",
                          "productDefinitionCode",
                          "orderProductType",
                          "cataloguePublishRunId",
                          "catalogueViewId",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "attributes",
                          "facts",
                          "charges",
                          "priceSnapshot",
                          "status",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "parentCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceDeliverableItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentType": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "componentRoleCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "itemName": {
                            "type": "string"
                          },
                          "productVariantId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productVariantCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "orderProductType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "SUBSCRIPTION",
                                  "DELIVERABLE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cataloguePublishRunId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "catalogueViewId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "action": {
                            "type": "string",
                            "enum": [
                              "ADD",
                              "NO_CHANGE",
                              "MODIFY",
                              "REMOVE"
                            ]
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string",
                            "enum": [
                              "MULTIPLIER",
                              "UNIT"
                            ]
                          },
                          "attributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "facts": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "charges": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "chargeCode",
                                "name",
                                "chargeType",
                                "pricingRole",
                                "chargeSource",
                                "discountType",
                                "parentChargeId",
                                "ratingMode",
                                "amount",
                                "unitPrice",
                                "quantity",
                                "currency",
                                "billingPeriod",
                                "sourceChargeDefinitionId",
                                "sourcePricebookEntryId",
                                "sourcePricingRuleId",
                                "activatedByRuleIds",
                                "reasonCode",
                                "approvalStatus",
                                "priceDetails"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "chargeCode": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "chargeType": {
                                  "type": "string",
                                  "enum": [
                                    "ONE_TIME",
                                    "RECURRING"
                                  ]
                                },
                                "pricingRole": {
                                  "type": "string",
                                  "enum": [
                                    "CHARGE",
                                    "DISCOUNT",
                                    "SURCHARGE"
                                  ]
                                },
                                "chargeSource": {
                                  "type": "string",
                                  "enum": [
                                    "BASE_PRICE",
                                    "CATALOGUE_DISCOUNT",
                                    "CATALOGUE_WAIVER",
                                    "CATALOGUE_SURCHARGE",
                                    "DISCRETIONARY_DISCOUNT",
                                    "MANUAL_CHARGE",
                                    "EXTERNAL_PRICE"
                                  ]
                                },
                                "discountType": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "AMOUNT",
                                        "PERCENT",
                                        "WAIVE"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "parentChargeId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "ratingMode": {
                                  "type": "string",
                                  "enum": [
                                    "CART",
                                    "METERED"
                                  ]
                                },
                                "amount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "unitPrice": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "quantity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "billingPeriod": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourceChargeDefinitionId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricebookEntryId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricingRuleId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "activatedByRuleIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid"
                                  }
                                },
                                "reasonCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "approvalStatus": {
                                  "type": "string"
                                },
                                "priceDetails": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          },
                          "priceSnapshot": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "externalPrices": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "chargeCode",
                                "amount",
                                "listAmount",
                                "externalRef"
                              ],
                              "properties": {
                                "chargeCode": {
                                  "type": "string"
                                },
                                "amount": {
                                  "type": "number"
                                },
                                "listAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            }
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                          },
                          "status": {
                            "type": "string",
                            "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/change-quantity": {
      "post": {
        "operationId": "changeCartItemQuantity",
        "summary": "Change item quantity",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "quantity": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100000
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "quantity"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Change the quantity of a quote item."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/change-variant": {
      "post": {
        "operationId": "changeCartItemVariant",
        "summary": "Change item variant",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "productCode": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "productCode"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Change the selected variant of one Quote product"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/change-product": {
      "post": {
        "operationId": "changeCartItemProduct",
        "summary": "Change component product",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "productCode": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "productCode"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Change the selected product of one Quote component"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/bulk-upsert": {
      "post": {
        "operationId": "bulkUpsertCartItemUnits",
        "summary": "Update units in bulk",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rows": {
                    "minItems": 1,
                    "maxItems": 10000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "unitNumber": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100000
                        },
                        "attributes": {
                          "default": {},
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "required": [
                        "unitNumber"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "rows"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "summary",
                    "itemsUpdated",
                    "validationStatus",
                    "validationIssues"
                  ],
                  "properties": {
                    "summary": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "expectedUnits",
                        "activeUnits",
                        "completeUnits",
                        "incompleteUnits",
                        "missingUnits",
                        "excessUnits",
                        "removedUnits",
                        "firstIncompleteUnitNumber",
                        "firstMissingUnitNumber",
                        "firstExcessUnitNumber",
                        "validationStatus",
                        "validationIssues"
                      ],
                      "properties": {
                        "expectedUnits": {
                          "type": "integer"
                        },
                        "activeUnits": {
                          "type": "integer"
                        },
                        "completeUnits": {
                          "type": "integer"
                        },
                        "incompleteUnits": {
                          "type": "integer"
                        },
                        "missingUnits": {
                          "type": "integer"
                        },
                        "excessUnits": {
                          "type": "integer"
                        },
                        "removedUnits": {
                          "type": "integer"
                        },
                        "firstIncompleteUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstMissingUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstExcessUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "validationStatus": {
                          "type": "string",
                          "enum": [
                            "NOT_VALIDATED",
                            "VALID",
                            "HAS_WARNINGS",
                            "HAS_ERRORS"
                          ]
                        },
                        "validationIssues": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        }
                      }
                    },
                    "itemsUpdated": {
                      "type": "integer"
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_VALIDATED",
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Replace the configuration of several units in one request. All changes apply or none do."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/configure": {
      "post": {
        "operationId": "configureCartItemUnits",
        "summary": "Configure units",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rows": {
                    "minItems": 1,
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "unitNumber": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100000
                        },
                        "set": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "clear": {
                          "maxItems": 250,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_]{0,63}$"
                          }
                        }
                      },
                      "required": [
                        "unitNumber"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "rows"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Set or clear values on units, identified by unit number."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/bulk-remove": {
      "post": {
        "operationId": "bulkRemoveCartItemUnits",
        "summary": "Remove units in bulk",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "unitIds": {
                    "minItems": 1,
                    "maxItems": 10000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "unitIds"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "summary",
                    "itemsRemoved",
                    "validationStatus",
                    "validationIssues"
                  ],
                  "properties": {
                    "summary": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "expectedUnits",
                        "activeUnits",
                        "completeUnits",
                        "incompleteUnits",
                        "missingUnits",
                        "excessUnits",
                        "removedUnits",
                        "firstIncompleteUnitNumber",
                        "firstMissingUnitNumber",
                        "firstExcessUnitNumber",
                        "validationStatus",
                        "validationIssues"
                      ],
                      "properties": {
                        "expectedUnits": {
                          "type": "integer"
                        },
                        "activeUnits": {
                          "type": "integer"
                        },
                        "completeUnits": {
                          "type": "integer"
                        },
                        "incompleteUnits": {
                          "type": "integer"
                        },
                        "missingUnits": {
                          "type": "integer"
                        },
                        "excessUnits": {
                          "type": "integer"
                        },
                        "removedUnits": {
                          "type": "integer"
                        },
                        "firstIncompleteUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstMissingUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstExcessUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "validationStatus": {
                          "type": "string",
                          "enum": [
                            "NOT_VALIDATED",
                            "VALID",
                            "HAS_WARNINGS",
                            "HAS_ERRORS"
                          ]
                        },
                        "validationIssues": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        }
                      }
                    },
                    "itemsUpdated": {
                      "type": "integer"
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_VALIDATED",
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "itemsRemoved": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Remove selected units in one request. All changes apply or none do."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/remove-excess": {
      "post": {
        "operationId": "removeExcessCartItemUnits",
        "summary": "Remove excess units",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "summary",
                    "itemsRemoved",
                    "validationStatus",
                    "validationIssues"
                  ],
                  "properties": {
                    "summary": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "expectedUnits",
                        "activeUnits",
                        "completeUnits",
                        "incompleteUnits",
                        "missingUnits",
                        "excessUnits",
                        "removedUnits",
                        "firstIncompleteUnitNumber",
                        "firstMissingUnitNumber",
                        "firstExcessUnitNumber",
                        "validationStatus",
                        "validationIssues"
                      ],
                      "properties": {
                        "expectedUnits": {
                          "type": "integer"
                        },
                        "activeUnits": {
                          "type": "integer"
                        },
                        "completeUnits": {
                          "type": "integer"
                        },
                        "incompleteUnits": {
                          "type": "integer"
                        },
                        "missingUnits": {
                          "type": "integer"
                        },
                        "excessUnits": {
                          "type": "integer"
                        },
                        "removedUnits": {
                          "type": "integer"
                        },
                        "firstIncompleteUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstMissingUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstExcessUnitNumber": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "validationStatus": {
                          "type": "string",
                          "enum": [
                            "NOT_VALIDATED",
                            "VALID",
                            "HAS_WARNINGS",
                            "HAS_ERRORS"
                          ]
                        },
                        "validationIssues": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        }
                      }
                    },
                    "itemsUpdated": {
                      "type": "integer"
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_VALIDATED",
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "itemsRemoved": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Remove the units above the item quantity in one request."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/{cartItemUnitId}": {
      "put": {
        "operationId": "replaceCartItemUnitAttributes",
        "summary": "Replace a unit",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "attributes": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "attributes"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemUnitId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartItemId",
                    "unitNumber",
                    "attributes",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "unitNumber": {
                      "type": "integer"
                    },
                    "unitLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "ACTIVE",
                        "REMOVED"
                      ]
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Replace the configuration of one unit."
      },
      "delete": {
        "operationId": "removeCartItemUnit",
        "summary": "Remove a unit",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemUnitId",
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "Default Response"
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Remove one unit from a quote item."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/units/{cartItemUnitId}/restore": {
      "post": {
        "operationId": "restoreCartItemUnit",
        "summary": "Restore a unit",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemUnitId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartItemId",
                    "unitNumber",
                    "attributes",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "unitNumber": {
                      "type": "integer"
                    },
                    "unitLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "ACTIVE",
                        "REMOVED"
                      ]
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Restore a removed unit that came from an existing order or subscription."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/configure": {
      "post": {
        "operationId": "configureCartItem",
        "summary": "Configure a quote item",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "set": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "clear": {
                    "maxItems": 250,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,63}$"
                    }
                  },
                  "externalPrices": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "chargeCode": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
                        },
                        "amount": {
                          "type": "number"
                        },
                        "listAmount": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "externalRef": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "chargeCode",
                        "amount"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Set or clear simple configuration values on a Quote item"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/non-commercial-attributes": {
      "patch": {
        "operationId": "updateCartItemNonCommercialAttributes",
        "summary": "Update item service details",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "set": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "clear": {
                    "maxItems": 250,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,63}$"
                    }
                  },
                  "units": {
                    "maxItems": 10000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "unitId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "set": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "clear": {
                          "maxItems": 250,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_]{0,63}$"
                          }
                        }
                      },
                      "required": [
                        "unitId"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cartId",
                    "cartVersion",
                    "changed",
                    "items"
                  ],
                  "properties": {
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartVersion": {
                      "type": "integer",
                      "description": "Unchanged when nothing changed, or when the values were written to services of an ordered Quote."
                    },
                    "changed": {
                      "type": "boolean"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "cartItemId",
                          "storedOn",
                          "changed",
                          "item",
                          "units",
                          "changedServiceIds"
                        ],
                        "properties": {
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "storedOn": {
                            "type": "string",
                            "enum": [
                              "QUOTE",
                              "SERVICE"
                            ],
                            "description": "Where the values live: on the Quote while it is open, on the item's Service once it is ordered."
                          },
                          "changed": {
                            "type": "boolean"
                          },
                          "item": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "cartId",
                              "parentCartItemId",
                              "sourceCartItemId",
                              "sourceServiceId",
                              "sourceDeliverableItemId",
                              "sourceComponentType",
                              "sourceComponentId",
                              "componentRoleCode",
                              "itemType",
                              "itemId",
                              "itemCode",
                              "itemName",
                              "productVariantId",
                              "productVariantCode",
                              "productDefinitionId",
                              "productDefinitionCode",
                              "orderProductType",
                              "cataloguePublishRunId",
                              "catalogueViewId",
                              "action",
                              "quantity",
                              "quantityStrategy",
                              "attributes",
                              "facts",
                              "charges",
                              "priceSnapshot",
                              "status",
                              "createdBy",
                              "updatedBy",
                              "createdAt",
                              "updatedAt"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "cartId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "parentCartItemId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceCartItemId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceServiceId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceDeliverableItemId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceComponentType": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceComponentId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "componentRoleCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "itemType": {
                                "type": "string",
                                "enum": [
                                  "PRODUCT_OFFERING",
                                  "PACKAGE",
                                  "SOLUTION"
                                ]
                              },
                              "itemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "itemCode": {
                                "type": "string"
                              },
                              "itemName": {
                                "type": "string"
                              },
                              "productVariantId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "productVariantCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "productDefinitionId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "productDefinitionCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "orderProductType": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "SUBSCRIPTION",
                                      "DELIVERABLE"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "cataloguePublishRunId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "catalogueViewId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "action": {
                                "type": "string",
                                "enum": [
                                  "ADD",
                                  "NO_CHANGE",
                                  "MODIFY",
                                  "REMOVE"
                                ]
                              },
                              "quantity": {
                                "type": "integer"
                              },
                              "quantityStrategy": {
                                "type": "string",
                                "enum": [
                                  "MULTIPLIER",
                                  "UNIT"
                                ]
                              },
                              "attributes": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "facts": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "charges": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "id",
                                    "chargeCode",
                                    "name",
                                    "chargeType",
                                    "pricingRole",
                                    "chargeSource",
                                    "discountType",
                                    "parentChargeId",
                                    "ratingMode",
                                    "amount",
                                    "unitPrice",
                                    "quantity",
                                    "currency",
                                    "billingPeriod",
                                    "sourceChargeDefinitionId",
                                    "sourcePricebookEntryId",
                                    "sourcePricingRuleId",
                                    "activatedByRuleIds",
                                    "reasonCode",
                                    "approvalStatus",
                                    "priceDetails"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    "chargeCode": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "chargeType": {
                                      "type": "string",
                                      "enum": [
                                        "ONE_TIME",
                                        "RECURRING"
                                      ]
                                    },
                                    "pricingRole": {
                                      "type": "string",
                                      "enum": [
                                        "CHARGE",
                                        "DISCOUNT",
                                        "SURCHARGE"
                                      ]
                                    },
                                    "chargeSource": {
                                      "type": "string",
                                      "enum": [
                                        "BASE_PRICE",
                                        "CATALOGUE_DISCOUNT",
                                        "CATALOGUE_WAIVER",
                                        "CATALOGUE_SURCHARGE",
                                        "DISCRETIONARY_DISCOUNT",
                                        "MANUAL_CHARGE",
                                        "EXTERNAL_PRICE"
                                      ]
                                    },
                                    "discountType": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "AMOUNT",
                                            "PERCENT",
                                            "WAIVE"
                                          ]
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "parentChargeId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "ratingMode": {
                                      "type": "string",
                                      "enum": [
                                        "CART",
                                        "METERED"
                                      ]
                                    },
                                    "amount": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "unitPrice": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "quantity": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "currency": {
                                      "type": "string"
                                    },
                                    "billingPeriod": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourceChargeDefinitionId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourcePricebookEntryId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourcePricingRuleId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "activatedByRuleIds": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "format": "uuid"
                                      }
                                    },
                                    "reasonCode": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "externalRef": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "approvalStatus": {
                                      "type": "string"
                                    },
                                    "priceDetails": {
                                      "type": "object",
                                      "additionalProperties": true
                                    }
                                  }
                                }
                              },
                              "priceSnapshot": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "externalPrices": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "chargeCode",
                                    "amount",
                                    "listAmount",
                                    "externalRef"
                                  ],
                                  "properties": {
                                    "chargeCode": {
                                      "type": "string"
                                    },
                                    "amount": {
                                      "type": "number"
                                    },
                                    "listAmount": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "externalRef": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  }
                                }
                              },
                              "instanceLabel": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "naming": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "instanceNoun",
                                  "instanceLabelAttributes",
                                  "unitNoun",
                                  "unitLabelAttributes"
                                ],
                                "properties": {
                                  "instanceNoun": {
                                    "anyOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "singular",
                                          "plural"
                                        ],
                                        "properties": {
                                          "singular": {
                                            "type": "string"
                                          },
                                          "plural": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "instanceLabelAttributes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "unitNoun": {
                                    "anyOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "singular",
                                          "plural"
                                        ],
                                        "properties": {
                                          "singular": {
                                            "type": "string"
                                          },
                                          "plural": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "unitLabelAttributes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                }
                              },
                              "orderId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                              },
                              "status": {
                                "type": "string",
                                "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                              },
                              "createdBy": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "updatedBy": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time"
                              }
                            }
                          },
                          "units": {
                            "type": "array",
                            "description": "The unit rows named in the request, as they read after the update.",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "unitNumber",
                                "status",
                                "attributes"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "unitNumber": {
                                  "type": "integer"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "ACTIVE",
                                    "REMOVED"
                                  ]
                                },
                                "attributes": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          },
                          "changedServiceIds": {
                            "type": "array",
                            "description": "Services changed by the request. Empty while the values are stored on the Quote.",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Set or clear service details on a quote item and its units, without changing price or approval."
      }
    },
    "/api/v1/carts/{cartId}/non-commercial-attributes/bulk-update": {
      "post": {
        "operationId": "bulkUpdateCartNonCommercialAttributes",
        "summary": "Update service details in bulk",
        "tags": [
          "Quotes"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "items": {
                    "minItems": 1,
                    "maxItems": 1000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "cartItemId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "set": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "clear": {
                          "maxItems": 250,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_]{0,63}$"
                          }
                        },
                        "units": {
                          "maxItems": 10000,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "unitId": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "set": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "clear": {
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[a-z][a-z0-9_]{0,63}$"
                                }
                              }
                            },
                            "required": [
                              "unitId"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "cartItemId"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "items"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cartId",
                    "cartVersion",
                    "changed",
                    "items"
                  ],
                  "properties": {
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartVersion": {
                      "type": "integer",
                      "description": "Unchanged when nothing changed, or when the values were written to services of an ordered Quote."
                    },
                    "changed": {
                      "type": "boolean"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "cartItemId",
                          "storedOn",
                          "changed",
                          "item",
                          "units",
                          "changedServiceIds"
                        ],
                        "properties": {
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "storedOn": {
                            "type": "string",
                            "enum": [
                              "QUOTE",
                              "SERVICE"
                            ],
                            "description": "Where the values live: on the Quote while it is open, on the item's Service once it is ordered."
                          },
                          "changed": {
                            "type": "boolean"
                          },
                          "item": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "cartId",
                              "parentCartItemId",
                              "sourceCartItemId",
                              "sourceServiceId",
                              "sourceDeliverableItemId",
                              "sourceComponentType",
                              "sourceComponentId",
                              "componentRoleCode",
                              "itemType",
                              "itemId",
                              "itemCode",
                              "itemName",
                              "productVariantId",
                              "productVariantCode",
                              "productDefinitionId",
                              "productDefinitionCode",
                              "orderProductType",
                              "cataloguePublishRunId",
                              "catalogueViewId",
                              "action",
                              "quantity",
                              "quantityStrategy",
                              "attributes",
                              "facts",
                              "charges",
                              "priceSnapshot",
                              "status",
                              "createdBy",
                              "updatedBy",
                              "createdAt",
                              "updatedAt"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "cartId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "parentCartItemId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceCartItemId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceServiceId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceDeliverableItemId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceComponentType": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceComponentId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "componentRoleCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "itemType": {
                                "type": "string",
                                "enum": [
                                  "PRODUCT_OFFERING",
                                  "PACKAGE",
                                  "SOLUTION"
                                ]
                              },
                              "itemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "itemCode": {
                                "type": "string"
                              },
                              "itemName": {
                                "type": "string"
                              },
                              "productVariantId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "productVariantCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "productDefinitionId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "productDefinitionCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "orderProductType": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "SUBSCRIPTION",
                                      "DELIVERABLE"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "cataloguePublishRunId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "catalogueViewId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "action": {
                                "type": "string",
                                "enum": [
                                  "ADD",
                                  "NO_CHANGE",
                                  "MODIFY",
                                  "REMOVE"
                                ]
                              },
                              "quantity": {
                                "type": "integer"
                              },
                              "quantityStrategy": {
                                "type": "string",
                                "enum": [
                                  "MULTIPLIER",
                                  "UNIT"
                                ]
                              },
                              "attributes": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "facts": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "charges": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "id",
                                    "chargeCode",
                                    "name",
                                    "chargeType",
                                    "pricingRole",
                                    "chargeSource",
                                    "discountType",
                                    "parentChargeId",
                                    "ratingMode",
                                    "amount",
                                    "unitPrice",
                                    "quantity",
                                    "currency",
                                    "billingPeriod",
                                    "sourceChargeDefinitionId",
                                    "sourcePricebookEntryId",
                                    "sourcePricingRuleId",
                                    "activatedByRuleIds",
                                    "reasonCode",
                                    "approvalStatus",
                                    "priceDetails"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    "chargeCode": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "chargeType": {
                                      "type": "string",
                                      "enum": [
                                        "ONE_TIME",
                                        "RECURRING"
                                      ]
                                    },
                                    "pricingRole": {
                                      "type": "string",
                                      "enum": [
                                        "CHARGE",
                                        "DISCOUNT",
                                        "SURCHARGE"
                                      ]
                                    },
                                    "chargeSource": {
                                      "type": "string",
                                      "enum": [
                                        "BASE_PRICE",
                                        "CATALOGUE_DISCOUNT",
                                        "CATALOGUE_WAIVER",
                                        "CATALOGUE_SURCHARGE",
                                        "DISCRETIONARY_DISCOUNT",
                                        "MANUAL_CHARGE",
                                        "EXTERNAL_PRICE"
                                      ]
                                    },
                                    "discountType": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "AMOUNT",
                                            "PERCENT",
                                            "WAIVE"
                                          ]
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "parentChargeId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "ratingMode": {
                                      "type": "string",
                                      "enum": [
                                        "CART",
                                        "METERED"
                                      ]
                                    },
                                    "amount": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "unitPrice": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "quantity": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "currency": {
                                      "type": "string"
                                    },
                                    "billingPeriod": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourceChargeDefinitionId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourcePricebookEntryId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourcePricingRuleId": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "uuid"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "activatedByRuleIds": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "format": "uuid"
                                      }
                                    },
                                    "reasonCode": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "externalRef": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "approvalStatus": {
                                      "type": "string"
                                    },
                                    "priceDetails": {
                                      "type": "object",
                                      "additionalProperties": true
                                    }
                                  }
                                }
                              },
                              "priceSnapshot": {
                                "type": "object",
                                "additionalProperties": true
                              },
                              "externalPrices": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "chargeCode",
                                    "amount",
                                    "listAmount",
                                    "externalRef"
                                  ],
                                  "properties": {
                                    "chargeCode": {
                                      "type": "string"
                                    },
                                    "amount": {
                                      "type": "number"
                                    },
                                    "listAmount": {
                                      "anyOf": [
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "externalRef": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  }
                                }
                              },
                              "instanceLabel": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "naming": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "instanceNoun",
                                  "instanceLabelAttributes",
                                  "unitNoun",
                                  "unitLabelAttributes"
                                ],
                                "properties": {
                                  "instanceNoun": {
                                    "anyOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "singular",
                                          "plural"
                                        ],
                                        "properties": {
                                          "singular": {
                                            "type": "string"
                                          },
                                          "plural": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "instanceLabelAttributes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "unitNoun": {
                                    "anyOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "singular",
                                          "plural"
                                        ],
                                        "properties": {
                                          "singular": {
                                            "type": "string"
                                          },
                                          "plural": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "unitLabelAttributes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                }
                              },
                              "orderId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                              },
                              "status": {
                                "type": "string",
                                "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                              },
                              "createdBy": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "updatedBy": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time"
                              }
                            }
                          },
                          "units": {
                            "type": "array",
                            "description": "The unit rows named in the request, as they read after the update.",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "unitNumber",
                                "status",
                                "attributes"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "unitNumber": {
                                  "type": "integer"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "ACTIVE",
                                    "REMOVED"
                                  ]
                                },
                                "attributes": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          },
                          "changedServiceIds": {
                            "type": "array",
                            "description": "Services changed by the request. Empty while the values are stored on the Quote.",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Set or clear service details on many quote items and units in one request, without changing price or approval."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/attribute-groups/{groupCode}": {
      "put": {
        "operationId": "replaceCartItemAttributeGroup",
        "summary": "Replace an attribute group",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rows": {
                    "maxItems": 10000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "rows"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]*$"
            },
            "in": "path",
            "name": "groupCode",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Replace one repeatable attribute group on a Quote item"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/addons": {
      "put": {
        "operationId": "configureCartItemAddons",
        "summary": "Set item add-ons",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "items": {
                    "default": [],
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "relationshipId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "targetType": {
                          "type": "string",
                          "enum": [
                            "PRODUCT_OFFERING",
                            "PACKAGE",
                            "SOLUTION"
                          ]
                        },
                        "targetRef": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "addonGroupCode": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^[A-Z][A-Z0-9_]{1,63}$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "quantity": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100000
                        },
                        "attributes": {
                          "default": {},
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "parentItem",
                    "items",
                    "validationStatus",
                    "validationIssues"
                  ],
                  "properties": {
                    "parentItem": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "cartId",
                        "parentCartItemId",
                        "sourceCartItemId",
                        "sourceServiceId",
                        "sourceDeliverableItemId",
                        "sourceComponentType",
                        "sourceComponentId",
                        "componentRoleCode",
                        "itemType",
                        "itemId",
                        "itemCode",
                        "itemName",
                        "productVariantId",
                        "productVariantCode",
                        "productDefinitionId",
                        "productDefinitionCode",
                        "orderProductType",
                        "cataloguePublishRunId",
                        "catalogueViewId",
                        "action",
                        "quantity",
                        "quantityStrategy",
                        "attributes",
                        "facts",
                        "charges",
                        "priceSnapshot",
                        "status",
                        "createdBy",
                        "updatedBy",
                        "createdAt",
                        "updatedAt"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cartId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "parentCartItemId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceCartItemId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceServiceId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceDeliverableItemId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceComponentType": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceComponentId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "componentRoleCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "itemType": {
                          "type": "string",
                          "enum": [
                            "PRODUCT_OFFERING",
                            "PACKAGE",
                            "SOLUTION"
                          ]
                        },
                        "itemId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "itemCode": {
                          "type": "string"
                        },
                        "itemName": {
                          "type": "string"
                        },
                        "productVariantId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "productVariantCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "productDefinitionId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "productDefinitionCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "orderProductType": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "SUBSCRIPTION",
                                "DELIVERABLE"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cataloguePublishRunId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "catalogueViewId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "action": {
                          "type": "string",
                          "enum": [
                            "ADD",
                            "NO_CHANGE",
                            "MODIFY",
                            "REMOVE"
                          ]
                        },
                        "quantity": {
                          "type": "integer"
                        },
                        "quantityStrategy": {
                          "type": "string",
                          "enum": [
                            "MULTIPLIER",
                            "UNIT"
                          ]
                        },
                        "attributes": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "facts": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "charges": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "chargeCode",
                              "name",
                              "chargeType",
                              "pricingRole",
                              "chargeSource",
                              "discountType",
                              "parentChargeId",
                              "ratingMode",
                              "amount",
                              "unitPrice",
                              "quantity",
                              "currency",
                              "billingPeriod",
                              "sourceChargeDefinitionId",
                              "sourcePricebookEntryId",
                              "sourcePricingRuleId",
                              "activatedByRuleIds",
                              "reasonCode",
                              "approvalStatus",
                              "priceDetails"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "chargeCode": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "chargeType": {
                                "type": "string",
                                "enum": [
                                  "ONE_TIME",
                                  "RECURRING"
                                ]
                              },
                              "pricingRole": {
                                "type": "string",
                                "enum": [
                                  "CHARGE",
                                  "DISCOUNT",
                                  "SURCHARGE"
                                ]
                              },
                              "chargeSource": {
                                "type": "string",
                                "enum": [
                                  "BASE_PRICE",
                                  "CATALOGUE_DISCOUNT",
                                  "CATALOGUE_WAIVER",
                                  "CATALOGUE_SURCHARGE",
                                  "DISCRETIONARY_DISCOUNT",
                                  "MANUAL_CHARGE",
                                  "EXTERNAL_PRICE"
                                ]
                              },
                              "discountType": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "AMOUNT",
                                      "PERCENT",
                                      "WAIVE"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "parentChargeId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "ratingMode": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "METERED"
                                ]
                              },
                              "amount": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitPrice": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "quantity": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "currency": {
                                "type": "string"
                              },
                              "billingPeriod": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceChargeDefinitionId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourcePricebookEntryId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourcePricingRuleId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "activatedByRuleIds": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid"
                                }
                              },
                              "reasonCode": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "externalRef": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "approvalStatus": {
                                "type": "string"
                              },
                              "priceDetails": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        },
                        "priceSnapshot": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "externalPrices": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "chargeCode",
                              "amount",
                              "listAmount",
                              "externalRef"
                            ],
                            "properties": {
                              "chargeCode": {
                                "type": "string"
                              },
                              "amount": {
                                "type": "number"
                              },
                              "listAmount": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "externalRef": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          }
                        },
                        "instanceLabel": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "naming": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "instanceNoun",
                            "instanceLabelAttributes",
                            "unitNoun",
                            "unitLabelAttributes"
                          ],
                          "properties": {
                            "instanceNoun": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "singular",
                                    "plural"
                                  ],
                                  "properties": {
                                    "singular": {
                                      "type": "string"
                                    },
                                    "plural": {
                                      "type": "string"
                                    }
                                  }
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "instanceLabelAttributes": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "unitNoun": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "singular",
                                    "plural"
                                  ],
                                  "properties": {
                                    "singular": {
                                      "type": "string"
                                    },
                                    "plural": {
                                      "type": "string"
                                    }
                                  }
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "unitLabelAttributes": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "orderId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                        },
                        "status": {
                          "type": "string",
                          "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                        },
                        "createdBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "updatedBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "cartId",
                          "parentCartItemId",
                          "sourceCartItemId",
                          "sourceServiceId",
                          "sourceDeliverableItemId",
                          "sourceComponentType",
                          "sourceComponentId",
                          "componentRoleCode",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "itemName",
                          "productVariantId",
                          "productVariantCode",
                          "productDefinitionId",
                          "productDefinitionCode",
                          "orderProductType",
                          "cataloguePublishRunId",
                          "catalogueViewId",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "attributes",
                          "facts",
                          "charges",
                          "priceSnapshot",
                          "status",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "parentCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceDeliverableItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentType": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "componentRoleCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "itemName": {
                            "type": "string"
                          },
                          "productVariantId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productVariantCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "orderProductType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "SUBSCRIPTION",
                                  "DELIVERABLE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cataloguePublishRunId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "catalogueViewId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "action": {
                            "type": "string",
                            "enum": [
                              "ADD",
                              "NO_CHANGE",
                              "MODIFY",
                              "REMOVE"
                            ]
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string",
                            "enum": [
                              "MULTIPLIER",
                              "UNIT"
                            ]
                          },
                          "attributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "facts": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "charges": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "chargeCode",
                                "name",
                                "chargeType",
                                "pricingRole",
                                "chargeSource",
                                "discountType",
                                "parentChargeId",
                                "ratingMode",
                                "amount",
                                "unitPrice",
                                "quantity",
                                "currency",
                                "billingPeriod",
                                "sourceChargeDefinitionId",
                                "sourcePricebookEntryId",
                                "sourcePricingRuleId",
                                "activatedByRuleIds",
                                "reasonCode",
                                "approvalStatus",
                                "priceDetails"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "chargeCode": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "chargeType": {
                                  "type": "string",
                                  "enum": [
                                    "ONE_TIME",
                                    "RECURRING"
                                  ]
                                },
                                "pricingRole": {
                                  "type": "string",
                                  "enum": [
                                    "CHARGE",
                                    "DISCOUNT",
                                    "SURCHARGE"
                                  ]
                                },
                                "chargeSource": {
                                  "type": "string",
                                  "enum": [
                                    "BASE_PRICE",
                                    "CATALOGUE_DISCOUNT",
                                    "CATALOGUE_WAIVER",
                                    "CATALOGUE_SURCHARGE",
                                    "DISCRETIONARY_DISCOUNT",
                                    "MANUAL_CHARGE",
                                    "EXTERNAL_PRICE"
                                  ]
                                },
                                "discountType": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "AMOUNT",
                                        "PERCENT",
                                        "WAIVE"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "parentChargeId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "ratingMode": {
                                  "type": "string",
                                  "enum": [
                                    "CART",
                                    "METERED"
                                  ]
                                },
                                "amount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "unitPrice": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "quantity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "billingPeriod": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourceChargeDefinitionId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricebookEntryId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricingRuleId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "activatedByRuleIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid"
                                  }
                                },
                                "reasonCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "approvalStatus": {
                                  "type": "string"
                                },
                                "priceDetails": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          },
                          "priceSnapshot": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "externalPrices": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "chargeCode",
                                "amount",
                                "listAmount",
                                "externalRef"
                              ],
                              "properties": {
                                "chargeCode": {
                                  "type": "string"
                                },
                                "amount": {
                                  "type": "number"
                                },
                                "listAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            }
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                          },
                          "status": {
                            "type": "string",
                            "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "NOT_VALIDATED",
                        "VALID",
                        "HAS_WARNINGS",
                        "HAS_ERRORS"
                      ]
                    },
                    "validationIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Replace the selected add-ons beneath one Quote product"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/restore": {
      "post": {
        "operationId": "restoreCartItem",
        "summary": "Restore a quote item",
        "tags": [
          "Quote Configuration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.manage"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Restore one removed Quote item"
      }
    },
    "/api/v1/carts/{cartId}/price": {
      "post": {
        "operationId": "priceCart",
        "summary": "Price a quote",
        "tags": [
          "Quote Pricing and Validation"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "reviewedBasis": {
                    "type": "object",
                    "properties": {
                      "discountAuthorityDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "commercialDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "approvalRequestId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "approvalDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "required": [
                      "commercialDigest"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cart",
                    "totals",
                    "pricingIssues",
                    "benchmark",
                    "ruleEvaluation"
                  ],
                  "properties": {
                    "cart": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "cartNumber",
                        "name",
                        "cartType",
                        "status",
                        "accountId",
                        "primaryContactId",
                        "assignedSellerId",
                        "assignedAt",
                        "assignedBy",
                        "catalogueCode",
                        "catalogueViewCode",
                        "pricebookCode",
                        "currency",
                        "agreementId",
                        "agreementCode",
                        "agreementName",
                        "discretionaryDiscountsAllowed",
                        "sourceCartId",
                        "sourceOrderId",
                        "sourceSubscriptionId",
                        "orderStatus",
                        "orderedItemCount",
                        "changeCode",
                        "attributes",
                        "validationStatus",
                        "validationIssues",
                        "ruleResults",
                        "pricedAt",
                        "expiresAt",
                        "acceptedAt",
                        "version",
                        "createdBy",
                        "updatedBy",
                        "createdAt",
                        "updatedAt"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cartNumber": {
                          "type": "string"
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cartType": {
                          "type": "string",
                          "enum": [
                            "NEW_SALE",
                            "SUBSCRIPTION_CHANGE",
                            "ORDER_AMENDMENT"
                          ]
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "DRAFT",
                            "PRICED",
                            "PENDING_APPROVAL",
                            "APPROVED",
                            "ACCEPTED",
                            "ORDERED",
                            "CANCELLED",
                            "EXPIRED"
                          ]
                        },
                        "accountId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "primaryContactId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "assignedSellerId": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "assignedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "assignedBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "catalogueCode": {
                          "type": "string"
                        },
                        "catalogueViewCode": {
                          "type": "string"
                        },
                        "pricebookCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "agreementId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "agreementCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "agreementName": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "discretionaryDiscountsAllowed": {
                          "type": "boolean"
                        },
                        "sourceCartId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceOrderId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceSubscriptionId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "orderStatus": {
                          "type": "string",
                          "enum": [
                            "NOT_ORDERED",
                            "PARTIALLY_ORDERED",
                            "ORDERED"
                          ],
                          "description": "Ordering progress, independent of the commercial status. PARTIALLY_ORDERED when some top-level items are ordered and others are still open."
                        },
                        "orderedItemCount": {
                          "type": "integer",
                          "description": "Number of top-level items already ordered."
                        },
                        "changeCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "attributes": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "validationStatus": {
                          "type": "string",
                          "enum": [
                            "VALID",
                            "HAS_WARNINGS",
                            "HAS_ERRORS"
                          ]
                        },
                        "validationIssues": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        },
                        "ruleResults": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "pricedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expiresAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "acceptedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "version": {
                          "type": "integer"
                        },
                        "createdBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "updatedBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    },
                    "totals": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "currency",
                        "oneTimeTotal",
                        "recurringTotalsByPeriod",
                        "meteredTariffCount",
                        "list",
                        "adjusted",
                        "sales"
                      ],
                      "properties": {
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "oneTimeTotal": {
                          "type": "number"
                        },
                        "recurringTotalsByPeriod": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "billingPeriod",
                              "listAmount",
                              "adjustmentAmount",
                              "salesAmount"
                            ],
                            "properties": {
                              "billingPeriod": {
                                "type": "string"
                              },
                              "listAmount": {
                                "type": "number"
                              },
                              "adjustmentAmount": {
                                "type": "number"
                              },
                              "salesAmount": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "meteredTariffCount": {
                          "type": "integer"
                        },
                        "list": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        },
                        "adjusted": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        },
                        "sales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        }
                      }
                    },
                    "pricingIssues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "scope",
                          "source",
                          "details"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING",
                              "INFO"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "CART_ITEM",
                              "ADDON_GROUP",
                              "COMPONENT"
                            ]
                          },
                          "cartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "source": {
                            "type": "string"
                          },
                          "details": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "benchmark": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "durationMs",
                        "itemCount",
                        "chargeCount"
                      ],
                      "properties": {
                        "durationMs": {
                          "type": "number"
                        },
                        "itemCount": {
                          "type": "integer"
                        },
                        "chargeCount": {
                          "type": "integer"
                        }
                      }
                    },
                    "ruleEvaluation": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "cartId",
                        "phase",
                        "valid",
                        "errors",
                        "warnings",
                        "recommendations",
                        "approvalRequirements",
                        "results",
                        "publishRunId",
                        "evaluatedAt",
                        "durationMs",
                        "evaluatedRuleCount",
                        "evaluatedSubjectCount"
                      ],
                      "properties": {
                        "cartId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "phase": {
                          "type": "string",
                          "enum": [
                            "CANDIDATE",
                            "IMMEDIATE",
                            "AFTER_PRICING",
                            "PRE_ACCEPT"
                          ]
                        },
                        "valid": {
                          "type": "boolean"
                        },
                        "errors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        },
                        "warnings": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "code",
                              "severity",
                              "message",
                              "scope",
                              "source",
                              "details"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "severity": {
                                "type": "string",
                                "enum": [
                                  "ERROR",
                                  "WARNING",
                                  "INFO"
                                ]
                              },
                              "message": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string",
                                "enum": [
                                  "CART",
                                  "CART_ITEM",
                                  "ADDON_GROUP",
                                  "COMPONENT"
                                ]
                              },
                              "cartItemId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "source": {
                                "type": "string"
                              },
                              "details": {
                                "type": "object",
                                "additionalProperties": true
                              }
                            }
                          }
                        },
                        "recommendations": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "key",
                              "ruleCode",
                              "category",
                              "outcome",
                              "reference"
                            ],
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "ruleCode": {
                                "type": "string"
                              },
                              "category": {
                                "type": "string",
                                "enum": [
                                  "ELIGIBILITY",
                                  "COMPATIBILITY",
                                  "VALIDATION",
                                  "RECOMMENDATION",
                                  "APPROVAL",
                                  "PRICING"
                                ]
                              },
                              "outcome": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "type",
                                  "code",
                                  "message"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "ERROR",
                                      "WARNING",
                                      "RECOMMEND_PRODUCT",
                                      "REQUIRE_APPROVAL",
                                      "ACTIVATE_CHARGE",
                                      "SELECT_PRICE"
                                    ]
                                  },
                                  "code": {
                                    "type": "string"
                                  },
                                  "message": {
                                    "type": "string"
                                  },
                                  "targetChargeDefinitionId": {
                                    "type": "string"
                                  },
                                  "targetChargeDefinitionCode": {
                                    "type": "string"
                                  },
                                  "priceCode": {
                                    "type": "string"
                                  },
                                  "targetProductCodes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "remediation": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "type"
                                    ],
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "NONE",
                                          "ADD_PRODUCT",
                                          "REMOVE_PRODUCT",
                                          "CHANGE_ATTRIBUTE"
                                        ]
                                      },
                                      "productCode": {
                                        "type": "string"
                                      },
                                      "attributeCode": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              },
                              "reference": {
                                "type": "object",
                                "additionalProperties": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "decisionRowCode": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "approvalRequirements": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "key",
                              "ruleCode",
                              "category",
                              "outcome",
                              "reference"
                            ],
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "ruleCode": {
                                "type": "string"
                              },
                              "category": {
                                "type": "string",
                                "enum": [
                                  "ELIGIBILITY",
                                  "COMPATIBILITY",
                                  "VALIDATION",
                                  "RECOMMENDATION",
                                  "APPROVAL",
                                  "PRICING"
                                ]
                              },
                              "outcome": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "type",
                                  "code",
                                  "message"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "ERROR",
                                      "WARNING",
                                      "RECOMMEND_PRODUCT",
                                      "REQUIRE_APPROVAL",
                                      "ACTIVATE_CHARGE",
                                      "SELECT_PRICE"
                                    ]
                                  },
                                  "code": {
                                    "type": "string"
                                  },
                                  "message": {
                                    "type": "string"
                                  },
                                  "targetChargeDefinitionId": {
                                    "type": "string"
                                  },
                                  "targetChargeDefinitionCode": {
                                    "type": "string"
                                  },
                                  "priceCode": {
                                    "type": "string"
                                  },
                                  "targetProductCodes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "remediation": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "type"
                                    ],
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "NONE",
                                          "ADD_PRODUCT",
                                          "REMOVE_PRODUCT",
                                          "CHANGE_ATTRIBUTE"
                                        ]
                                      },
                                      "productCode": {
                                        "type": "string"
                                      },
                                      "attributeCode": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              },
                              "reference": {
                                "type": "object",
                                "additionalProperties": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "decisionRowCode": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "results": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "key",
                              "ruleCode",
                              "category",
                              "outcome",
                              "reference"
                            ],
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "ruleCode": {
                                "type": "string"
                              },
                              "category": {
                                "type": "string",
                                "enum": [
                                  "ELIGIBILITY",
                                  "COMPATIBILITY",
                                  "VALIDATION",
                                  "RECOMMENDATION",
                                  "APPROVAL",
                                  "PRICING"
                                ]
                              },
                              "outcome": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "type",
                                  "code",
                                  "message"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "ERROR",
                                      "WARNING",
                                      "RECOMMEND_PRODUCT",
                                      "REQUIRE_APPROVAL",
                                      "ACTIVATE_CHARGE",
                                      "SELECT_PRICE"
                                    ]
                                  },
                                  "code": {
                                    "type": "string"
                                  },
                                  "message": {
                                    "type": "string"
                                  },
                                  "targetChargeDefinitionId": {
                                    "type": "string"
                                  },
                                  "targetChargeDefinitionCode": {
                                    "type": "string"
                                  },
                                  "priceCode": {
                                    "type": "string"
                                  },
                                  "targetProductCodes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "remediation": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "type"
                                    ],
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "NONE",
                                          "ADD_PRODUCT",
                                          "REMOVE_PRODUCT",
                                          "CHANGE_ATTRIBUTE"
                                        ]
                                      },
                                      "productCode": {
                                        "type": "string"
                                      },
                                      "attributeCode": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              },
                              "reference": {
                                "type": "object",
                                "additionalProperties": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "decisionRowCode": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "publishRunId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "evaluatedAt": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "evaluatedRuleCount": {
                          "type": "integer"
                        },
                        "evaluatedSubjectCount": {
                          "type": "integer"
                        },
                        "version": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.price"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Price a configured quote."
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/external-prices/{chargeCode}": {
      "put": {
        "operationId": "setCartItemExternalPrice",
        "summary": "Set an external price",
        "tags": [
          "Quote Configuration"
        ],
        "description": "Stores the amount a customer pricing engine supplied for one EXTERNAL charge. Other prices on the item are untouched. The Quote returns to DRAFT until it is priced again.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "listAmount": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "externalRef": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "amount"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
            },
            "in": "path",
            "name": "chargeCode",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.price"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      },
      "delete": {
        "operationId": "removeCartItemExternalPrice",
        "summary": "Remove an external price",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "commandId",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "in": "query",
            "name": "expectedVersion",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
            },
            "in": "path",
            "name": "chargeCode",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.price"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Remove one external price from a Quote item"
      }
    },
    "/api/v1/carts/{cartId}/items/{cartItemId}/external-prices": {
      "delete": {
        "operationId": "clearCartItemExternalPrices",
        "summary": "Clear external prices",
        "tags": [
          "Quote Configuration"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "commandId",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "in": "query",
            "name": "expectedVersion",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartItemId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "cartId",
                    "parentCartItemId",
                    "sourceCartItemId",
                    "sourceServiceId",
                    "sourceDeliverableItemId",
                    "sourceComponentType",
                    "sourceComponentId",
                    "componentRoleCode",
                    "itemType",
                    "itemId",
                    "itemCode",
                    "itemName",
                    "productVariantId",
                    "productVariantCode",
                    "productDefinitionId",
                    "productDefinitionCode",
                    "orderProductType",
                    "cataloguePublishRunId",
                    "catalogueViewId",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "attributes",
                    "facts",
                    "charges",
                    "priceSnapshot",
                    "status",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "parentCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceCartItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceDeliverableItemId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentType": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceComponentId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "componentRoleCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_OFFERING",
                        "PACKAGE",
                        "SOLUTION"
                      ]
                    },
                    "itemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "itemCode": {
                      "type": "string"
                    },
                    "itemName": {
                      "type": "string"
                    },
                    "productVariantId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productVariantCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productDefinitionCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderProductType": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "SUBSCRIPTION",
                            "DELIVERABLE"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cataloguePublishRunId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "catalogueViewId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "ADD",
                        "NO_CHANGE",
                        "MODIFY",
                        "REMOVE"
                      ]
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string",
                      "enum": [
                        "MULTIPLIER",
                        "UNIT"
                      ]
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "facts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "charges": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "chargeCode",
                          "name",
                          "chargeType",
                          "pricingRole",
                          "chargeSource",
                          "discountType",
                          "parentChargeId",
                          "ratingMode",
                          "amount",
                          "unitPrice",
                          "quantity",
                          "currency",
                          "billingPeriod",
                          "sourceChargeDefinitionId",
                          "sourcePricebookEntryId",
                          "sourcePricingRuleId",
                          "activatedByRuleIds",
                          "reasonCode",
                          "approvalStatus",
                          "priceDetails"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "chargeCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "chargeType": {
                            "type": "string",
                            "enum": [
                              "ONE_TIME",
                              "RECURRING"
                            ]
                          },
                          "pricingRole": {
                            "type": "string",
                            "enum": [
                              "CHARGE",
                              "DISCOUNT",
                              "SURCHARGE"
                            ]
                          },
                          "chargeSource": {
                            "type": "string",
                            "enum": [
                              "BASE_PRICE",
                              "CATALOGUE_DISCOUNT",
                              "CATALOGUE_WAIVER",
                              "CATALOGUE_SURCHARGE",
                              "DISCRETIONARY_DISCOUNT",
                              "MANUAL_CHARGE",
                              "EXTERNAL_PRICE"
                            ]
                          },
                          "discountType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "AMOUNT",
                                  "PERCENT",
                                  "WAIVE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentChargeId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ratingMode": {
                            "type": "string",
                            "enum": [
                              "CART",
                              "METERED"
                            ]
                          },
                          "amount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unitPrice": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "quantity": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "billingPeriod": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceChargeDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricebookEntryId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcePricingRuleId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "activatedByRuleIds": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "reasonCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "approvalStatus": {
                            "type": "string"
                          },
                          "priceDetails": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    },
                    "priceSnapshot": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "externalPrices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "chargeCode",
                          "amount",
                          "listAmount",
                          "externalRef"
                        ],
                        "properties": {
                          "chargeCode": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "listAmount": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "orderId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                    },
                    "status": {
                      "type": "string",
                      "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.price"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Remove every external price from a Quote item"
      }
    },
    "/api/v1/carts/{cartId}/external-prices/bulk-upsert": {
      "post": {
        "operationId": "bulkUpsertCartExternalPrices",
        "summary": "Set external prices in bulk",
        "tags": [
          "Quotes"
        ],
        "description": "Each entry names a logical Quote item and EXTERNAL charge code. Prices not listed are untouched. Up to 1,000 entries.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "prices": {
                    "minItems": 1,
                    "maxItems": 1000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "cartItemId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "chargeCode": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
                        },
                        "amount": {
                          "type": "number"
                        },
                        "listAmount": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "externalRef": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "cartItemId",
                        "chargeCode",
                        "amount"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "prices"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cartVersion",
                    "items"
                  ],
                  "properties": {
                    "cartVersion": {
                      "type": "integer"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "cartId",
                          "parentCartItemId",
                          "sourceCartItemId",
                          "sourceServiceId",
                          "sourceDeliverableItemId",
                          "sourceComponentType",
                          "sourceComponentId",
                          "componentRoleCode",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "itemName",
                          "productVariantId",
                          "productVariantCode",
                          "productDefinitionId",
                          "productDefinitionCode",
                          "orderProductType",
                          "cataloguePublishRunId",
                          "catalogueViewId",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "attributes",
                          "facts",
                          "charges",
                          "priceSnapshot",
                          "status",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "parentCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceDeliverableItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentType": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "componentRoleCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "itemName": {
                            "type": "string"
                          },
                          "productVariantId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productVariantCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "orderProductType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "SUBSCRIPTION",
                                  "DELIVERABLE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cataloguePublishRunId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "catalogueViewId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "action": {
                            "type": "string",
                            "enum": [
                              "ADD",
                              "NO_CHANGE",
                              "MODIFY",
                              "REMOVE"
                            ]
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string",
                            "enum": [
                              "MULTIPLIER",
                              "UNIT"
                            ]
                          },
                          "attributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "facts": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "charges": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "chargeCode",
                                "name",
                                "chargeType",
                                "pricingRole",
                                "chargeSource",
                                "discountType",
                                "parentChargeId",
                                "ratingMode",
                                "amount",
                                "unitPrice",
                                "quantity",
                                "currency",
                                "billingPeriod",
                                "sourceChargeDefinitionId",
                                "sourcePricebookEntryId",
                                "sourcePricingRuleId",
                                "activatedByRuleIds",
                                "reasonCode",
                                "approvalStatus",
                                "priceDetails"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "chargeCode": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "chargeType": {
                                  "type": "string",
                                  "enum": [
                                    "ONE_TIME",
                                    "RECURRING"
                                  ]
                                },
                                "pricingRole": {
                                  "type": "string",
                                  "enum": [
                                    "CHARGE",
                                    "DISCOUNT",
                                    "SURCHARGE"
                                  ]
                                },
                                "chargeSource": {
                                  "type": "string",
                                  "enum": [
                                    "BASE_PRICE",
                                    "CATALOGUE_DISCOUNT",
                                    "CATALOGUE_WAIVER",
                                    "CATALOGUE_SURCHARGE",
                                    "DISCRETIONARY_DISCOUNT",
                                    "MANUAL_CHARGE",
                                    "EXTERNAL_PRICE"
                                  ]
                                },
                                "discountType": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "AMOUNT",
                                        "PERCENT",
                                        "WAIVE"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "parentChargeId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "ratingMode": {
                                  "type": "string",
                                  "enum": [
                                    "CART",
                                    "METERED"
                                  ]
                                },
                                "amount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "unitPrice": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "quantity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "billingPeriod": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourceChargeDefinitionId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricebookEntryId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricingRuleId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "activatedByRuleIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid"
                                  }
                                },
                                "reasonCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "approvalStatus": {
                                  "type": "string"
                                },
                                "priceDetails": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          },
                          "priceSnapshot": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "externalPrices": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "chargeCode",
                                "amount",
                                "listAmount",
                                "externalRef"
                              ],
                              "properties": {
                                "chargeCode": {
                                  "type": "string"
                                },
                                "amount": {
                                  "type": "number"
                                },
                                "listAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            }
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                          },
                          "status": {
                            "type": "string",
                            "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.price"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/carts/{cartId}/external-prices/bulk-remove": {
      "post": {
        "operationId": "bulkRemoveCartExternalPrices",
        "summary": "Remove external prices in bulk",
        "tags": [
          "Quotes"
        ],
        "description": "An entry with a chargeCode removes that price; an entry without one clears the item. Up to 1,000 entries.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "prices": {
                    "minItems": 1,
                    "maxItems": 1000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "cartItemId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "chargeCode": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
                        }
                      },
                      "required": [
                        "cartItemId"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "prices"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cartVersion",
                    "items"
                  ],
                  "properties": {
                    "cartVersion": {
                      "type": "integer"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "cartId",
                          "parentCartItemId",
                          "sourceCartItemId",
                          "sourceServiceId",
                          "sourceDeliverableItemId",
                          "sourceComponentType",
                          "sourceComponentId",
                          "componentRoleCode",
                          "itemType",
                          "itemId",
                          "itemCode",
                          "itemName",
                          "productVariantId",
                          "productVariantCode",
                          "productDefinitionId",
                          "productDefinitionCode",
                          "orderProductType",
                          "cataloguePublishRunId",
                          "catalogueViewId",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "attributes",
                          "facts",
                          "charges",
                          "priceSnapshot",
                          "status",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "parentCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceCartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceDeliverableItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentType": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceComponentId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "componentRoleCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string",
                            "enum": [
                              "PRODUCT_OFFERING",
                              "PACKAGE",
                              "SOLUTION"
                            ]
                          },
                          "itemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "itemCode": {
                            "type": "string"
                          },
                          "itemName": {
                            "type": "string"
                          },
                          "productVariantId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productVariantCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productDefinitionCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "orderProductType": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "SUBSCRIPTION",
                                  "DELIVERABLE"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cataloguePublishRunId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "catalogueViewId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "action": {
                            "type": "string",
                            "enum": [
                              "ADD",
                              "NO_CHANGE",
                              "MODIFY",
                              "REMOVE"
                            ]
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string",
                            "enum": [
                              "MULTIPLIER",
                              "UNIT"
                            ]
                          },
                          "attributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "facts": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "charges": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "id",
                                "chargeCode",
                                "name",
                                "chargeType",
                                "pricingRole",
                                "chargeSource",
                                "discountType",
                                "parentChargeId",
                                "ratingMode",
                                "amount",
                                "unitPrice",
                                "quantity",
                                "currency",
                                "billingPeriod",
                                "sourceChargeDefinitionId",
                                "sourcePricebookEntryId",
                                "sourcePricingRuleId",
                                "activatedByRuleIds",
                                "reasonCode",
                                "approvalStatus",
                                "priceDetails"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "chargeCode": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "chargeType": {
                                  "type": "string",
                                  "enum": [
                                    "ONE_TIME",
                                    "RECURRING"
                                  ]
                                },
                                "pricingRole": {
                                  "type": "string",
                                  "enum": [
                                    "CHARGE",
                                    "DISCOUNT",
                                    "SURCHARGE"
                                  ]
                                },
                                "chargeSource": {
                                  "type": "string",
                                  "enum": [
                                    "BASE_PRICE",
                                    "CATALOGUE_DISCOUNT",
                                    "CATALOGUE_WAIVER",
                                    "CATALOGUE_SURCHARGE",
                                    "DISCRETIONARY_DISCOUNT",
                                    "MANUAL_CHARGE",
                                    "EXTERNAL_PRICE"
                                  ]
                                },
                                "discountType": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "AMOUNT",
                                        "PERCENT",
                                        "WAIVE"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "parentChargeId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "ratingMode": {
                                  "type": "string",
                                  "enum": [
                                    "CART",
                                    "METERED"
                                  ]
                                },
                                "amount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "unitPrice": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "quantity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "billingPeriod": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourceChargeDefinitionId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricebookEntryId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "sourcePricingRuleId": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "activatedByRuleIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid"
                                  }
                                },
                                "reasonCode": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "approvalStatus": {
                                  "type": "string"
                                },
                                "priceDetails": {
                                  "type": "object",
                                  "additionalProperties": true
                                }
                              }
                            }
                          },
                          "priceSnapshot": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "externalPrices": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "chargeCode",
                                "amount",
                                "listAmount",
                                "externalRef"
                              ],
                              "properties": {
                                "chargeCode": {
                                  "type": "string"
                                },
                                "amount": {
                                  "type": "number"
                                },
                                "listAmount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "externalRef": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            }
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Order this top-level item was ordered in. Ordered items are read-only in the Quote; their components and add-ons are ordered with them."
                          },
                          "status": {
                            "type": "string",
                            "description": "ACTIVE, REMOVED, or WITHDRAWN when the open items of a partially ordered Quote were closed."
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.cart.price"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION"
      }
    },
    "/api/v1/carts/{cartId}/order": {
      "post": {
        "operationId": "createOrderFromCart",
        "summary": "Place an order",
        "tags": [
          "Order Placement"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commandId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expectedVersion": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "reviewedBasis": {
                    "type": "object",
                    "properties": {
                      "discountAuthorityDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "commercialDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "approvalRequestId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "approvalDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "required": [
                      "commercialDigest"
                    ],
                    "additionalProperties": false
                  },
                  "expectedSourceDigest": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "cartItemIds": {
                    "minItems": 1,
                    "maxItems": 1000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "customerReference": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "customerAcceptedAt": {},
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "expectedVersion"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "cartId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "201": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "order",
                    "subscriptions",
                    "services",
                    "deliverableItems"
                  ],
                  "properties": {
                    "execution": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "commandId",
                        "cartVersion"
                      ],
                      "properties": {
                        "commandId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cartVersion": {
                          "type": "integer",
                          "minimum": 1
                        }
                      }
                    },
                    "order": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "orderNumber",
                        "revisionNumber",
                        "sourceCartId",
                        "sourceSubscriptionId",
                        "idempotencyKey",
                        "accountId",
                        "primaryContactId",
                        "orderType",
                        "status",
                        "subStatus",
                        "catalogueCode",
                        "catalogueViewCode",
                        "pricebookCode",
                        "currency",
                        "totals",
                        "externalRef",
                        "metadata",
                        "pointOfNoReturnAt",
                        "customerReference",
                        "customerAcceptedAt",
                        "note",
                        "createdBy",
                        "updatedBy",
                        "createdAt",
                        "updatedAt"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "orderNumber": {
                          "type": "string"
                        },
                        "revisionNumber": {
                          "type": "integer"
                        },
                        "sourceCartId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceSubscriptionId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "idempotencyKey": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "accountId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "primaryContactId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "orderType": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "subStatus": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "catalogueCode": {
                          "type": "string"
                        },
                        "catalogueViewCode": {
                          "type": "string"
                        },
                        "pricebookCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "totals": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "currency",
                            "oneTimeTotal",
                            "recurringTotalsByPeriod",
                            "meteredTariffCount",
                            "list",
                            "adjusted",
                            "sales"
                          ],
                          "properties": {
                            "currency": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "oneTimeTotal": {
                              "type": "number"
                            },
                            "recurringTotalsByPeriod": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "billingPeriod",
                                  "listAmount",
                                  "adjustmentAmount",
                                  "salesAmount"
                                ],
                                "properties": {
                                  "billingPeriod": {
                                    "type": "string"
                                  },
                                  "listAmount": {
                                    "type": "number"
                                  },
                                  "adjustmentAmount": {
                                    "type": "number"
                                  },
                                  "salesAmount": {
                                    "type": "number"
                                  }
                                }
                              }
                            },
                            "meteredTariffCount": {
                              "type": "integer"
                            },
                            "list": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "recurringAmount",
                                "oneTimeAmount",
                                "totalAmount"
                              ],
                              "properties": {
                                "recurringAmount": {
                                  "type": "number"
                                },
                                "oneTimeAmount": {
                                  "type": "number"
                                },
                                "totalAmount": {
                                  "type": "number"
                                }
                              }
                            },
                            "adjusted": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "recurringAmount",
                                "oneTimeAmount",
                                "totalAmount"
                              ],
                              "properties": {
                                "recurringAmount": {
                                  "type": "number"
                                },
                                "oneTimeAmount": {
                                  "type": "number"
                                },
                                "totalAmount": {
                                  "type": "number"
                                }
                              }
                            },
                            "sales": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "recurringAmount",
                                "oneTimeAmount",
                                "totalAmount"
                              ],
                              "properties": {
                                "recurringAmount": {
                                  "type": "number"
                                },
                                "oneTimeAmount": {
                                  "type": "number"
                                },
                                "totalAmount": {
                                  "type": "number"
                                }
                              }
                            }
                          }
                        },
                        "externalRef": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "pointOfNoReturnAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "customerReference": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "customerAcceptedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "note": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "updatedBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    },
                    "subscriptions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "subscriptionNumber",
                          "orderId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "accountId",
                          "subscriptionType",
                          "status",
                          "subStatus",
                          "contextCode",
                          "name",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "subscriptionNumber": {
                            "type": "string"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "subscriptionType": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contextCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "services": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "serviceNumber",
                          "subscriptionId",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "parentServiceId",
                          "replacesServiceId",
                          "replacedByServiceId",
                          "itemType",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "serviceNumber": {
                            "type": "string"
                          },
                          "subscriptionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacesServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacedByServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string"
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "deliverableItems": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "deliverableNumber",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "relatedServiceId",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "deliverableNumber": {
                            "type": "string"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "relatedServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nonCommercialChange": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "changeCode",
                        "sourceSubscriptionId",
                        "affectedServiceIds"
                      ],
                      "properties": {
                        "changeCode": {
                          "type": "string"
                        },
                        "sourceSubscriptionId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "affectedServiceIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "amendment": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "benchmark": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "durationMs",
                        "cartItemCount",
                        "unitCount",
                        "subscriptionCount",
                        "serviceCount",
                        "deliverableItemCount"
                      ],
                      "properties": {
                        "durationMs": {
                          "type": "number"
                        },
                        "cartItemCount": {
                          "type": "integer"
                        },
                        "unitCount": {
                          "type": "integer"
                        },
                        "subscriptionCount": {
                          "type": "integer"
                        },
                        "serviceCount": {
                          "type": "integer"
                        },
                        "deliverableItemCount": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "commerce.order.create"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "COMMERCE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Create one Order from a validated and current Quote"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2ClientCredentials": {
        "type": "oauth2",
        "description": "Tenant-bound application credentials. Obtain the token endpoint and client credentials for the target environment from the tenant administrator.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://auth.example.com/oauth2/token",
            "scopes": {
              "commerce.cart.manage": "Create and configure customer Quotes",
              "commerce.cart.price": "Calculate Quote pricing",
              "commerce.cart.read": "Read a known customer Quote and its configuration",
              "commerce.catalogue.read": "Browse published catalogue views and products",
              "commerce.order.create": "Place an Order from an eligible Quote"
            }
          }
        }
      }
    },
    "schemas": {
      "ApiError": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "error",
          "message"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Stable machine-readable error code"
          },
          "message": {
            "type": "string",
            "description": "Human-readable explanation"
          },
          "details": {
            "type": "object",
            "additionalProperties": true,
            "description": "Optional structured domain details"
          }
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "The request is invalid or violates a domain rule.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "The access token is missing, invalid or expired.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "Forbidden": {
        "description": "The application is not allowed to perform this operation.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "InternalError": {
        "description": "An unexpected platform error occurred.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      }
    }
  }
}
