Ordoro · Schema

Return Order Schema

Order ManagementInventory ManagementShippingDropshippingE-CommerceMulti-ChannelFulfillmentLogistics

Properties

Name Type Description
reference_id string
original_order_number object
status string
customer_address object
return_to_address object
warehouse_id object
customer_notes object
internal_notes object
has_shipping_info boolean
label_infos array
lines array
comments array
tag array
created_date string
shipping_infos array
updated_date string
View JSON Schema on GitHub

JSON Schema

ordoro-return_order-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ordoro/refs/heads/main/json-schema/ordoro-return_order-schema.json",
  "title": "Return Order Schema",
  "type": "object",
  "properties": {
    "reference_id": {
      "type": "string"
    },
    "original_order_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "type": "string"
    },
    "customer_address": {
      "$ref": "#/components/schemas/address"
    },
    "return_to_address": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/address"
        }
      ]
    },
    "warehouse_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "customer_notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "internal_notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "has_shipping_info": {
      "type": "boolean"
    },
    "label_infos": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "line_id": {
            "type": "integer"
          },
          "sku": {
            "type": "string"
          },
          "product_name": {
            "type": "string"
          },
          "product_serial_numbers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "code": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/return_order_code"
              }
            ]
          },
          "restock_warehouse_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "line_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_price": {
            "type": "number"
          },
          "expected_quantity": {
            "type": "number"
          },
          "received_quantity": {
            "type": "number"
          },
          "restocked_quantity": {
            "type": "number"
          }
        },
        "required": [
          "line_id",
          "sku",
          "product_name",
          "code",
          "restock_warehouse_id",
          "line_notes",
          "total_price",
          "expected_quantity",
          "received_quantity",
          "restocked_quantity"
        ]
      }
    },
    "comments": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/comment"
      }
    },
    "tag": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/v3_tag"
      }
    },
    "created_date": {
      "type": "string"
    },
    "shipping_infos": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/shipping_info"
      }
    },
    "updated_date": {
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ordoro-return_order"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.