Return

Properties

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

JSON Schema

manhattan-associates-return-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Return",
  "title": "Return",
  "type": "object",
  "properties": {
    "returnId": {
      "type": "string"
    },
    "orderId": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "created",
        "in_transit",
        "received",
        "completed",
        "denied"
      ]
    },
    "reason": {
      "type": "string"
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lineId": {
            "type": "string"
          },
          "itemId": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "refundAmount": {
            "type": "number"
          }
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}