ReturnRequest

Properties

Name Type Description
orderId string
reason string
lines array
View JSON Schema on GitHub

JSON Schema

manhattan-associates-returnrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReturnRequest",
  "title": "ReturnRequest",
  "type": "object",
  "required": [
    "orderId",
    "reason",
    "lines"
  ],
  "properties": {
    "orderId": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "lineId",
          "quantity"
        ],
        "properties": {
          "lineId": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          }
        }
      }
    }
  }
}