{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-post-request-body-schema.json",
  "title": "postRequestBody",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-manifest-dhl-ecommerce-americas-openapi.yml#/components/schemas/postRequestBody",
  "type": "object",
  "properties": {
    "pickup": {
      "type": "string",
      "minLength": 4,
      "maxLength": 10,
      "description": "DHL eCommerce pickup account number (M)"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "orderedproductId to be manifested used for close out by all packages (O)"
    },
    "manifests": {
      "type": "array",
      "description": "Array of packages to be manifested (M)",
      "items": {
        "type": "object",
        "properties": {
          "packageIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 30
            },
            "description": "List of package IDs (O)"
          },
          "dhlPackageIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 16
            },
            "description": "List of DHL package IDs (O)"
          }
        }
      }
    }
  }
}