Zoho Inventory · Schema

Packages

Zoho Inventory brings to you, the feature "Packages" with which you can create and assign package slip numbers to the line items in your sales orders and keep track of your packages when they are shipped.

Inventory ManagementWarehousingSales OrdersPurchase OrdersStock AdjustmentShipmentsItemsE-commerce
View JSON Schema on GitHub

JSON Schema

packages.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Packages",
  "description": "Zoho Inventory brings to you, the feature \"Packages\" with which you can create and assign package slip numbers to the line items in your sales orders and keep track of your packages when they are shipped.",
  "definitions": {
    "gendoc-attributes-schema": {
      "$ref": "#/components/schemas/package-response"
    },
    "package-response": {
      "type": "object",
      "properties": {
        "billing_address": {
          "$ref": "#/components/schemas/billing_address"
        },
        "contact_persons": {
          "$ref": "#/components/schemas/contact_persons"
        },
        "created_time": {
          "$ref": "#/components/schemas/created_time"
        },
        "customer_id": {
          "$ref": "#/components/schemas/customer_id"
        },
        "customer_name": {
          "$ref": "#/components/schemas/customer_name"
        },
        "date": {
          "$ref": "#/components/schemas/date"
        },
        "email": {
          "$ref": "#/components/schemas/email"
        },
        "is_emailed": {
          "$ref": "#/components/schemas/is_emailed"
        },
        "last_modified_time": {
          "$ref": "#/components/schemas/last_modified_time"
        },
        "line_items": {
          "$ref": "#/components/schemas/line_items"
        },
        "mobile": {
          "$ref": "#/components/schemas/mobile"
        },
        "notes": {
          "$ref": "#/components/schemas/notes"
        },
        "package_id": {
          "$ref": "#/components/schemas/package_id"
        },
        "package_number": {
          "$ref": "#/components/schemas/package_number"
        },
        "phone": {
          "$ref": "#/components/schemas/phone"
        },
        "salesorder_id": {
          "$ref": "#/components/schemas/salesorder_id"
        },
        "salesorder_number": {
          "$ref": "#/components/schemas/salesorder_number"
        },
        "shipping_address": {
          "$ref": "#/components/schemas/shipping_address"
        },
        "template_id": {
          "$ref": "#/components/schemas/template_id"
        },
        "template_name": {
          "$ref": "#/components/schemas/template_name"
        },
        "template_type": {
          "$ref": "#/components/schemas/template_type"
        },
        "total_quantity": {
          "$ref": "#/components/schemas/total_quantity"
        },
        "custom_fields": {
          "$ref": "#/components/schemas/custom_fields"
        }
      }
    },
    "salesorder_id": {
      "description": "Unique ID generated by the server for sales order",
      "type": "string",
      "example": 504366000000062000
    },
    "package_number": {
      "description": "Name of the package",
      "type": "string",
      "example": "PA-00001"
    },
    "date": {
      "description": "Date on which package is prepared",
      "type": "string",
      "example": "2017-01-11"
    },
    "so_line_item_id": {
      "description": "Unique ID generated by the server for items in sales order",
      "type": "string",
      "example": 504366000000062000
    },
    "quantity": {
      "description": "Number of quantity of line items in sales order",
      "type": "number",
      "format": "float",
      "example": 2
    },
    "address": {
      "description": "Name of the street of the customer address",
      "type": "string",
      "example": "432, Bayside, Queens"
    },
    "city": {
      "description": "Name of the city of the customer address",
      "type": "string",
      "example": "New York City"
    },
    "state": {
      "description": "Name of the state of the customer address",
      "type": "string",
      "example": "New York"
    },
    "country": {
      "description": "Name of the country of the customer address",
      "type": "string",
      "example": "U.S.A"
    },
    "zip": {
      "description": "Zipcode of the customer address",
      "type": "string",
      "example": 11364
    },
    "phone": {
      "description": "Phone number of the customer",
      "type": "string",
      "example": "+1 (999)999-9999"
    },
    "fax": {
      "description": "Fax number of the customer address",
      "type": "string",
      "example": "416-765-9871"
    },
    "billing_address": {
      "description": "Customer billing address",
      "type": "object",
      "properties": {
        "address": {
          "$ref": "#/components/schemas/address"
        },
        "city": {
          "$ref": "#/components/schemas/city"
        },
        "state": {
          "$ref": "#/components/schemas/state"
        },
        "country": {
          "$ref": "#/components/schemas/country"
        },
        "zip": {
          "$ref": "#/components/schemas/zip"
        },
        "phone": {
          "$ref": "#/components/schemas/phone"
        },
        "fax": {
          "$ref": "#/components/schemas/fax"
        }
      }
    },
    "shipping_address": {
      "description": "Customer shipping address",
      "type": "object",
      "properties": {
        "address": {
          "$ref": "#/components/schemas/address"
        },
        "city": {
          "$ref": "#/components/schemas/city"
        },
        "state": {
          "$ref": "#/components/schemas/state"
        },
        "country": {
          "$ref": "#/components/schemas/country"
        },
        "zip": {
          "$ref": "#/components/schemas/zip"
        },
        "phone": {
          "$ref": "#/components/schemas/phone"
        },
        "fax": {
          "$ref": "#/components/schemas/fax"
        }
      }
    },
    "carrier": {
      "description": "Carrier used for shipment of package",
      "type": "string",
      "example": "FedEx"
    },
    "contact_person_id": {
      "description": "Unique ID generated by the server for contact person",
      "type": "string",
      "example": 504366000000062000
    },
    "contact_persons": {
      "description": "Array of contact persons for the customers",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contact_person_id": {
            "$ref": "#/components/schemas/contact_person_id"
          }
        }
      }
    },
    "created_time": {
      "description": "Time at which the package was created",
      "type": "string",
      "format": "date",
      "example": "2017-01-11T00:00:00+00:00"
    },
    "customer_id": {
      "description": "Unique ID generated by the for the customer",
      "type": "string",
      "example": 504366000000062000
    },
    "customer_name": {
      "description": "Name of the customer",
      "type": "string",
      "example": "Peter James"
    },
    "delivery_days": {
      "description": "Number of days taken by the courier for delivering in package",
      "type": "integer",
      "example": 2
    },
    "delivery_guarantee": {
      "description": "guarantee assured by the courier. <code> For guaranteed on-time deliveries, it is true else it is false</code>",
      "type": "boolean",
      "example": true
    },
    "delivery_method": {
      "description": "Custom delivery option created for the manual shipment",
      "type": "string",
      "example": "LocalCourier"
    },
    "delivery_method_id": {
      "description": "Unique ID generated by the server for delivery method",
      "type": "string",
      "example": 14954000000086028
    },
    "detailed_status": {
      "description": "Detailed shipment details received from the courier",
      "type": "string",
      "example": "Reached a courier facility near Toronto"
    },
    "email": {
      "description": "Email of contact person",
      "type": "string",
      "example": "[email protected]"
    },
    "is_emailed": {
      "description": "Package is emailed to the customer or not",
      "type": "boolean",
      "example": false
    },
    "last_modified_time": {
      "description": "Time at which the package details were last modified.",
      "type": "string",
      "format": "date",
      "example": "2017-01-11T00:00:00+00:00"
    },
    "description": {
      "description": "Description of the item in package",
      "type": "string",
      "example": "Mobile Sales description"
    },
    "is_invoiced": {
      "description": "Sales order item is invoiced to the customer or not",
      "type": "boolean",
      "example": false
    },
    "customfield_id": {
      "description": "Unique ID of the custom field.",
      "type": "string"
    },
    "data_type": {
      "description": "Data type of the custom field",
      "type": "string",
      "example": "check_box"
    },
    "is_active": {
      "example": null
    },
    "label": {
      "description": "Label of the Custom Field",
      "type": "string"
    },
    "placeholder": {
      "description": "Placeholder for the custom field",
      "type": "string",
      "example": "cf-504366000000053126"
    },
    "show_in_all_pdf": {
      "example": null
    },
    "show_on_pdf": {
      "example": null
    },
    "value": {
      "description": "Value of the custom field",
      "type": "string",
      "example": "GBGD078"
    },
    "item_custom_fields": {
      "description": "Custom field of the item in package",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "customfield_id": {
            "$ref": "#/components/schemas/customfield_id"
          },
          "data_type": {
            "$ref": "#/components/schemas/data_type"
          },
          "is_active": {
            "$ref": "#/components/schemas/is_active"
          },
          "label": {
            "$ref": "#/components/schemas/label"
          },
          "placeholder": {
            "$ref": "#/components/schemas/placeholder"
          },
          "show_in_all_pdf": {
            "$ref": "#/components/schemas/show_in_all_pdf"
          },
          "show_on_pdf": {
            "$ref": "#/components/schemas/show_on_pdf"
          },
          "value": {
            "$ref": "#/components/schemas/value"
          }
        }
      }
    },
    "item_id": {
      "description": "Unique ID generated by the server of the item in package",
      "type": "string",
      "example": 504366000000053200
    },
    "item_order": {
      "example": null
    },
    "line_item_id": {
      "description": "Unique value generated by the server for an item of sales order in package",
      "type": "string",
      "example": 504366000000062100
    },
    "name": {
      "description": "Name of the packaged item",
      "type": "string",
      "example": "Apple Iphone"
    },
    "sku": {
      "description": "Stock keeping unit of the item in package",
      "type": "string",
      "example": "SKUM"
    },
    "unit": {
      "description": "Unit of the item in package",
      "type": "string",
      "example": "units"
    },
    "is_combo_product": {
      "description": "Indicates whether the line item is a composite product.",
      "type": "boolean",
      "example": true
    },
    "combo_type": {
      "description": "Type of the composite item. Allowed values are <code>assembly</code> and <code>kit</code>.",
      "type": "string",
      "example": "kit"
    },
    "mapped_items": {
      "description": "Items that are associated with the composite item (kit) in the line item. Applicable only when the line item is a kit type composite item.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "line_item_id": {
            "$ref": "#/components/schemas/line_item_id"
          },
          "so_line_item_id": {
            "$ref": "#/components/schemas/so_line_item_id"
          },
          "item_order": {
            "$ref": "#/components/schemas/item_order"
          },
          "name": {
            "$ref": "#/components/schemas/name"
          },
          "sku": {
            "$ref": "#/components/schemas/sku"
          },
          "unit": {
            "$ref": "#/components/schemas/unit"
          },
          "quantity": {
            "$ref": "#/components/schemas/quantity"
          },
          "combo_type": {
            "$ref": "#/components/schemas/combo_type"
          },
          "mapped_items": {
            "description": "Nested mapped items for kit within kit scenarios.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "line_item_id": {
                  "$ref": "#/components/schemas/line_item_id"
                },
                "so_line_item_id": {
                  "$ref": "#/components/schemas/so_line_item_id"
                },
                "item_order": {
                  "$ref": "#/components/schemas/item_order"
                },
                "name": {
                  "$ref": "#/components/schemas/name"
                },
                "sku": {
                  "$ref": "#/components/schemas/sku"
                },
                "unit": {
                  "$ref": "#/components/schemas/unit"
                },
                "quantity": {
                  "$ref": "#/components/schemas/quantity"
                },
                "combo_type": {
                  "$ref": "#/components/schemas/combo_type"
                }
              }
            }
          }
        }
      }
    },
    "mapped_items_create": {
      "description": "Items that are associated with the composite item (kit) in the line item. Applicable only when the line item is a kit type composite item.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "so_line_item_id": {
            "$ref": "#/components/schemas/so_line_item_id"
          },
          "quantity": {
            "$ref": "#/components/schemas/quantity"
          },
          "mapped_items": {
            "description": "Nested mapped items for kit within kit scenarios.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "so_line_item_id": {
                  "$ref": "#/components/schemas/so_line_item_id"
                },
                "quantity": {
                  "$ref": "#/components/schemas/quantity"
                }
              }
            }
          }
        }
      }
    },
    "mapped_items_update": {
      "description": "Items that are associated with the composite item (kit) in the line item. Applicable only when the line item is a kit type composite item.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "line_item_id": {
            "$ref": "#/components/schemas/line_item_id"
          },
          "so_line_item_id": {
            "$ref": "#/components/schemas/so_line_item_id"
          },
          "quantity": {
            "$ref": "#/components/schemas/quantity"
          },
          "mapped_items": {
            "description": "Nested mapped items for kit within kit scenarios.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "line_item_id": {
                  "$ref": "#/components/schemas/line_item_id"
                },
                "so_line_item_id": {
                  "$ref": "#/components/schemas/so_line_item_id"
                },
                "quantity": {
                  "$ref": "#/components/schemas/quantity"
                }
              }
            }
          }
        }
      }
    },
    "line_items": {
      "description": "Details of the items in this package",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "$ref": "#/components/schemas/description"
          },
          "is_invoiced": {
            "$ref": "#/components/schemas/is_invoiced"
          },
          "item_custom_fields": {
            "$ref": "#/components/schemas/item_custom_fields"
          },
          "item_id": {
            "$ref": "#/components/schemas/item_id"
          },
          "item_order": {
            "$ref": "#/components/schemas/item_order"
          },
          "line_item_id": {
            "$ref": "#/components/schemas/line_item_id"
          },
          "name": {
            "$ref": "#/components/schemas/name"
          },
          "quantity": {
            "$ref": "#/components/schemas/quantity"
          },
          "so_line_item_id": {
            "$ref": "#/components/schemas/so_line_item_id"
          },
          "sku": {
            "$ref": "#/components/schemas/sku"
          },
          "unit": {
            "$ref": "#/components/schemas/unit"
          },
          "is_combo_product": {
            "$ref": "#/components/schemas/is_combo_product"
          },
          "combo_type": {
            "$ref": "#/components/schemas/combo_type"
          },
          "mapped_items": {
            "$ref": "#/components/schemas/mapped_items"
          },
          "serial_numbers": {
            "$ref": "#/components/schemas/serial_numbers"
          },
          "batches": {
            "$ref": "#/components/schemas/batches-response"
          },
          "storages": {
            "$ref": "#/components/schemas/storages-response"
          }
        }
      }
    },
    "mobile": {
      "description": "Mobile number of the customer",
      "type": "string",
      "example": "+1 (999)999-9999"
    },
    "notes": {
      "description": "Notes for package",
      "type": "string",
      "example": "notes"
    },
    "package_id": {
      "description": "Unique ID generated by the server for the package",
      "type": "string",
      "example": 504366000000062100
    },
    "salesorder_number": {
      "description": "Name of the sales order for which package is created",
      "type": "string",
      "example": "SO-00001"
    },
    "service": {
      "description": "Type of service selected for shipment",
      "type": "string",
      "example": "FEDEX_2_DAY"
    },
    "shipment_id": {
      "description": "Unique ID generated by the server for the shipment",
      "type": "string",
      "example": 14954000000086344
    },
    "shipment_number": {
      "description": "shipment number for the package",
      "type": "string",
      "example": "SN-00001"
    },
    "shipment_rate": {
      "description": "Costs involved for shipment",
      "type": "number",
      "format": "float",
      "example": 52
    },
    "shipping_date": {
      "description": "Date on which package is shipped",
      "type": "string",
      "format": "date",
      "example": "2017-01-13"
    },
    "status": {
      "description": "status of the shipment order",
      "type": "string",
      "example": "shipped"
    },
    "tracking_number": {
      "description": "Tracking number of the shipment",
      "type": "string",
      "example": "794656855217"
    },
    "template_id": {
      "description": "Unique ID generated by the server for the template used for package",
      "type": "string",
      "example": 14954000000072020
    },
    "template_name": {
      "description": "Name of the template",
      "type": "string",
      "example": "Standard Template"
    },
    "template_type": {
      "description": "Type of template",
      "type": "string",
      "example": "standard"
    },
    "total_quantity": {
      "description": "Total quantity in the package",
      "type": "string",
      "example": 1
    },
    "custom_fields": {
      "description": "Custom fields for a package.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "customfield_id": {
            "$ref": "#/components/schemas/customfield_id"
          },
          "label": {
            "$ref": "#/components/schemas/label"
          },
          "value": {
            "$ref": "#/components/schemas/value"
          }
        }
      }
    },
    "shipment_order": {
      "description": "Shipment details of the package",
      "type": "object",
      "properties": {
        "carrier": {
          "$ref": "#/components/schemas/carrier"
        },
        "delivery_days": {
          "$ref": "#/components/schemas/delivery_days"
        },
        "delivery_guarantee": {
          "$ref": "#/components/schemas/delivery_guarantee"
        },
        "delivery_method": {
          "$ref": "#/components/schemas/delivery_method"
        },
        "delivery_method_id": {
          "$ref": "#/components/schemas/delivery_method_id"
        },
        "detailed_status": {
          "$ref": "#/components/schemas/detailed_status"
        },
        "notes": {
          "$ref": "#/components/schemas/notes"
        },
        "service": {
          "$ref": "#/components/schemas/service"
        },
        "shipment_id": {
          "$ref": "#/components/schemas/shipment_id"
        },
        "shipment_number": {
          "$ref": "#/components/schemas/shipment_number"
        },
        "shipment_rate": {
          "$ref": "#/components/schemas/shipment_rate"
        },
        "shipping_date": {
          "$ref": "#/components/schemas/shipping_date"
        },
        "status": {
          "$ref": "#/components/schemas/status"
        },
        "tracking_number": {
          "$ref": "#/components/schemas/tracking_number"
        }
      }
    },
    "package": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/package-response"
      }
    },
    "sort_column": {
      "description": "sorting column. it can have values as <code>tracking_number|salesorder_number|package_number|date|created_time|last_modified_time|customer_name|customer_id|shipment_date|quantity|delivery_method</code>",
      "type": "string",
      "example": "created_by"
    },
    "filter_by": {
      "description": "filter the packages by status. Status can be <code>All|NotShipped|Shipped|Delivered</code> For example: Status.All",
      "type": "string",
      "example": "Status.All"
    },
    "search_text": {
      "description": "search the packages by text",
      "type": "string",
      "example": "PK-00001"
    },
    "packing_number_startswith": {
      "description": "Used for searching package_id which starts with given number in advanced search option",
      "type": "integer",
      "format": "int64",
      "example": 504366
    },
    "packing_number_contains": {
      "description": "Used for searching package_id which contains given number in advanced search option",
      "type": "integer",
      "format": "int64",
      "example": 66000
    },
    "salesorder_number_startswith": {
      "description": "Used for searching salesorder_id which starts with given number in advanced search option",
      "type": "integer",
      "format": "int64",
      "example": 504366
    },
    "salesorder_number_contains": {
      "description": "Used for searching salesorder_id which contains given number in advanced search option",
      "type": "integer",
      "format": "int64",
      "example": 66000
    },
    "customer_name_startswith": {
      "description": "Used for searching salesorder_id which starts with given number in advanced search option",
      "type": "string",
      "example": "sam"
    },
    "customer_name_contains": {
      "description": "Used for searching salesorder_id which contains given number in advanced search option",
      "type": "string",
      "example": "ethan"
    },
    "delivery_method_startswith": {
      "description": "Used for searching delivery_method which starts with given string in advanced search option",
      "type": "string",
      "example": "sam"
    },
    "delivery_method_contains": {
      "description": "Used for searching delivery_method which contains given string in advanced search option",
      "type": "string",
      "example": "ethan"
    },
    "shipment_date_start": {
      "description": "Used for searching shipments from specified date <code>Use the node as shipment_date_after if specified date is not to be considered</code>",
      "type": "string",
      "format": "date",
      "example": "2017-01-10T00:00:00+00:00"
    },
    "shipment_date_end": {
      "description": "Used for searching shipments till specified date <code>Use the node as shipment_date_before if specified date is not to be considered</code>",
      "type": "string",
      "format": "date",
      "example": "2017-01-14T00:00:00+00:00"
    },
    "date_start": {
      "description": "Used for searching packages from specified date <code>Use the node as date_after if specified date is not to be considered</code>",
      "type": "string",
      "format": "date",
      "example": "2017-01-10T00:00:00+00:00"
    },
    "date_end": {
      "description": "Used for searching packages till specified date <code>Use the node as date_before if specified date is not to be considered</code>",
      "type": "string",
      "format": "date",
      "example": "2017-01-14T00:00:00+00:00"
    },
    "package_ids": {
      "description": "Export packages as pdf and print them. <code>List of package ids separated by comma</code>",
      "type": "string",
      "example": 5.0436600000006205e+35
    },
    "serial_numbers": {
      "description": "Serial numbers for the line item. Applicable only for items with serial tracking enabled.",
      "type": "array",
      "items": {
        "type": "string",
        "example": "PKG-011"
      }
    },
    "batches": {
      "description": "Batch details for the line item. Reference an existing batch using <code>batch_id</code>. Applicable only for items with batch tracking enabled.",
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "batch_id",
          "out_quantity"
        ],
        "properties": {
          "batch_id": {
            "description": "Unique identifier of an existing batch.",
            "type": "string",
            "example": "6780203000000214019"
          },
          "out_quantity": {
            "description": "Quantity removed from the batch.",
            "type": "number",
            "format": "float",
            "example": 2
          },
          "storages": {
            "description": "Bin/storage locations from which stock was issued for this batch.",
            "type": "array",
            "x-node_available_in": [
              "Batch with Bin tracked items"
            ],
            "items": {
              "type": "object",
              "required": [
                "storage_id",
                "out_quantity"
              ],
              "properties": {
                "storage_id": {
                  "description": "Unique identifier of the bin/storage location.",
                  "type": "string",
                  "example": "6780203000000093226"
                },
                "out_quantity": {
                  "description": "Quantity removed from the bin.",
                  "type": "number",
                  "format": "float",
                  "example": 2
                }
              }
            }
          }
        }
      }
    },
    "storages": {
      "description": "Bin/storage locations allocated (or consumed, for assemblies) for the line item. Applicable only for items with bin tracking enabled.",
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "storage_id",
          "out_quantity"
        ],
        "properties": {
          "storage_id": {
            "description": "Unique identifier of the bin/storage location.",
            "type": "string",
            "example": "6780203000000093225"
          },
          "out_quantity": {
            "description": "Quantity removed from the bin.",
            "type": "number",
            "format": "float",
            "example": 2
          },
          "serial_numbers": {
            "description": "Serial numbers allocated to this bin.",
            "type": "array",
            "x-node_available_in": [
              "Serial with Bin tracked items"
            ],
            "items": {
              "type": "string",
              "example": "PKG-011"
            }
          }
        }
      }
    },
    "batches-update": {
      "description": "Batch details for the line item. Reference an existing batch using <code>batch_id</code>. Applicable only for items with batch tracking enabled.",
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "batch_id",
          "out_quantity"
        ],
        "properties": {
          "batch_id": {
            "description": "Unique identifier of an existing batch.",
            "type": "string",
            "example": "6780203000000214019"
          },
          "out_quantity": {
            "description": "Quantity removed from the batch.",
            "type": "number",
            "format": "float",
            "example": 2
          },
          "storages": {
            "description": "Bin/storage locations from which stock was issued for this batch.",
            "type": "array",
            "x-node_available_in": [
              "Batch with Bin tracked items"
            ],
            "items": {
              "type": "object",
              "required": [
                "storage_id",
                "out_quantity"
              ],
              "properties": {
                "storage_id": {
                  "description": "Unique identifier of the bin/storage location.",
                  "type": "string",
                  "example": "6780203000000093226"
                },
                "out_quantity": {
                  "description": "Quantity removed from the bin.",
                  "type": "number",
                  "format": "float",
                  "example": 2
                },
                "storage_out_id": {
                  "description": "Unique identifier of the storage record. Applicable only when updating an existing storage entry.",
                  "type": "string",
                  "example": "6780203000000997441"
                }
              }
            }
          }
        }
      }
    },
    "storages-update": {
      "description": "Bin/storage locations allocated (or consumed, for assemblies) for the line item. Applicable only for items with bin tracking enabled.",
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "storage_id",
          "out_quantity"
        ],
        "properties": {
          "storage_id": {
            "description": "Unique identifier of the bin/storage location.",
            "type": "string",
            "example": "6780203000000093225"
          },
          "out_quantity": {
            "description": "Quantity removed from the bin.",
            "type": "number",
            "format": "float",
            "example": 2
          },
          "storage_out_id": {
            "description": "Unique identifier of the storage record. Applicable only when updating an existing storage entry.",
            "type": "string",
            "example": "6780203000000997440"
          },
          "serial_numbers": {
            "description": "Serial numbers allocated to this bin.",
            "type": "array",
            "x-node_available_in": [
              "Serial with Bin tracked items"
            ],
            "items": {
              "type": "string",
              "example": "PKG-011"
            }
          }
        }
      }
    },
    "batches-response": {
      "description": "Batches tracked for the line item. Returned for items with batch tracking enabled.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "batch_id": {
            "description": "Unique identifier of the batch.",
            "type": "string",
            "example": "6780203000000214019"
          },
          "batch_number": {
            "description": "Batch number.",
            "type": "string",
            "example": "BTC-TL-890"
          },
          "external_batch_number": {
            "description": "External batch number from the manufacturer.",
            "type": "string",
            "example": "MFR-TL-890"
          },
          "manufacturer_date": {
            "description": "Manufacturing date of the batch.",
            "type": "string",
            "example": "2026-05-12"
          },
          "expiry_date": {
            "description": "Expiration date of the batch.",
            "type": "string",
            "example": "2026-12-24"
          },
          "out_quantity": {
            "description": "Quantity removed 

# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zoho-inventory/refs/heads/main/json-schema/packages.json