---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Package (Zoho Inventory)

Create a package for an order.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Zoho Inventory"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/packages/{orderId}": {
      "post": {
        "summary": "Package (Zoho Inventory)",
        "description": "Create a package for an order.",
        "operationId": "create_package_zoho_inventory",
        "responses": {
          "200": {
            "description": "Package created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "package": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "1928302000000106001"
                        },
                        "orderId": {
                          "type": "string",
                          "example": "1928302000000103059"
                        },
                        "fulfillmentId": {
                          "type": "string",
                          "nullable": true
                        },
                        "customerId": {
                          "type": "string",
                          "example": "1928302000000069024"
                        },
                        "status": {
                          "type": "string",
                          "example": "not_shipped"
                        },
                        "number": {
                          "type": "string",
                          "example": "PKG-00080"
                        },
                        "date": {
                          "type": "string",
                          "example": "2019-10-21"
                        },
                        "notes": {
                          "type": "string",
                          "example": "notes"
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "1928302000000106009"
                              },
                              "productId": {
                                "type": "string",
                                "example": "1928302000000103069"
                              },
                              "sku": {
                                "type": "string",
                                "example": "MOTOG7fpajt"
                              },
                              "name": {
                                "type": "string",
                                "example": "Moto fpajt"
                              },
                              "quantity": {
                                "type": "string",
                                "example": "1"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true,
                      "package": {
                        "id": "1928302000000106001",
                        "orderId": "1928302000000103059",
                        "fulfillmentId": null,
                        "customerId": "1928302000000069024",
                        "status": "not_shipped",
                        "number": "PKG-00080",
                        "date": "2019-10-21",
                        "notes": "notes",
                        "items": [
                          {
                            "id": "1928302000000106009",
                            "productId": "1928302000000103069",
                            "sku": "MOTOG7fpajt",
                            "name": "Moto fpajt",
                            "quantity": "1"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orderId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the order."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "package": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string",
                        "example": "2019-10-21"
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "1928302000000103069"
                            },
                            "quantity": {
                              "type": "string",
                              "example": "1"
                            }
                          }
                        }
                      },
                      "notes": {
                        "type": "string",
                        "example": "notes"
                      }
                    }
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "package": {
                      "date": "2019-10-21",
                      "items": [
                        {
                          "id": "1928302000000103069",
                          "quantity": "1"
                        }
                      ],
                      "notes": "notes"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```