{
  "openapi": "3.0.1",
  "info": {
    "title": "Price Equation",
    "description": "Create and administer price equation.",
    "version": "9.1.20.0",
    "x-introduced": "9.1.0.0"
  },
  "servers": [
    {
      "url": "https://{hostname}:{port}/rest/admin/v2",
      "variables": {
        "port": {
          "default": "443",
          "enum": [
            "443",
            "8000"
          ]
        },
        "hostname": {
          "default": "localhost",
          "enum": [
            "localhost",
            "test.hcl.com"
          ]
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Price Equation",
      "description": "Create and administer price equation."
    }
  ],
  "paths": {
    "/price-equations": {
      "get": {
        "summary": "Get the price equations in a store.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "storeId",
            "in": "query",
            "description": "The unique numeric ID for identifying the store.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-context-data": "storeId"
            },
            "x-context-data": "storeId"
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The position within the resulting dataset where the query begins returning item records. If the offset is \"5\", the records that returned begin with the sixth record that matches the query parameters. If the offset is \"0\", the records that are returned begin with the first record that matches the query parameters.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/recordSetStartNumber"
            },
            "x-entity-path": "dataArea/get/recordSetStartNumber"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of records to return.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/maxItems"
            },
            "x-entity-path": "dataArea/get/maxItems"
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PriceEquationCollection"
                }
              }
            },
            "x-entity-path": "dataArea/priceEquation"
          }
        },
        "x-expression-template": "{_wcf.ap=IBM_Admin_Summary}/PriceEquation",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "getPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.GetPriceEquationType"
      },
      "post": {
        "summary": "Create a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "storeId",
            "in": "query",
            "description": "The unique numeric ID for identifying the store.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-context-data": "storeId",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/externalIdentifier/storeIdentifier/uniqueID"
            },
            "x-context-data": "storeId",
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/externalIdentifier/storeIdentifier/uniqueID"
          }
        ],
        "requestBody": {
          "description": "The request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PriceEquation"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The operation is successful.",
            "headers": {
              "Location": {
                "description": "The URI of the price equation.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {},
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID",
            "links": {
              "GetPriceEquationsById": {
                "operationRef": "#/paths/~1price-equations~1{id}/get",
                "parameters": {
                  "onlineStoreId": "$request.body#/id"
                },
                "description": "The `id`value used in the request body can be used as the `id`  parameter in `GET /price-equations/{id}`.\n"
              },
              "DeletePriceEquationsById": {
                "operationRef": "#/paths/~1price-equations~1{id}/delete",
                "parameters": {
                  "id": "$request.body#/id"
                },
                "description": "The `id`value used in the request body can be used as the The `id` parameter in `DELETE /price-equations/{id}`.\n"
              },
              "UpdatePriceEquationsById": {
                "operationRef": "#/paths/~1price-equations~1{id}/patch",
                "parameters": {
                  "id": "$request.body#/id"
                },
                "description": "The `id`value used in the request body can be used as the `id` parameter in `PATCH /price-equations/{id}`.\n"
              },
              "GetPriceEquationsBynameorDescription": {
                "operationRef": "#/paths/~1price-equations~1by-name-or-description/get",
                "parameters": {
                  "storeId": "$request.query.storeId",
                  "searchText": "$request.body#/name"
                },
                "description": "The `storeId`,`name` value used in the request body can be used as the  `storeId`,`name`parameter in `GET /price-equations/by-name-or-description`.\n"
              },
              "GetPriceEquationsByConstantId": {
                "operationRef": "#/paths/~1price-equations~1by-price-constant-id~1{priceConstantId}/get",
                "parameters": {
                  "storeId": "$request.query.storeId",
                  "priceConstantId ": "$response.header.Location"
                },
                "description": "The `storeId`,`priceConstantId` value used in the request body can be used as the `storeId`,`priceConstantId`  parameter in `GET /price-equations/by-price-constant-id/{priceConstantId}`.\n"
              },
              "GetPriceEquationsByPricelistId": {
                "operationRef": "#/paths/~1price-equations~1by-price-list-id~1{priceListId}/get",
                "parameters": {
                  "storeId": "$request.query.storeId",
                  "priceListId ": "$response.header.Location"
                },
                "description": "The `storeId`,`priceListId`value used in the request body can be used as the `storeId`,`priceListId`  parameter in `GET /price-equations/by-price-list-id/{priceListId}`.\n"
              },
              "CreatePriceComposeEquations": {
                "operationRef": "#/paths/~1price-equations~1{id}~1compose/post",
                "parameters": {
                  "onlineStoreId": "$request.body#/id"
                },
                "description": "The `id`value used in the request body can be used as the `id`  parameter in `POST /price-equations/{id}/compose`.\n"
              },
              "CreatePriceEntriesEquations": {
                "operationRef": "#/paths/~1price-equations~1{id}~1entries/post",
                "parameters": {
                  "onlineStoreId": "$request.body#/id"
                },
                "description": "The `id`value used in the request body can be used as the `id`  parameter in `POST /price-equations/{id}/entries`.\n"
              }
            }
          }
        },
        "x-action-code": "Create",
        "x-expression-template": "/PriceEquation[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "processPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ProcessPriceEquationType",
        "x-codegen-request-body-name": "body"
      }
    },
    "/price-equations/by-name-or-description": {
      "get": {
        "summary": "Search price rules by name or description.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "storeId",
            "in": "query",
            "description": "The unique numeric ID for identifying the store.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-context-data": "storeId"
            },
            "x-context-data": "storeId"
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "The name pattern to search.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The position within the resulting dataset where the query begins returning item records. If the offset is \"5\", the records that returned begin with the sixth record that matches the query parameters. If the offset is \"0\", the records that are returned begin with the first record that matches the query parameters.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/recordSetStartNumber"
            },
            "x-entity-path": "dataArea/get/recordSetStartNumber"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of records to return.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/maxItems"
            },
            "x-entity-path": "dataArea/get/maxItems"
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PriceEquationCollection"
                }
              }
            },
            "x-entity-path": "dataArea/priceEquation"
          }
        },
        "x-expression-builder-class": "com.ibm.commerce.foundation.internal.client.taglib.util.SearchExpressionBuilder",
        "x-expression-builder-method": "formatExpression",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "getPriceEquation",
        "x-parameters": {
          "accessProfile": "IBM_Admin_Summary",
          "template": "/PriceEquation[search(FormulaIdentifier/ExternalIdentifier/Name='$searchText$' or Description='$searchText$')]"
        },
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.GetPriceEquationType"
      }
    },
    "/price-equations/by-price-constant-id/{priceConstantId}": {
      "get": {
        "summary": "Get all price equations which reference the price constant.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "priceConstantId",
            "in": "path",
            "description": "The unique numeric ID for identifying the price constant.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "storeId",
            "in": "query",
            "description": "The unique numeric ID for identifying the store.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-context-data": "storeId"
            },
            "x-context-data": "storeId"
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The position within the resulting dataset where the query begins returning item records. If the offset is \"5\", the records that returned begin with the sixth record that matches the query parameters. If the offset is \"0\", the records that are returned begin with the first record that matches the query parameters.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/recordSetStartNumber"
            },
            "x-entity-path": "dataArea/get/recordSetStartNumber"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of records to return.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/maxItems"
            },
            "x-entity-path": "dataArea/get/maxItems"
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PriceEquationCollection"
                }
              }
            },
            "x-entity-path": "dataArea/priceEquation",
            "x-support-paging": false
          }
        },
        "x-expression-template": "{_wcf.ap=IBM_Admin_Details}/PriceEquation[PriceEquationEntry[PriceEquationEntryFormat='PriceConstant' and Value='{priceConstantId}']]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "getPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.GetPriceEquationType"
      }
    },
    "/price-equations/by-price-list-id/{priceListId}": {
      "get": {
        "summary": "Get all price equations which reference the price constant.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "priceListId",
            "in": "path",
            "description": "The unique numeric ID for identifying the price list.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "storeId",
            "in": "query",
            "description": "The unique numeric ID for identifying the store.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-context-data": "storeId"
            },
            "x-context-data": "storeId"
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The position within the resulting dataset where the query begins returning item records. If the offset is \"5\", the records that returned begin with the sixth record that matches the query parameters. If the offset is \"0\", the records that are returned begin with the first record that matches the query parameters.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/recordSetStartNumber"
            },
            "x-entity-path": "dataArea/get/recordSetStartNumber"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of records to return.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "x-entity-path": "dataArea/get/maxItems"
            },
            "x-entity-path": "dataArea/get/maxItems"
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PriceEquationCollection"
                }
              }
            },
            "x-entity-path": "dataArea/priceEquation",
            "x-support-paging": false
          }
        },
        "x-expression-template": "{_wcf.ap=IBM_Admin_Details}/PriceEquation[PriceEquationEntry[PriceEquationEntryFormat='PriceList' and Value='{priceListId}']]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "getPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.GetPriceEquationType"
      }
    },
    "/price-equations/{id}": {
      "get": {
        "summary": "Get a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PriceEquation"
                }
              }
            },
            "x-entity-path": "dataArea/priceEquation[1]"
          }
        },
        "x-expression-template": "{_wcf.ap='IBM_Admin_Details'}/PriceEquation/FormulaIdentifier[(UniqueID='{id}')]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "getPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.GetPriceEquationType"
      },
      "delete": {
        "summary": "Deletes a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
          }
        ],
        "responses": {
          "204": {
            "description": "The operation is successful.",
            "content": {}
          }
        },
        "x-action-code": "Delete",
        "x-expression-template": "/PriceEquation[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "processPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ProcessPriceEquationType"
      },
      "patch": {
        "summary": "Updates a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
          }
        ],
        "requestBody": {
          "description": "The request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PriceEquation"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {}
          }
        },
        "x-action-code": "Change",
        "x-expression-template": "/PriceEquation[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "changePriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ChangePriceEquationType",
        "x-codegen-request-body-name": "body"
      }
    },
    "/price-equations/{id}/compose": {
      "post": {
        "summary": "Composes a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {}
          }
        },
        "x-action-code": "Compose",
        "x-expression-template": "/PriceEquation[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "processPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ProcessPriceEquationType"
      }
    },
    "/price-equations/{id}/entries": {
      "get": {
        "summary": "Get entries of a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PriceEquationCollection"
                }
              }
            },
            "x-entity-path": "dataArea/priceEquation[1]/priceEquationEntry",
            "x-support-paging": false
          }
        },
        "x-expression-template": "{_wcf.ap='IBM_Admin_PriceEquationEntryDetails'}/PriceEquation/FormulaIdentifier[(UniqueID='{id}')]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "getPriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.GetPriceEquationType"
      },
      "post": {
        "summary": "Adds an entry to a price equation.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
          }
        ],
        "requestBody": {
          "description": "The request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PriceEquationEntry"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The operation is successful.",
            "headers": {
              "Location": {
                "description": "The URI of the price equation entry.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {},
            "x-entity-path": "dataArea/priceEquation[1]/priceEquationEntry[1]/priceEquationEntryIdentifier/uniqueID",
            "links": {
              "GetEntryPriceEquationById": {
                "operationRef": "#/paths/~1price-equations~1{id}~1entries/get",
                "parameters": {
                  "id": "$request.path.id"
                },
                "description": "The `id`value used in the request body can be used as the `id`  parameter in `GET /price-equations/{id}/entries`.\n"
              },
              "DeleteEntryPriceEquationById": {
                "operationRef": "#/paths/~1price-equations~1{id}~1entries~1{entryId}/delete",
                "parameters": {
                  "id": "$request.path.id",
                  "entryId": "$request.body#/entryId"
                },
                "description": "The  `id`,`entryId` value used in the request body can be used as the The  `id`,`entryId` parameter in `DELETE /price-equations/{id}/entries/{entryId}`.\n"
              },
              "UpdateEntryPriceEquationById": {
                "operationRef": "#/paths/~1price-equations~1{id}~1entries~1{entryId}/patch",
                "parameters": {
                  "id": "$request.path.id",
                  "entryId": "$request.body#/id"
                },
                "description": "The `id`,`entryId` value used in the request body can be used as the  `id`,`entryId` parameter in `PATCH /price-equations/{id}/entries/{entryId}`.\n"
              }
            }
          }
        },
        "x-action-code": "Add",
        "x-expression-template": "/PriceEquation[1]/PriceEquationEntry[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "changePriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ChangePriceEquationType",
        "x-request-verb": "change",
        "x-response-verb": "respond",
        "x-codegen-request-body-name": "body"
      }
    },
    "/price-equations/{id}/entries/{entryId}": {
      "delete": {
        "summary": "Deletes a price equation entry.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
          },
          {
            "name": "entryId",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation entry.",
            "required": true,
            "schema": {
              "type": "string",
              "x-entity-path": "dataArea/priceEquation[1]/priceEquationEntry[1]/priceEquationEntryIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/priceEquationEntry[1]/priceEquationEntryIdentifier/uniqueID"
          }
        ],
        "responses": {
          "204": {
            "description": "The operation is successful.",
            "content": {}
          }
        },
        "x-action-code": "Delete",
        "x-expression-template": "/PriceEquation[1]/PriceEquationEntry[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "changePriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ChangePriceEquationType",
        "x-request-verb": "change",
        "x-response-verb": "respond"
      },
      "patch": {
        "summary": "Updates a price equation entry.",
        "tags": [
          "Price Equation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/formulaIdentifier/uniqueID"
          },
          {
            "name": "entryId",
            "in": "path",
            "description": "The unique numeric ID for identifying the price equation entry.",
            "required": true,
            "schema": {
              "type": "string",
              "x-entity-path": "dataArea/priceEquation[1]/priceEquationEntry/priceEquationEntryIdentifier/uniqueID"
            },
            "x-entity-path": "dataArea/priceEquation[1]/priceEquationEntry/priceEquationEntryIdentifier/uniqueID"
          }
        ],
        "requestBody": {
          "description": "The request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PriceEquationEntry"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The operation is successful.",
            "content": {}
          }
        },
        "x-action-code": "Change",
        "x-expression-template": "/PriceEquation[1]/PriceEquationEntry[1]",
        "x-facade-client-class": "com.ibm.commerce.price.facade.client.PriceFacadeClient",
        "x-facade-client-method": "changePriceEquation",
        "x-request-bod-class": "com.ibm.commerce.price.facade.datatypes.ChangePriceEquationType",
        "x-codegen-request-body-name": "body"
      }
    }
  },
  "components": {
    "schemas": {
      "PriceEquation": {
        "type": "object",
        "required": [
          "id",
          "name",
          "storeId"
        ],
        "properties": {
          "createdDate": {
            "type": "string",
            "description": "Created time.",
            "format": "date-time",
            "x-entity-path": "createdTime"
          },
          "description": {
            "type": "string",
            "description": "A description of the price equation, suitable for display to business users.",
            "x-entity-path": "description"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriceEquationEntry"
            },
            "x-entity-path": "priceEquationEntry"
          },
          "id": {
            "type": "integer",
            "description": "The unique numeric ID for identifying the price equation.",
            "format": "int64",
            "x-entity-path": "formulaIdentifier/uniqueID"
          },
          "name": {
            "type": "string",
            "description": "The name of the price equation.",
            "x-entity-path": "formulaIdentifier/externalIdentifier/name"
          },
          "storeId": {
            "type": "integer",
            "description": "The unique numeric ID for identifying the store.",
            "format": "int64",
            "x-entity-path": "formulaIdentifier/externalIdentifier/storeIdentifier/uniqueID"
          },
          "updatedDate": {
            "type": "string",
            "description": "Last updated time.",
            "format": "date-time",
            "x-entity-path": "lastUpdateTime"
          },
          "value": {
            "type": "string",
            "description": "The value of the price equation.",
            "x-entity-path": "value"
          },
          "format": {
            "type": "string",
            "description": "The format of the price equation.",
            "x-entity-path": "value"
          },
          "sequence": {
            "type": "string",
            "description": "The sequence of the price equation.",
            "x-entity-path": "value"
          }
        },
        "description": "A price equation.",
        "x-entity-class": "com.ibm.commerce.price.facade.datatypes.PriceEquationType"
      },
      "PriceEquationCollection": {
        "type": "object",
        "required": [
          "count"
        ],
        "properties": {
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriceEquation"
            }
          }
        },
        "description": "A collection of price equations."
      },
      "PriceEquationEntry": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "description": "The format of the price equation entry",
            "x-entity-path": "priceEquationEntryFormat"
          },
          "id": {
            "type": "integer",
            "description": "The unique numeric ID for identifying the price equation entry.",
            "format": "int64",
            "x-entity-path": "priceEquationEntryIdentifier/uniqueID"
          },
          "sequence": {
            "type": "number",
            "description": "The sequence of this equation entry for the same equation.",
            "format": "double",
            "x-entity-path": "priceEquationEntrySequence"
          },
          "value": {
            "type": "string",
            "description": "The value of the equation entry.",
            "x-entity-path": "value"
          }
        },
        "description": "A price equation entry.",
        "x-entity-class": "com.ibm.commerce.price.facade.datatypes.PriceEquationEntryType"
      },
      "PriceEquationEntryCollection": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriceEquationEntry"
            }
          }
        },
        "description": "A collection of price equation entries."
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-components": {}
}
