{
  "openapi": "3.0.1",
  "info": {
    "title": "Appeasements",
    "version": "9.1.20.0",
    "description": "Create and administer a collection of appeasements.",
    "x-introduced": "9.1.12.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": "Appeasements",
      "description": "This class provides RESTful service to manage order appeasements."
    },
    {
      "name": "Appeasement Items",
      "description": "This class provides RESTful service to manage order line appeasements."
    }
  ],
  "paths": {
    "/appeasements": {
      "get": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Get all the Appeasements based on provided parameters.",
        "description": "Get all the Appeasements based on provided parameters",
        "operationId": "getAllAppeasements",
        "parameters": [
          {
            "name": "storeId",
            "in": "query",
            "description": "The unique numeric ID for identifying the store.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "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",
              "default": 0
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of records to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "csrId",
            "in": "query",
            "description": "The unique string ID for identifying the csr user.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "The unique numeric ID for identifying the Appeasement.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "query",
            "description": "The unique numeric ID for identifying the order.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "The status of the Appeasement.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appeasementStartDateTime",
            "in": "query",
            "description": "The appeasement create start date and time.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appeasementEndDateTime",
            "in": "query",
            "description": "The appeasement create end date and time.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appeasementLastUpdateStartDateTime",
            "in": "query",
            "description": "The appeasement last update start date and time.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appeasementLastUpdateEndDateTime",
            "in": "query",
            "description": "The appeasement last update end date and time.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request completed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllAppeasementsDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {}
          }
        }
      },
      "post": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Create an appeasement.",
        "description": "Create an appeasement",
        "operationId": "createAppeasement",
        "requestBody": {
          "description": "Request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppeasementAdd"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The requested resource has been created.",
            "headers": {
              "Location": {
                "description": "Link to the newly created resource.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddAppeasementResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        },
        "x-codegen-request-body-name": "body"
      }
    },
    "/appeasements/{id}": {
      "patch": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Update an appeasement.",
        "description": "Update an appeasement",
        "operationId": "updateAppeasementItems",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppeasementItems"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The requested resource has been updated successfully.",
            "content": {}
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        },
        "x-codegen-request-body-name": "body"
      },
      "get": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Get an appeasement.",
        "description": "Get an appeasement by its ID",
        "operationId": "getAppeasementById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request completed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppeasementDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {}
          }
        }
      }
    },
    "/appeasements/{id}/items": {
      "get": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Get all the appeasement items.",
        "description": "Get all the appeasment items",
        "operationId": "getAppeasementItems",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request completed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppeasementItemsGet"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        }
      }
    },
    "/appeasements/order/{orderId}": {
      "get": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Get all the appeasements for the order.",
        "description": "Get all the appeasements for the order",
        "operationId": "getAppeasementsByOrderId",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "description": "The unique numeric ID for identifying the order.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request completed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppeasementsByOrderId"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        }
      }
    },
    "/appeasements/{id}/process": {
      "post": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Process an appeasement.",
        "description": "Process an appeasement",
        "operationId": "processAppeasement",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppeasementProcess"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The requested resource has been updated successfully.",
            "content": {}
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        },
        "x-codegen-request-body-name": "body"
      }
    },
    "/appeasements/{id}/submit": {
      "post": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Close an approved appeasement.",
        "description": "Close an approved appeasement",
        "operationId": "closeAppeasement",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The requested resource has been updated successfully.",
            "content": {}
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        }
      }
    },
    "/appeasements/{id}/cancel": {
      "post": {
        "tags": [
          "Appeasements"
        ],
        "summary": "Cancel an existing appeasement.",
        "description": "Cancel an existing appeasement by its ID.",
        "operationId": "cancelAppeasement",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The requested resource has been updated successfully.",
            "content": {}
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "404": {
            "description": "The specified resource could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        }
      }
    },
    "/appeasement-items": {
      "post": {
        "tags": [
          "Appeasement Items"
        ],
        "summary": "Create an appeasement item.",
        "description": "Create a new appeasement item",
        "operationId": "createAppeasementItem",
        "requestBody": {
          "description": "Request body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppeasementItemCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The requested resource has been created.",
            "headers": {
              "Location": {
                "description": "Link to the newly created resource.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddAppeasementResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        },
        "x-codegen-request-body-name": "body"
      }
    },
    "/appeasement-items/{id}": {
      "get": {
        "tags": [
          "Appeasement Items"
        ],
        "summary": "Get an appeasement item by ID.",
        "description": "Get an appeasement item by ID",
        "operationId": "getAppeasementItemById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement item.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The requested completed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppeasementItemGet"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {}
          }
        }
      },
      "delete": {
        "tags": [
          "Appeasement Items"
        ],
        "summary": "Delete an appeasement item by ID.",
        "description": "Delete an appeasement item by ID",
        "operationId": "deleteAppeasementItem",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement item.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The requested resource has been deleted.",
            "content": {}
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Appeasement Items"
        ],
        "summary": "Update an existing appeasement item.",
        "description": "Update an existing appeasement item by its ID",
        "operationId": "updateAppeasementItem",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique numeric ID for identifying the appeasement item.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The request body for updating an appeasement item.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppeasementItemUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The request completed successfully.",
            "content": {}
          },
          "400": {
            "description": "Bad request. The request could not be understood by the server due to malformed syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated. The user session is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "403": {
            "description": "The user is not authorized to perform the specified request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "404": {
            "description": "The specified resource could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. For details, see the server log files.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseContainer"
                }
              }
            }
          }
        },
        "x-codegen-request-body-name": "body"
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponseContainer": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          },
          "requestId": {
            "type": "string",
            "description": "The request identifier."
          }
        },
        "description": "The error message model."
      },
      "Error": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "The error message code."
          },
          "errorMessage": {
            "type": "string",
            "description": "The error message."
          },
          "errorKey": {
            "type": "string",
            "description": "The error message key."
          },
          "errorParameters": {
            "type": "array",
            "description": "The arguments used to construct the error message.",
            "items": {
              "type": "object",
              "properties": {}
            }
          },
          "errorLevel": {
            "type": "string",
            "description": "The error level."
          },
          "errorHref": {
            "type": "string",
            "description": "The error hypertext reference."
          }
        },
        "description": "The error message item model."
      },
      "AppeasementAdd": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the order associated with this appeasement."
          },
          "description": {
            "type": "string",
            "description": "A mnemonic description of the appeasement item, entered by the CSR, suitable for display to the customer."
          },
          "comment": {
            "type": "string",
            "description": "Comments from the approver."
          },
          "orderPrice": {
            "type": "number",
            "description": "The discount on the order purchase price."
          },
          "shippingCharges": {
            "type": "number",
            "description": "The discount on the order shipping charges."
          }
        }
      },
      "AddAppeasementResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        }
      },
      "AppeasementCancel": {
        "type": "object",
        "properties": {}
      },
      "AppeasementItems": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A mnemonic description of the appeasement item, entered by the CSR, suitable for display to the customer."
          },
          "comment": {
            "type": "string",
            "description": "Comments from the approver."
          },
          "orderPrice": {
            "type": "number",
            "description": "The discount on the order purchase price."
          },
          "shippingCharges": {
            "type": "number",
            "description": "The discount on the order shipping charges."
          }
        }
      },
      "AppeasementProcess": {
        "type": "object",
        "properties": {
          "justifications": {
            "$ref": "#/components/schemas/AppeasementJustification"
          },
          "otherJustification": {
            "type": "string",
            "description": "The other justification for the appeasement."
          }
        }
      },
      "AppeasementsByOrderId": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique numeric ID for identifying the order."
          },
          "userId": {
            "type": "string",
            "description": "The unique numeric ID for the user that placed the order."
          },
          "comment": {
            "type": "string",
            "description": "Comments from the customer."
          },
          "currency": {
            "type": "string",
            "description": "The currency for monetary amounts associated with this order. This is the currency code according to ISO 4217 standards."
          },
          "description": {
            "type": "string",
            "description": "A mnemonic description of the order, entered by the customer, suitable for display to the customer."
          },
          "organizationId": {
            "type": "string",
            "description": "The immediate parent organization ID of the creator."
          },
          "status": {
            "type": "string",
            "description": "The status of the order. This is similar to order states. For specific values of status and their descriptions."
          },
          "storeId": {
            "type": "integer",
            "description": "The store entity the order is part of. This is normally a store unless STATUS is Q, in which case it is normally a store group.",
            "format": "int32"
          },
          "totalAdjustment": {
            "type": "number",
            "description": "The sum of total adjustment for all the OrderItems in the order. This field also includes all kinds of shipping charge adjustments like discount, coupon, shipping adjustment and surcharge."
          },
          "totalProductPrice": {
            "type": "number",
            "description": "The sum of total price of all the OrderItems in the Order."
          },
          "totalShippingCharge": {
            "type": "number",
            "description": "The sum of shipping charges for all the order items in the order."
          },
          "totalShippingTax": {
            "type": "number",
            "description": "The sum of shipping tax amount for all the OrderItems in the Order."
          },
          "totalTax": {
            "type": "number",
            "description": "The sum of tax amount for all the OrderItems in the Order."
          },
          "discount": {
            "type": "number",
            "description": "The order level discount adjustment."
          },
          "estimatedShipDate": {
            "type": "string",
            "description": "The estimated ship date of the order.",
            "format": "date-time"
          },
          "total": {
            "type": "number",
            "description": "The grand total of the order."
          },
          "displayAdjustment": {
            "type": "number",
            "description": "The order level display adjustment."
          },
          "paymentInstructions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentInstruction"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItemDetail"
            }
          },
          "appeasements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppeasementDetails"
            }
          }
        }
      },
      "OrderItemDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique numeric ID for identifying the order item."
          },
          "addressId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the shipping address, if any, for this order item."
          },
          "catalogEntryId": {
            "type": "string",
            "description": "The catalog entry id, if any, of the product being purchased."
          },
          "partNumber": {
            "type": "string",
            "description": "The part number of the catalog entry for the product."
          },
          "price": {
            "type": "number",
            "description": "The price for the nominal quantity of the product"
          },
          "quantity": {
            "type": "number",
            "description": "The actual quantity being purchased, in the unit of measurement specified by quantity measure.",
            "format": "double"
          },
          "shippingModeId": {
            "type": "integer",
            "description": "The unique numeric ID for identifying the shipping mode, if still known.",
            "format": "int32"
          }
        }
      },
      "AllAppeasementsDetails": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "description": "The count shows total number of items.",
            "format": "int32"
          },
          "offset": {
            "type": "integer"
          },
          "limit": {
            "type": "integer"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppeasementDetails"
            }
          }
        }
      },
      "AppeasementDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique numeric ID for identifying the appeasement."
          },
          "orderId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the order of which the appeasement is created."
          },
          "appeasementItems": {
            "$ref": "#/components/schemas/AppeasementItemsGet"
          },
          "csrId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the csr who created the appeasement."
          },
          "notificationId": {
            "type": "string",
            "description": "Notification identifier referring to the rows in the NOTIFY table that store notification attributes. These attributes override the defaults for notifications related to this appeasement."
          },
          "status": {
            "type": "string",
            "description": "The status of the appeasement.\n* 'PND' - pending\n* 'APR' - automatically approved\n* 'MAN' - manually approved\n* 'CAN' - cancel\n* 'CLO' - closed\n",
            "enum": [
              "PND",
              "APR",
              "MAN",
              "CAN",
              "CLO"
            ]
          },
          "comment": {
            "type": "string",
            "description": "Comments from the approver."
          },
          "description": {
            "type": "string",
            "description": "A mnemonic description of the appeasement item, entered by the CSR, suitable for display to the customer."
          },
          "justifications": {
            "$ref": "#/components/schemas/AppeasementJustification"
          },
          "otherJustification": {
            "type": "string",
            "nullable": true,
            "description": "The other justification for the appeasement."
          },
          "orderPrice": {
            "type": "number",
            "format": "double",
            "description": "The discount on the order purchase price."
          },
          "orderTax": {
            "type": "number",
            "format": "double",
            "description": "The discount on the order tax amount."
          },
          "shippingCharges": {
            "type": "number",
            "format": "double",
            "description": "The discount on the order shipping charges."
          },
          "shippingTax": {
            "type": "number",
            "format": "double",
            "description": "The discount on the order shipping tax."
          },
          "totalProduct": {
            "type": "number",
            "format": "double",
            "description": "The sum of the discounted price of all the AppeasementItem in the Appeasement."
          },
          "totalProductTax": {
            "type": "number",
            "format": "double",
            "description": "The sum of the discounted tax of all the AppeasementItem in the Appeasement."
          },
          "timeCreated": {
            "type": "string",
            "description": "The date and time that the appeasement was created.",
            "format": "date-time"
          },
          "lastUpdated": {
            "type": "string",
            "description": "The date and time that the appeasement was last updated.",
            "format": "date-time"
          },
          "field1": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "A customizable field."
          },
          "field2": {
            "type": "number",
            "nullable": true,
            "description": "A customizable field."
          },
          "field3": {
            "type": "string",
            "nullable": true,
            "description": "A customizable field."
          }
        }
      },
      "PaymentInstruction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique numeric ID for identifying the payment instruction."
          },
          "paymentMethod": {
            "type": "string",
            "description": "The payment method."
          },
          "amount": {
            "type": "number",
            "description": "The payment amount."
          },
          "protocolData": {
            "type": "object",
            "properties": {
              "billing_address_id": {
                "type": "string"
              },
              "billto_zipcode": {
                "type": "string"
              },
              "billto_address1": {
                "type": "string"
              },
              "billto_lastname": {
                "type": "string"
              },
              "billto_country": {
                "type": "string"
              },
              "billto_stateprovince": {
                "type": "string"
              },
              "billto_city": {
                "type": "string"
              },
              "billto_firstname": {
                "type": "string"
              },
              "payment_method": {
                "type": "string"
              }
            }
          }
        }
      },
      "AppeasementItemCreate": {
        "type": "object",
        "properties": {
          "appeasementId": {
            "type": "integer",
            "format": "int64",
            "description": "The unique numeric ID for identifying the appeasement."
          },
          "orderItemId": {
            "type": "integer",
            "format": "int64",
            "description": "The unique numeric ID for identifying the order item."
          },
          "amount": {
            "type": "number",
            "description": "The discounted amount of the product."
          },
          "description": {
            "type": "string",
            "description": "A mnemonic description of the appeasement item, entered by the CSR, suitable for display to the customer."
          },
          "comment": {
            "type": "string",
            "description": "Comments from the CSR."
          }
        }
      },
      "AppeasementItemUpdate": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "description": "The discounted amount of the product."
          },
          "description": {
            "type": "string",
            "description": "A mnemonic description of the appeasement item, entered by the CSR, suitable for display to the customer."
          },
          "comment": {
            "type": "string",
            "description": "Comments from the CSR."
          }
        }
      },
      "AppeasementItemsGet": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer"
          },
          "items": {
            "type": "array",
            "description": "The items.",
            "items": {
              "$ref": "#/components/schemas/AppeasementItemGet"
            }
          }
        }
      },
      "AppeasementItemGet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique numeric ID for identifying the appeasement item."
          },
          "appeasementId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the appeasement."
          },
          "orderItemId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the order item."
          },
          "status": {
            "type": "string",
            "description": "The status of the appeasement.\n* 'PND' - pending\n* 'APR' - automatically approved\n* 'MAN' - manually approved\n* 'CAN' - cancel\n* 'CLO' - closed\n",
            "enum": [
              "PND",
              "APR",
              "MAN",
              "CAN",
              "CLO"
            ]
          },
          "comment": {
            "type": "string",
            "description": "Comments from the CSR."
          },
          "csrId": {
            "type": "string",
            "description": "The unique numeric ID for identifying the user (csr) who created the appeasement."
          },
          "description": {
            "type": "string",
            "description": "A mnemonic description of the appeasement item, entered by the CSR, suitable for display to the customer."
          },
          "amount": {
            "type": "number",
            "description": "The total discount on the items purchase price."
          },
          "taxAmount": {
            "type": "number",
            "description": "The date and time that the appeasement was last updated."
          },
          "field1": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "A customizable field."
          },
          "field2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "description": "A customizable field."
          },
          "field3": {
            "type": "string",
            "nullable": true,
            "description": "A customizable field."
          },
          "timeCreated": {
            "type": "string",
            "description": "The date and time that the appeasement item was created.",
            "format": "date-time"
          },
          "lastUpdated": {
            "type": "string",
            "description": "The date and time that the appeasement item was last updated.",
            "format": "date-time"
          }
        }
      },
      "AppeasementJustification": {
        "type": "array",
        "items": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-components": {}
}
