Items

Items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

An item is the product that is offered for sale. Nature of the product could be physical or digital. Based on the type of your business, you can offer one or more goods/services. Your product can be either fixed priced or a subscription service. Each of this may fall under a separate pricing category or have add ons associated to them.

End Points
Create an item
List all the items
Delete multiple items
Bulk fetch item details
Update an item
Retrieve an item
Delete an item
Update custom field in existing items
Upload an item image
Retrieve an item image
Delete an item image
Mark as active
Mark as inactive
Update variant opening stock
Retrieve variant opening stock
Upload multiple item images
Delete multiple item images
Reorder item images
Upload an item back image
Delete an item back image
Mark an image as back image
Bulk mark items as active
Bulk mark items as inactive
Ungroup items
Enable storage location for items
Disable storage location for items
Move an item
Group items
Update item location permissions
Bulk update item location permissions
Validate serial numbers
Validate and map serial numbers
List sales orders for an item
List purchase orders for an item
List invoices for an item
List delivery challans for an item
List sales receipts for an item
List move orders for an item
List putaways for an item

Attribute

group_id
string
Unique ID generated by the server for the group to which the item belongs, if any. This is used as an identifier.
group_name
string
Name of product group
item_id
string
Unique ID generated by the server for the Item. This is used as an identifier.
name
string
Name of the Item.
unit
string
Unit of measurement for the item.
unit_id
string
Unique ID of the unit associated with the item.
unit_group_id
string
Unique ID of the unit group associated with the item. Applicable when unit conversion is enabled.
unit_group_name
string
Name of the unit group associated with the item. Applicable when unit conversion is enabled.
default_sales_unit_conversion_id
string
Unique ID of the default sales unit conversion. Applicable when unit conversion is enabled.
default_purchase_unit_conversion_id
string
Unique ID of the default purchase unit conversion. Applicable when unit conversion is enabled.
item_type
string
Item type can be inventory, sales, purchases or sales_and_purchases. If item is associated with a group, then type should be inventory.
product_type
string
Type of the product. It can be goods or service
can_be_sold
boolean
Boolean to indicate whether the item can be sold.
can_be_purchased
boolean
Boolean to indicate whether the item can be purchased.
track_inventory
boolean
Boolean to indicate whether inventory tracking is enabled for the item.
is_taxable
boolean
Boolean to track the taxability of the item.
tax_id
string
Unique ID generated by the server for the tax associated with the item. This is used a unique identifier.
documents
array
List of all the documents associated with the item
description
string
Description of the Item.
tax_name
string
Name of the tax applied on the Item Group.
tax_percentage
double
Percentage of the Tax
tax_type
string
Type of the Tax.
purchase_account_id
string
Unique ID generated by the server for the Purchase account.
purchase_account_name
string
Name of the Purchase Account
account_name
string
Name of the Sales Account.
inventory_account_id
string
Uniquq ID generated by the server for the Inventory account.
attribute_id1
string
Unique ID used by the server. This is used as an identifier.
attribute_name1
string
Name of the attribute present in the Item Group.
status
string
Status of the Item Group.
source
string
The source of the Item Group.
rate
double
Sales price of the Item.
pricebook_rate
double
Pricelist rate applied on the item.
purchase_rate
double
Purchase price of the Item.
reorder_level
double
Reorder level of the item.
vendor_id
string
Unique ID generated by the server for the Vendor. This is used as an identifier.
vendor_name
string
Name of the preferred Vendor for purchasing this item.
locations
array
List of locations.
Show Sub-Attributes arrow
location_id
string
Location ID
location_name
string
Name of the location
status
string
Status of the Item Group.
is_primary
boolean
Mention whether the item is primary or not
location_stock_on_hand
string
Current available stock in your location.
location_available_stock
string
Available stock in your location.
location_actual_available_stock
string
Actual available stock in your location.
sku
string
The Stock Keeeping Unit (SKU) of an item. This is unique for every item in the Inventory.
upc
long
The 12 digit Unique Product Code (UPC) of the item.
ean
long
Unique EAN value for the Item.
isbn
string
Unique ISBN value for the Item.
part_number
string
Part Number of the Item.
attribute_option_id1
string
Unique ID generated by the server for the attribute's options. This is used as an identifier.
attribute_option_name1
string
Name of the attribute's option.
image_id
string
Unique ID generated by the server for the item image. This is used as an identifier.
image_name
string
Image name of the Item.
purchase_description
string
The description for the purchase information. This will be displayed to the vendor in your purchase order.
image_type
string
Type of the image i.e., its file format.
item_tax_preferences
array
🇮🇳 India
only
List of tax preferences of the item.
Show Sub-Attributes arrow
tax_id
string
Unique ID generated by the server for the tax associated with the item. This is used a unique identifier.
tax_specification
string
🇮🇳 India
only
Type of tax. It can be intra or inter
hsn_or_sac
string
🇮🇳 India
only
HSN Code of the item
sat_item_key_code
string
🇲🇽 Mexico
only
Add SAT Item Key Code for your goods/services. Download the CFDI Catalogs.
unitkey_code
string
🇲🇽 Mexico
only
Add Unit Key Code for your goods/services. Download the CFDI Catalogs.
custom_fields
array
List of custom fields associated with the item
Show Sub-Attributes arrow
customfield_id
string
Unique ID of the custom field.
label
string
Label of the Custom Field
value
string
Value of the Custom Field

Example

{ "group_id": 4815000000044220, "group_name": "Bags", "item_id": 4815000000044208, "name": "Bags-small", "unit": "qty", "unit_id": "4815000000044300", "unit_group_id": "4815000000044350", "unit_group_name": "Weight", "default_sales_unit_conversion_id": "4815000000044400", "default_purchase_unit_conversion_id": "4815000000044410", "item_type": "inventory", "product_type": "goods", "can_be_sold": true, "can_be_purchased": true, "track_inventory": true, "is_taxable": true, "tax_id": 4815000000044043, "documents": [ "string" ], "description": "description", "tax_name": "Sales", "tax_percentage": 12, "tax_type": "Service Tax", "purchase_account_id": 4815000000035003, "purchase_account_name": "Cost of Goods Sold", "account_name": "Sales", "inventory_account_id": 4815000000035001, "attribute_id1": 4815000000044112, "attribute_name1": "Small", "status": "active", "source": "string", "rate": 6, "pricebook_rate": 6, "purchase_rate": 6, "reorder_level": 5, "vendor_id": 4815000000044080, "vendor_name": "Molly", "locations": [ { "location_id": "460000000038080", "location_name": "", "status": "active", "is_primary": false, "location_stock_on_hand": "", "location_available_stock": "", "location_actual_available_stock": "" } ], "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_id": 2077500000000002000, "image_name": "bag_s.jpg", "purchase_description": "Purchase description", "image_type": "jpg", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] }

Create an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Creates a new item in Zoho Inventory.
OAuth Scope : ZohoInventory.items.CREATE

Arguments

group_id
string
Unique ID generated by the server for the group to which the item belongs, if any. This is used as an identifier.
group_name
string
Name of product group
unit
string
Unit of measurement for the item.
unit_id
string
Unique ID of the unit associated with the item.
unit_group_id
string
Unique ID of the unit group associated with the item. Applicable when unit conversion is enabled.
default_sales_unit_conversion_id
string
Unique ID of the default sales unit conversion. Applicable when unit conversion is enabled.
default_purchase_unit_conversion_id
string
Unique ID of the default purchase unit conversion. Applicable when unit conversion is enabled.
documents
array
List of all the documents associated with the item
item_type
string
Item type can be inventory, sales, purchases or sales_and_purchases. If item is associated with a group, then type should be inventory.
product_type
string
Type of the product. It can be goods or service
can_be_sold
boolean
Boolean to indicate whether the item can be sold.
can_be_purchased
boolean
Boolean to indicate whether the item can be purchased.
track_inventory
boolean
Boolean to indicate whether inventory tracking is enabled for the item.
is_taxable
boolean
Boolean to track the taxability of the item.
tax_id
string
Unique ID generated by the server for the tax associated with the item. This is used a unique identifier.
description
string
Description of the Item.
purchase_account_id
string
Unique ID generated by the server for the Purchase account.
inventory_account_id
string
Uniquq ID generated by the server for the Inventory account.
attribute_name1
string
Name of the attribute present in the Item Group.
name
string
(Required)
Name of the Item.
rate
double
Sales price of the Item.
purchase_rate
double
Purchase price of the Item.
reorder_level
double
Reorder level of the item.
locations
array
List of locations.
Show Sub-Attributes arrow
location_id
string
Location ID
initial_stock
double
The opening stock of the item.
initial_stock_rate
double
The opening stock value of the item.
vendor_id
string
Unique ID generated by the server for the Vendor. This is used as an identifier.
vendor_name
string
Name of the preferred Vendor for purchasing this item.
sku
string
The Stock Keeeping Unit (SKU) of an item. This is unique for every item in the Inventory.
upc
long
The 12 digit Unique Product Code (UPC) of the item.
ean
long
Unique EAN value for the Item.
isbn
string
Unique ISBN value for the Item.
part_number
string
Part Number of the Item.
attribute_option_name1
string
Name of the attribute's option.
purchase_description
string
The description for the purchase information. This will be displayed to the vendor in your purchase order.
item_tax_preferences
array
🇮🇳 India
only
List of tax preferences of the item.
Show Sub-Attributes arrow
tax_id
string
Unique ID generated by the server for the tax associated with the item. This is used a unique identifier.
tax_specification
string
🇮🇳 India
only
Type of tax. It can be intra or inter
hsn_or_sac
string
🇮🇳 India
only
HSN Code of the item
sat_item_key_code
string
🇲🇽 Mexico
only
Add SAT Item Key Code for your goods/services. Download the CFDI Catalogs.
unitkey_code
string
🇲🇽 Mexico
only
Add Unit Key Code for your goods/services. Download the CFDI Catalogs.
custom_fields
array
List of custom fields associated with the item
Show Sub-Attributes arrow
customfield_id
string
Unique ID of the custom field.
label
string
Label of the Custom Field
value
string
Value of the Custom Field

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items?organization_id=10234695" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/items?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/inventory/v1/items?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "group_id": 4815000000044220, "group_name": "Bags", "unit": "qty", "unit_id": "4815000000044300", "unit_group_id": "4815000000044350", "default_sales_unit_conversion_id": "4815000000044400", "default_purchase_unit_conversion_id": "4815000000044410", "documents": [ "string" ], "item_type": "inventory", "product_type": "goods", "can_be_sold": true, "can_be_purchased": true, "track_inventory": true, "is_taxable": true, "tax_id": 4815000000044043, "description": "description", "purchase_account_id": 4815000000035003, "inventory_account_id": 4815000000035001, "attribute_name1": "Small", "name": "Bags-small", "rate": 6, "purchase_rate": 6, "reorder_level": 5, "locations": [ { "location_id": "460000000038080", "initial_stock": 50, "initial_stock_rate": 500 } ], "vendor_id": 4815000000044080, "vendor_name": "Molly", "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_name1": "Small", "purchase_description": "Purchase description", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] }

Response Example

{ "code": 0, "message": "The item has been added.", "item": { "group_id": 4815000000044220, "group_name": "Bags", "item_id": 4815000000044208, "name": "Bags-small", "unit": "qty", "unit_id": "4815000000044300", "unit_group_id": "4815000000044350", "unit_group_name": "Weight", "default_sales_unit_conversion_id": "4815000000044400", "default_purchase_unit_conversion_id": "4815000000044410", "item_type": "inventory", "product_type": "goods", "can_be_sold": true, "can_be_purchased": true, "track_inventory": true, "is_taxable": true, "tax_id": 4815000000044043, "documents": [ "string" ], "description": "description", "tax_name": "Sales", "tax_percentage": 12, "tax_type": "Service Tax", "purchase_account_id": 4815000000035003, "purchase_account_name": "Cost of Goods Sold", "account_name": "Sales", "inventory_account_id": 4815000000035001, "attribute_id1": 4815000000044112, "attribute_name1": "Small", "status": "active", "source": "string", "rate": 6, "pricebook_rate": 6, "purchase_rate": 6, "reorder_level": 5, "vendor_id": 4815000000044080, "vendor_name": "Molly", "locations": [ { "location_id": "460000000038080", "location_name": "", "status": "active", "is_primary": false, "location_stock_on_hand": "", "location_available_stock": "", "location_actual_available_stock": "" } ], "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_id": 2077500000000002000, "image_name": "bag_s.jpg", "purchase_description": "Purchase description", "image_type": "jpg", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] } }

List all the items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all the items present in Zoho Inventory.
OAuth Scope : ZohoInventory.items.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
page
integer
Page number to be fetched. Default value is 1.
per_page
integer
Number of records to be fetched per page. Default value is 200.
search_text
string
Search items by name, SKU, or other searchable fields.
filter_by
string
Filter items by status or item type. Allowed values: Status.All, Status.Active, Status.Inactive, Status.Lowstock, Status.Unmapped, Status.Uncategorized, Status.Grouped, ItemType.All, ItemType.Sales, ItemType.Purchases, ItemType.SalesAndPurchases, ItemType.Inventory, ItemType.NonInventory, ItemType.Service.
sort_column
string
Sort by column. Allowed values: name, sku, rate, purchase_rate, created_time, last_modified_time, reorder_level, stock_on_hand.
sort_order
string
Sort order. Allowed values: A for ascending and D for descending.
status
string
Filter by item status. Allowed values: active, inactive.
name
string
Filter by exact item name.
name_startswith
string
Filter by item name that starts with the given value.
name_contains
string
Filter by item name that contains the given value.
sku
string
Filter by exact SKU.
sku_startswith
string
Filter by SKU that starts with the given value.
sku_contains
string
Filter by SKU that contains the given value.
rate
double
Filter by exact selling rate.
rate_less_than
double
Filter by selling rate less than the given value.
rate_less_equals
double
Filter by selling rate less than or equal to the given value.
rate_greater_than
double
Filter by selling rate greater than the given value.
rate_greater_equals
double
Filter by selling rate greater than or equal to the given value.
purchase_rate
double
Filter by exact purchase rate.
purchase_rate_less_than
double
Filter by purchase rate less than the given value.
purchase_rate_less_equals
double
Filter by purchase rate less than or equal to the given value.
purchase_rate_greater_than
double
Filter by purchase rate greater than the given value.
purchase_rate_greater_equals
double
Filter by purchase rate greater than or equal to the given value.
tax_id
string
Filter by tax ID.
account_id
string
Filter by sales account ID.
purchase_account_id
string
Filter by purchase account ID.
customview_id
string
Custom view ID to apply.
vendor_id
string
Filter by vendor ID.
item_id
string
Filter by item ID.
zcrm_product_id
string
Filter by Zoho CRM product ID.
last_modified_time
string
Filter items modified after the given date and time. Format yyyy-MM-ddTHH:mm:ssZ.
category_id
string
Filter by category ID.
brand_ids
string
Comma-separated list of brand IDs to filter by.
manufacturer_ids
string
Comma-separated list of manufacturer IDs to filter by.
warehouse_id
string
Filter by warehouse ID.
location_id
string
Filter by location ID.
group_id
string
Filter by item group ID.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "items": [ { "group_id": 4815000000044220, "group_name": "Bags", "item_id": 4815000000044208, "name": "Bags-small", "status": "active", "source": "string", "is_linked_with_zohocrm": false, "item_type": "inventory", "description": "description", "rate": 6, "is_taxable": true, "tax_id": 4815000000044043, "tax_name": "Sales", "tax_percentage": 12, "purchase_description": "Purchase description", "purchase_rate": 6, "is_combo_product": false, "product_type": "goods", "attribute_id1": 4815000000044112, "attribute_name1": "Small", "reorder_level": 5, "locations": [ { "location_id": "460000000038080", "location_name": "", "status": "active", "is_primary": false, "location_stock_on_hand": "", "location_available_stock": "", "location_actual_available_stock": "" } ], "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_name": "bag_s.jpg", "image_type": "jpg", "created_time": "2013-01-24", "last_modified_time": "2013-01-24", "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] }, {...}, {...} ] }

Delete multiple items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Deletes multiple items from Zoho Inventory.
OAuth Scope : ZohoInventory.items.DELETE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
Comma-separated list of item IDs to delete.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items?organization_id=10234695" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items?organization_id=10234695") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/inventory/v1/items?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url 'https://www.zohoapis.com/inventory/v1/items?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The items have been deleted." }

Bulk fetch item details AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Fetch item details for the mentioned item IDs
OAuth Scope : ZohoInventory.items.READ

Query Parameters

item_ids
string
(Required)
List of item ids separated by comma
organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/itemdetails?item_ids=4815000000044208,4815000000044274,4815000000044340&organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/itemdetails?item_ids=4815000000044208%2C4815000000044274%2C4815000000044340&organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/itemdetails?item_ids=4815000000044208%2C4815000000044274%2C4815000000044340&organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/itemdetails?item_ids=4815000000044208%2C4815000000044274%2C4815000000044340&organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/itemdetails?item_ids=4815000000044208%2C4815000000044274%2C4815000000044340&organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/itemdetails?item_ids=4815000000044208%2C4815000000044274%2C4815000000044340&organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "items": [ { "item_id": 4815000000044208, "name": "Bags-small", "unit": "qty", "item_type": "inventory", "product_type": "goods", "is_taxable": true, "tax_id": 4815000000044043, "description": "description", "tax_name": "Sales", "tax_percentage": 12, "tax_type": "Service Tax", "purchase_account_id": 4815000000035003, "purchase_account_name": "Cost of Goods Sold", "account_name": "Sales", "inventory_account_id": 4815000000035001, "attribute_id1": 4815000000044112, "attribute_name1": "Small", "status": "active", "rate": 6, "pricebook_rate": 6, "purchase_rate": 6, "reorder_level": 5, "vendor_id": 4815000000044080, "vendor_name": "Molly", "locations": [ { "location_id": "460000000038080", "location_name": "", "status": "active", "is_primary": false, "location_stock_on_hand": "", "location_available_stock": "", "location_actual_available_stock": "" } ], "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_id": 2077500000000002000, "image_name": "bag_s.jpg", "purchase_description": "Purchase description", "image_type": "jpg", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] }, {...}, {...} ] }

Update an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Update the details of an item.
OAuth Scope : ZohoInventory.items.UPDATE

Arguments

group_id
string
Unique ID generated by the server for the group to which the item belongs, if any. This is used as an identifier.
group_name
string
Name of product group
unit
string
Unit of measurement for the item.
unit_id
string
Unique ID of the unit associated with the item.
unit_group_id
string
Unique ID of the unit group associated with the item. Applicable when unit conversion is enabled.
default_sales_unit_conversion_id
string
Unique ID of the default sales unit conversion. Applicable when unit conversion is enabled.
default_purchase_unit_conversion_id
string
Unique ID of the default purchase unit conversion. Applicable when unit conversion is enabled.
item_type
string
Item type can be inventory, sales, purchases or sales_and_purchases. If item is associated with a group, then type should be inventory.
product_type
string
Type of the product. It can be goods or service
can_be_sold
boolean
Boolean to indicate whether the item can be sold.
can_be_purchased
boolean
Boolean to indicate whether the item can be purchased.
track_inventory
boolean
Boolean to indicate whether inventory tracking is enabled for the item.
is_taxable
boolean
Boolean to track the taxability of the item.
tax_id
string
Unique ID generated by the server for the tax associated with the item. This is used a unique identifier.
description
string
Description of the Item.
tax_name
string
Name of the tax applied on the Item Group.
tax_percentage
double
Percentage of the Tax
tax_type
string
Type of the Tax.
purchase_account_id
string
Unique ID generated by the server for the Purchase account.
purchase_account_name
string
Name of the Purchase Account
account_name
string
Name of the Sales Account.
inventory_account_id
string
Uniquq ID generated by the server for the Inventory account.
attribute_id1
string
Unique ID used by the server. This is used as an identifier.
attribute_name1
string
Name of the attribute present in the Item Group.
status
string
Status of the Item Group.
source
string
The source of the Item Group.
name
string
(Required)
Name of the Item.
rate
double
Sales price of the Item.
pricebook_rate
double
Pricelist rate applied on the item.
purchase_rate
double
Purchase price of the Item.
reorder_level
double
Reorder level of the item.
locations
array
List of locations.
Show Sub-Attributes arrow
location_id
string
Location ID
initial_stock
double
The opening stock of the item.
initial_stock_rate
double
The opening stock value of the item.
vendor_id
string
Unique ID generated by the server for the Vendor. This is used as an identifier.
vendor_name
string
Name of the preferred Vendor for purchasing this item.
sku
string
The Stock Keeeping Unit (SKU) of an item. This is unique for every item in the Inventory.
upc
long
The 12 digit Unique Product Code (UPC) of the item.
ean
long
Unique EAN value for the Item.
isbn
string
Unique ISBN value for the Item.
part_number
string
Part Number of the Item.
attribute_option_id1
string
Unique ID generated by the server for the attribute's options. This is used as an identifier.
attribute_option_name1
string
Name of the attribute's option.
image_id
string
Unique ID generated by the server for the item image. This is used as an identifier.
image_name
string
Image name of the Item.
purchase_description
string
The description for the purchase information. This will be displayed to the vendor in your purchase order.
image_type
string
Type of the image i.e., its file format.
item_tax_preferences
array
🇮🇳 India
only
List of tax preferences of the item.
Show Sub-Attributes arrow
tax_id
string
Unique ID generated by the server for the tax associated with the item. This is used a unique identifier.
tax_specification
string
🇮🇳 India
only
Type of tax. It can be intra or inter
hsn_or_sac
string
🇮🇳 India
only
HSN Code of the item
sat_item_key_code
string
🇲🇽 Mexico
only
Add SAT Item Key Code for your goods/services. Download the CFDI Catalogs.
unitkey_code
string
🇲🇽 Mexico
only
Add Unit Key Code for your goods/services. Download the CFDI Catalogs.
custom_fields
array
List of custom fields associated with the item
Show Sub-Attributes arrow
customfield_id
string
Unique ID of the custom field.
label
string
Label of the Custom Field
value
string
Value of the Custom Field

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/inventory/v1/items/4815000000044208?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "group_id": 4815000000044220, "group_name": "Bags", "unit": "qty", "unit_id": "4815000000044300", "unit_group_id": "4815000000044350", "default_sales_unit_conversion_id": "4815000000044400", "default_purchase_unit_conversion_id": "4815000000044410", "item_type": "inventory", "product_type": "goods", "can_be_sold": true, "can_be_purchased": true, "track_inventory": true, "is_taxable": true, "tax_id": 4815000000044043, "description": "description", "tax_name": "Sales", "tax_percentage": 12, "tax_type": "Service Tax", "purchase_account_id": 4815000000035003, "purchase_account_name": "Cost of Goods Sold", "account_name": "Sales", "inventory_account_id": 4815000000035001, "attribute_id1": 4815000000044112, "attribute_name1": "Small", "status": "active", "source": "string", "name": "Bags-small", "rate": 6, "pricebook_rate": 6, "purchase_rate": 6, "reorder_level": 5, "locations": [ { "location_id": "460000000038080", "initial_stock": 50, "initial_stock_rate": 500 } ], "vendor_id": 4815000000044080, "vendor_name": "Molly", "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_id": 2077500000000002000, "image_name": "bag_s.jpg", "purchase_description": "Purchase description", "image_type": "jpg", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] }

Response Example

{ "code": 0, "message": "Item details have been updated", "item": { "group_id": 4815000000044220, "group_name": "Bags", "item_id": 4815000000044208, "name": "Bags-small", "unit": "qty", "unit_id": "4815000000044300", "unit_group_id": "4815000000044350", "unit_group_name": "Weight", "default_sales_unit_conversion_id": "4815000000044400", "default_purchase_unit_conversion_id": "4815000000044410", "item_type": "inventory", "product_type": "goods", "can_be_sold": true, "can_be_purchased": true, "track_inventory": true, "is_taxable": true, "tax_id": 4815000000044043, "documents": [ "string" ], "description": "description", "tax_name": "Sales", "tax_percentage": 12, "tax_type": "Service Tax", "purchase_account_id": 4815000000035003, "purchase_account_name": "Cost of Goods Sold", "account_name": "Sales", "inventory_account_id": 4815000000035001, "attribute_id1": 4815000000044112, "attribute_name1": "Small", "status": "active", "source": "string", "rate": 6, "pricebook_rate": 6, "purchase_rate": 6, "reorder_level": 5, "vendor_id": 4815000000044080, "vendor_name": "Molly", "locations": [ { "location_id": "460000000038080", "location_name": "", "status": "active", "is_primary": false, "location_stock_on_hand": "", "location_available_stock": "", "location_actual_available_stock": "" } ], "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_id": 2077500000000002000, "image_name": "bag_s.jpg", "purchase_description": "Purchase description", "image_type": "jpg", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] } }

Retrieve an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Fetches the details for an existing item.
OAuth Scope : ZohoInventory.items.READ

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/4815000000044208?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "item": { "group_id": 4815000000044220, "group_name": "Bags", "item_id": 4815000000044208, "name": "Bags-small", "unit": "qty", "unit_id": "4815000000044300", "unit_group_id": "4815000000044350", "unit_group_name": "Weight", "default_sales_unit_conversion_id": "4815000000044400", "default_purchase_unit_conversion_id": "4815000000044410", "item_type": "inventory", "product_type": "goods", "can_be_sold": true, "can_be_purchased": true, "track_inventory": true, "is_taxable": true, "tax_id": 4815000000044043, "description": "description", "tax_name": "Sales", "tax_percentage": 12, "tax_type": "Service Tax", "purchase_account_id": 4815000000035003, "purchase_account_name": "Cost of Goods Sold", "account_name": "Sales", "inventory_account_id": 4815000000035001, "attribute_id1": 4815000000044112, "attribute_name1": "Small", "status": "active", "source": "string", "rate": 6, "pricebook_rate": 6, "purchase_rate": 6, "reorder_level": 5, "vendor_id": 4815000000044080, "vendor_name": "Molly", "locations": [ { "location_id": "460000000038080", "location_name": "", "status": "active", "is_primary": false, "location_stock_on_hand": "", "location_available_stock": "", "location_actual_available_stock": "" } ], "sku": "SK123", "upc": 111111111111, "ean": 111111111112, "isbn": 111111111113, "part_number": 111111111114, "attribute_option_id1": 4815000000044214, "attribute_option_name1": "Small", "image_id": 2077500000000002000, "image_name": "bag_s.jpg", "purchase_description": "Purchase description", "image_type": "jpg", "item_tax_preferences": [ { "tax_id": 4815000000044043, "tax_specification": "intra" } ], "hsn_or_sac": 85423100, "sat_item_key_code": "string", "unitkey_code": "string", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "Normal" } ] } }

Delete an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Deletes an existing item from Zoho Inventory.
OAuth Scope : ZohoInventory.items.DELETE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/inventory/v1/items/4815000000044208?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The item has been deleted." }

Update custom field in existing items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Update the value of the custom field in existing items.
OAuth Scope : ZohoInventory.items.UPDATE

Arguments

customfield_id
string
Unique ID of the custom field.
label
string
Label of the Custom Field
value
string
Value of the Custom Field

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/item/45667789900/customfields?organization_id=10234695" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/item/45667789900/customfields?organization_id=10234695") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/item/45667789900/customfields?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/inventory/v1/item/45667789900/customfields?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/item/45667789900/customfields?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/item/45667789900/customfields?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
[ { "customfield_id": "string", "label": "string", "value": "Normal" } ]

Response Example

{ "code": 0, "message": "Custom Fields Updated Successfully" }

Upload an item image AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Uploads an image for an item in Zoho Inventory. Allowed formats: gif, png, jpeg, jpg, bmp, webp. Maximum size: 7 MB.
OAuth Scope : ZohoInventory.items.CREATE

Arguments

image
binary
Image file to upload.

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data = Map(); parameters_data.put("field1", "value1") parameters_data.put("field2", "value2") headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695" type: POST headers: headers_data parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("multipart/form-data; boundary=---011000010111000001101001"); RequestBody body = RequestBody.create(mediaType, "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "multipart/form-data; boundary=---011000010111000001101001") .build(); Response response = client.newCall(request).execute();
const form = new FormData(); form.append("field1", "value1"); form.append("field2", "value2"); const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'multipart/form-data; boundary=---011000010111000001101001' } }; options.body = form; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "multipart/form-data; boundary=---011000010111000001101001" } conn.request("POST", "/inventory/v1/items/4815000000044208/image?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/image?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "multipart/form-data; boundary=---011000010111000001101001" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: multipart/form-data' \ --form field1=value1 \ --form field2=value2

Body Parameters

Click to copy
{ "image": "string" }

Response Example

{ "code": 0, "message": "The item image has been uploaded." }

Retrieve an item image AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Retrieves the image associated with an item.
OAuth Scope : ZohoInventory.items.READ

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
preview
boolean
Set to true to get a preview of the image.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/4815000000044208/image?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/image?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

Delete an item image AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Deletes the image associated for an item in Zoho Inventory.
OAuth Scope : ZohoInventory.items.DELETE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/inventory/v1/items/4815000000044208/image?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/image?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/image?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The item image has been deleted." }

Mark as active AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Changes the status of an item to active.
OAuth Scope : ZohoInventory.items.CREATE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/active?organization_id=10234695" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/active?organization_id=10234695") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/active?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/4815000000044208/active?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/active?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/active?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The item has been marked as Active." }

Mark as inactive AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Mark an item as inactive.
OAuth Scope : ZohoInventory.items.CREATE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/inactive?organization_id=10234695" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/inactive?organization_id=10234695") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/inactive?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/4815000000044208/inactive?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/inactive?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/inactive?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The item has been marked as Inactive." }

Update variant opening stock AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Updates the opening stock details of a variant.
OAuth Scope : ZohoInventory.items.UPDATE

Arguments

initial_stock
double
Opening stock quantity. Applicable only when warehouse/location is not enabled. Must not be sent when locations is provided.
initial_stock_rate
double
Opening stock rate per unit. Applicable only when warehouse/location is not enabled. Must not be sent when locations is provided.
serial_numbers
array
List of serial numbers. Applicable only when the item is serial tracked and warehouse/location is not enabled. Must not be sent when locations is provided.
batches
array
List of batches. Applicable only when the item is batch tracked and warehouse/location is not enabled. Must not be sent when locations is provided. Maximum 5000 batches per request.
Show Sub-Attributes arrow
batch_number
string
Batch number.
quantity
double
Quantity in this batch.
rate
double
Rate per unit for this batch.
manufactured_date
string
Manufactured date in yyyy-MM-dd format.
expiry_date
string
Expiry date in yyyy-MM-dd format.
locations
array
Location-level stock details. Applicable when warehouse/location is enabled.
Show Sub-Attributes arrow
location_id
long
Unique identifier of the location or warehouse.
initial_stock
double
Opening stock quantity for this location.
initial_stock_rate
double
Opening stock rate per unit for this location.
serial_numbers
array
List of serial numbers at the location level. Applicable when the item is serial tracked without bin/storage tracking.
storages
array
Storage (bin) level details within this location. Applicable when the item has bin/storage tracking enabled.
Show Sub-Attributes arrow
storage_location_id
string
Unique identifier of the storage location (bin).
quantity
double
Quantity in this storage.
serial_numbers
array
List of serial numbers within this storage. Applicable when the item is both bin and serial tracked.
batches
array
Batch details at the location level. Applicable when the item is batch tracked. Maximum 5000 batches per request.
Show Sub-Attributes arrow
batch_number
string
Batch number.
quantity
double
Quantity in this batch.
rate
double
Rate per unit for this batch.
manufactured_date
string
Manufactured date in yyyy-MM-dd format.
expiry_date
string
Expiry date in yyyy-MM-dd format.
storages
array
Storage (bin) level details within this batch. Applicable when the item has both batch and bin/storage tracking enabled.
Show Sub-Attributes arrow
storage_location_id
string
Unique identifier of the storage location (bin).
quantity
double
Quantity in this storage.

Path Parameters

variant_id
string
(Required)
Unique identifier of the variant.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "initial_stock": 0, "initial_stock_rate": 0, "serial_numbers": [ "SN001", "SN002" ], "batches": [ { "batch_number": "string", "quantity": 0, "rate": 0, "manufactured_date": "string", "expiry_date": "string" } ], "locations": [ { "location_id": 0, "initial_stock": 0, "initial_stock_rate": 0, "serial_numbers": [ "string" ], "storages": [ { "storage_location_id": "string", "quantity": 0, "serial_numbers": [ "string" ] } ], "batches": [ { "batch_number": "string", "quantity": 0, "rate": 0, "manufactured_date": "string", "expiry_date": "string", "storages": [ { "storage_location_id": "string", "quantity": 0 } ] } ] } ] }

Response Example

{ "code": 0, "message": "The opening stock has been updated." }

Retrieve variant opening stock AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Fetches the opening stock details of a variant, including batches, serial numbers, and warehouse details.
OAuth Scope : ZohoInventory.items.READ

Path Parameters

variant_id
string
(Required)
Unique identifier of the variant.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/variants/4815000000044208/openingstock?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "opening_stock": { "initial_stock": 0, "initial_stock_rate": 0, "serial_numbers": [ "string" ], "batches": [ { "batch_number": "string", "quantity": 0, "rate": 0 } ], "locations": [ { "location_id": "string", "initial_stock": 0, "initial_stock_rate": 0 } ] } }

Upload multiple item images AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Uploads multiple images for an item. Allowed formats: gif, png, jpeg, jpg, bmp, webp. Maximum size: 7 MB per image.
OAuth Scope : ZohoInventory.items.CREATE

Arguments

image
binary
Image file(s) to upload.

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
document_ids
string
Comma-separated list of document IDs.
remove_all
boolean
Set to true to remove all existing images before uploading.
update_primary_image
boolean
Set to true to update the primary image.

Request Example

Click to copy
parameters_data = Map(); parameters_data.put("field1", "value1") parameters_data.put("field2", "value2") headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695" type: POST headers: headers_data parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("multipart/form-data; boundary=---011000010111000001101001"); RequestBody body = RequestBody.create(mediaType, "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "multipart/form-data; boundary=---011000010111000001101001") .build(); Response response = client.newCall(request).execute();
const form = new FormData(); form.append("field1", "value1"); form.append("field2", "value2"); const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'multipart/form-data; boundary=---011000010111000001101001' } }; options.body = form; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "multipart/form-data; boundary=---011000010111000001101001" } conn.request("POST", "/inventory/v1/items/4815000000044208/images?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/images?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "multipart/form-data; boundary=---011000010111000001101001" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: multipart/form-data' \ --form field1=value1 \ --form field2=value2

Body Parameters

Click to copy
{ "image": "string" }

Response Example

{ "code": 0, "message": "The item images have been uploaded." }

Delete multiple item images AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Deletes multiple images associated with an item.
OAuth Scope : ZohoInventory.items.DELETE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
document_ids
string
(Required)
Comma-separated list of document IDs to delete.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695&document_ids=SOME_STRING_VALUE" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695&document_ids=SOME_STRING_VALUE") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695&document_ids=SOME_STRING_VALUE', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/inventory/v1/items/4815000000044208/images?organization_id=10234695&document_ids=SOME_STRING_VALUE", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/images?organization_id=10234695&document_ids=SOME_STRING_VALUE", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/images?organization_id=10234695&document_ids=SOME_STRING_VALUE' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The item images have been deleted." }

Reorder item images AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Reorders the images associated with an item.
OAuth Scope : ZohoInventory.items.CREATE

Arguments

documents
array
(Required)
List of documents with their display order.
Show Sub-Attributes arrow
document_id
string
(Required)
Unique identifier of the document (image).
order
integer
(Required)
Display order of the image.

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/reorder?organization_id=10234695" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/reorder?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/reorder?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/inventory/v1/items/4815000000044208/images/reorder?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/images/reorder?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/reorder?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "documents": [ { "document_id": "2975552000000927087", "order": 1 } ] }

Response Example

{ "code": 0, "message": "The item images have been reordered." }

Upload an item back image AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Uploads a back image for an item. Allowed formats: gif, png, jpeg, jpg, bmp, webp. Maximum size: 7 MB.
OAuth Scope : ZohoInventory.items.CREATE

Arguments

back_image
binary
Back image file to upload.

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
document_id
string
Document ID of an existing image to set as back image.

Request Example

Click to copy
parameters_data = Map(); parameters_data.put("field1", "value1") parameters_data.put("field2", "value2") headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695" type: POST headers: headers_data parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("multipart/form-data; boundary=---011000010111000001101001"); RequestBody body = RequestBody.create(mediaType, "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "multipart/form-data; boundary=---011000010111000001101001") .build(); Response response = client.newCall(request).execute();
const form = new FormData(); form.append("field1", "value1"); form.append("field2", "value2"); const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'multipart/form-data; boundary=---011000010111000001101001' } }; options.body = form; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "multipart/form-data; boundary=---011000010111000001101001" } conn.request("POST", "/inventory/v1/items/4815000000044208/backimage?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/backimage?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "multipart/form-data; boundary=---011000010111000001101001" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: multipart/form-data' \ --form field1=value1 \ --form field2=value2

Body Parameters

Click to copy
{ "back_image": "string" }

Response Example

{ "code": 0, "message": "The back image has been uploaded." }

Delete an item back image AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Deletes the back image associated with an item.
OAuth Scope : ZohoInventory.items.DELETE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
document_id
string
Document ID of the back image to delete.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/inventory/v1/items/4815000000044208/backimage?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/backimage?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/backimage?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The back image has been deleted." }

Mark an image as back image AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Marks an existing item image as the rear/back image.
OAuth Scope : ZohoInventory.items.UPDATE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.
image_id
string
(Required)
Unique identifier of the image.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/2077500000000002000/backimage?organization_id=10234695" type: PUT headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/2077500000000002000/backimage?organization_id=10234695") .put(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/2077500000000002000/backimage?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("PUT", "/inventory/v1/items/4815000000044208/images/2077500000000002000/backimage?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/images/2077500000000002000/backimage?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/images/2077500000000002000/backimage?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The image has been marked as back image." }

Bulk mark items as active AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Changes the status of multiple items to active.
OAuth Scope : ZohoInventory.items.CREATE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
(Required)
Comma-separated list of item IDs to mark as active.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/active?organization_id=10234695&item_ids=4815000000044208,4815000000044274" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/active?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/active?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/active?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/active?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/active?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The items have been marked as Active." }

Bulk mark items as inactive AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Changes the status of multiple items to inactive.
OAuth Scope : ZohoInventory.items.CREATE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
(Required)
Comma-separated list of item IDs to mark as inactive.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/inactive?organization_id=10234695&item_ids=4815000000044208,4815000000044274" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/inactive?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/inactive?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/inactive?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/inactive?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/inactive?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The items have been marked as Inactive." }

Ungroup items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Ungroups the specified items from their variant grouping.
OAuth Scope : ZohoInventory.items.CREATE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
Comma-separated list of item IDs to ungroup.
composite_item_ids
string
Comma-separated list of composite item IDs to ungroup.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/ungroup?organization_id=10234695" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/ungroup?organization_id=10234695") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/ungroup?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/ungroup?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/ungroup?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/ungroup?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The items have been ungrouped." }

Enable storage location for items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Enables storage location tracking for the specified items.
OAuth Scope : ZohoInventory.items.CREATE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
(Required)
Comma-separated list of item IDs.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/enablestoragelocation?organization_id=10234695&item_ids=4815000000044208,4815000000044274" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/enablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/enablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/enablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/enablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/enablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Storage location has been enabled." }

Disable storage location for items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Disables storage location tracking for the specified items.
OAuth Scope : ZohoInventory.items.CREATE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
(Required)
Comma-separated list of item IDs.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/disablestoragelocation?organization_id=10234695&item_ids=4815000000044208,4815000000044274" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/disablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/disablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/disablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/disablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/disablestoragelocation?organization_id=10234695&item_ids=4815000000044208%2C4815000000044274' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Storage location has been disabled." }

Move an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Moves an item to a different group or location.
OAuth Scope : ZohoInventory.items.UPDATE

Arguments

group_id
string
(Required)
Unique identifier of the destination group.
attribute_name1
string
Name of the first attribute. Required if the destination group has attributes defined.
attribute_option_name1
string
Option value for the first attribute.
attribute_name2
string
Name of the second attribute. Required if the destination group has a second attribute defined.
attribute_option_name2
string
Option value for the second attribute.
attribute_name3
string
Name of the third attribute. Required if the destination group has a third attribute defined.
attribute_option_name3
string
Option value for the third attribute.

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/move/4815000000044208?organization_id=10234695" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/move/4815000000044208?organization_id=10234695") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/items/move/4815000000044208?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/inventory/v1/items/move/4815000000044208?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/move/4815000000044208?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/items/move/4815000000044208?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "group_id": "2975552000000525321", "attribute_name1": "Title", "attribute_option_name1": "asdfgh", "attribute_name2": "string", "attribute_option_name2": "string", "attribute_name3": "string", "attribute_option_name3": "string" }

Response Example

{ "code": 0, "message": "The item has been moved." }

Group items AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Groups items together as variants under a single item.
OAuth Scope : ZohoInventory.items.UPDATE

Arguments

group_name
string
Name of the new group to create. Required when creating a new group.
group_id
string
Unique identifier of an existing group. Required when associating the item with an existing group.
unit
string
Unit of measurement for the group.
attribute_name1
string
Name of the first attribute (e.g., Size).
attribute_name2
string
Name of the second attribute (e.g., Color).
attribute_name3
string
Name of the third attribute.
items
array
List of items to include in the group, each with their attribute option mappings.
Show Sub-Attributes arrow
item_id
string
Unique identifier of the item to group.
name
string
Name of the item variant.
sku
string
SKU of the item.
attribute_option_name1
string
Option value for the first attribute for this item.
attribute_option_name2
string
Option value for the second attribute for this item.
attribute_option_name3
string
Option value for the third attribute for this item.
attribute_option_data1
string
Additional data for the first attribute option.
attribute_option_data2
string
Additional data for the second attribute option.
attribute_option_data3
string
Additional data for the third attribute option.

Path Parameters

group_id
string
(Required)
Unique identifier of the item group.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/grouping/4815000000044220?organization_id=10234695" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/grouping/4815000000044220?organization_id=10234695") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/items/grouping/4815000000044220?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/inventory/v1/items/grouping/4815000000044220?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/grouping/4815000000044220?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/items/grouping/4815000000044220?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "group_name": "string", "group_id": "string", "unit": "box", "attribute_name1": "at1", "attribute_name2": "string", "attribute_name3": "string", "items": [ { "item_id": "2975552000000327090", "name": "string", "sku": "string", "attribute_option_name1": "string", "attribute_option_name2": "string", "attribute_option_name3": "string", "attribute_option_data1": "string", "attribute_option_data2": "string", "attribute_option_data3": "string" } ] }

Response Example

{ "code": 0, "message": "The items have been grouped." }

Update item location permissions AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Updates the location access permissions for an item.
OAuth Scope : ZohoInventory.warehouses.UPDATE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
associated_with_all_locations
boolean
(Required)
Set to true to associate the item with all locations.
allowed_location_ids
string
Comma-separated list of allowed location IDs.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/locations/permissions?organization_id=10234695&associated_with_all_locations=SOME_BOOLEAN_VALUE" type: PUT headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/locations/permissions?organization_id=10234695&associated_with_all_locations=SOME_BOOLEAN_VALUE") .put(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/locations/permissions?organization_id=10234695&associated_with_all_locations=SOME_BOOLEAN_VALUE', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("PUT", "/inventory/v1/items/4815000000044208/locations/permissions?organization_id=10234695&associated_with_all_locations=SOME_BOOLEAN_VALUE", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/locations/permissions?organization_id=10234695&associated_with_all_locations=SOME_BOOLEAN_VALUE", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/locations/permissions?organization_id=10234695&associated_with_all_locations=SOME_BOOLEAN_VALUE' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Location permissions have been updated." }

Bulk update item location permissions AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Updates location access permissions for multiple items at once.
OAuth Scope : ZohoInventory.warehouses.UPDATE

Query Parameters

organization_id
string
(Required)
ID of the organization
item_ids
string
Comma-separated list of item IDs.
allowed_location_ids
string
Comma-separated list of allowed location IDs.
overwrite
boolean
Set to true to overwrite existing permissions.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/locations/permissions?organization_id=10234695" type: PUT headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/locations/permissions?organization_id=10234695") .put(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/locations/permissions?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("PUT", "/inventory/v1/items/locations/permissions?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/locations/permissions?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request PUT \ --url 'https://www.zohoapis.com/inventory/v1/items/locations/permissions?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Location permissions have been updated." }

Validate serial numbers AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Checks serial number availability for outgoing transactions.
OAuth Scope : ZohoInventory.items.CREATE

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization
entity_id
string
Unique identifier of the entity.
warehouse_id
string
Unique identifier of the warehouse.
entity_type
string
(Required)
Type of the entity.
serial_numbers
string
(Required)
Comma-separated list of serial numbers to validate.
location_id
string
Unique identifier of the location.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validate?organization_id=10234695&entity_type=SOME_STRING_VALUE&serial_numbers=SOME_STRING_VALUE" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validate?organization_id=10234695&entity_type=SOME_STRING_VALUE&serial_numbers=SOME_STRING_VALUE") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validate?organization_id=10234695&entity_type=SOME_STRING_VALUE&serial_numbers=SOME_STRING_VALUE', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/inventory/v1/items/4815000000044208/serialnumber/validate?organization_id=10234695&entity_type=SOME_STRING_VALUE&serial_numbers=SOME_STRING_VALUE", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/serialnumber/validate?organization_id=10234695&entity_type=SOME_STRING_VALUE&serial_numbers=SOME_STRING_VALUE", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validate?organization_id=10234695&entity_type=SOME_STRING_VALUE&serial_numbers=SOME_STRING_VALUE' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success" }

Validate and map serial numbers AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Validates serial number availability and maps them with bin locations for outgoing transactions.
OAuth Scope : ZohoInventory.items.CREATE

Arguments

entity_id
string
Unique identifier of the entity.
warehouse_id
string
Unique identifier of the warehouse.
location_id
string
Unique identifier of the location.
entity_type
string
Type of the entity.
serial_numbers
array
List of serial numbers to validate and map.

Path Parameters

item_id
string
(Required)
Unique identifier of the item.

Query Parameters

organization_id
string
(Required)
ID of the organization

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validateandmap?organization_id=10234695" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validateandmap?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validateandmap?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/inventory/v1/items/4815000000044208/serialnumber/validateandmap?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/4815000000044208/serialnumber/validateandmap?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request POST \ --url 'https://www.zohoapis.com/inventory/v1/items/4815000000044208/serialnumber/validateandmap?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "entity_id": "string", "warehouse_id": "string", "location_id": "string", "entity_type": "string", "serial_numbers": [ "string" ] }

Response Example

{ "code": 0, "message": "success" }

List sales orders for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all sales orders associated with a particular item.
OAuth Scope : ZohoInventory.salesorders.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
status
string
Filter by status. Allowed values: draft, pending_approval, approved, confirmed, overdue, shipped, partially_shipped, fulfilled, void, drop_shipped, partially_invoiced, invoiced, onhold, closed, backordered.
customer_id
string
Filter by customer ID.
sales_channel
string
Filter by sales channel.
sort_column
string
Sort by column. Allowed values: date, salesorder_number.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/salesorders?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/salesorders?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/salesorders?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/salesorders?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/salesorders?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/salesorders?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "salesorders": [ { "salesorder_id": "string", "customer_name": "string", "customer_id": "string", "order_status": "string", "salesorder_number": "string", "date": "string", "item_quantity": 0, "unit": "string", "currency_id": "string", "currency_code": "string", "currency_symbol": "string", "item_price": 0, "item_total_price": 0, "sales_channel": "string" }, {...}, {...} ] }

List purchase orders for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all purchase orders associated with a particular item.
OAuth Scope : ZohoInventory.purchaseorders.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
status
string
Filter by status. Allowed values: draft, issued, closed, received, partially_received, billed, partially_billed, cancelled, drop_shipped, pending_approval, approved.
vendor_id
string
Filter by vendor ID.
sort_column
string
Sort by column. Allowed values: vendor_name, date, purchaseorder_number.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/purchaseorders?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/purchaseorders?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/purchaseorders?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/purchaseorders?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/purchaseorders?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/purchaseorders?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "purchaseorders": [ { "purchaseorder_id": "string", "vendor_name": "string", "vendor_id": "string", "status": "string", "purchaseorder_number": "string", "date": "string", "item_quantity": 0, "unit": "string", "currency_id": "string", "currency_code": "string", "currency_symbol": "string", "item_price": 0, "item_total_price": 0 }, {...}, {...} ] }

List invoices for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all invoices associated with a particular item.
OAuth Scope : ZohoInventory.invoices.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
status
string
Filter by status. Allowed values: sent, draft, pending_approval, approved, viewed, overdue, paid, void, unpaid, partially_paid.
customer_id
string
Filter by customer ID.
sort_column
string
Sort by column. Allowed values: customer_name, date, invoice_number.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/invoices?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/invoices?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/invoices?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/invoices?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/invoices?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/invoices?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "invoices": [ { "invoice_id": "string", "customer_name": "string", "customer_id": "string", "status": "string", "invoice_number": "string", "date": "string", "item_quantity": 0, "unit": "string", "currency_id": "string", "currency_code": "string", "currency_symbol": "string", "item_price": 0, "item_total_price": 0 }, {...}, {...} ] }

List delivery challans for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all delivery challans associated with a particular item.
OAuth Scope : ZohoInventory.invoices.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
status
string
Filter by status. Allowed values: draft, open, void, fulfilled, invoiced, partially_invoiced, elapsed.
customer_id
string
Filter by customer ID.
sort_column
string
Sort by column. Allowed values: customer_name, deliverychallan_number, total, date, created_time, last_modified_time.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/deliverychallans?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/deliverychallans?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/deliverychallans?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/deliverychallans?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/deliverychallans?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/deliverychallans?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "deliverychallans": [ { "deliverychallan_id": "string", "customer_name": "string", "customer_id": "string", "status": "string", "deliverychallan_number": "string", "date": "string", "item_quantity": 0, "unit": "string", "currency_id": "string", "currency_code": "string", "currency_symbol": "string", "item_price": 0, "item_total_price": 0 }, {...}, {...} ] }

List sales receipts for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all sales receipts associated with a particular item.
OAuth Scope : ZohoInventory.invoices.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
customer_id
string
Filter by customer ID.
sort_column
string
Sort by column. Allowed values: customer_name, date, receipt_number.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/salesreceipts?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/salesreceipts?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/salesreceipts?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/salesreceipts?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/salesreceipts?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/salesreceipts?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "sales_receipts": [ { "receipt_id": "string", "customer_name": "string", "customer_id": "string", "receipt_number": "string", "date": "string", "item_quantity": 0, "currency_id": "string", "currency_code": "string", "currency_symbol": "string", "item_price": 0, "item_total_price": 0 }, {...}, {...} ] }

List move orders for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all move orders associated with a particular item.
OAuth Scope : ZohoInventory.items.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
sort_column
string
Sort by column. Allowed values: moveorder_number, date.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/moveorders?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/moveorders?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/moveorders?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/moveorders?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/moveorders?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/moveorders?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "moveorders": [ { "moveorder_id": "string", "moveorder_number": "string", "date": "string", "warehouse_id": "string", "warehouse_name": "string", "location_id": "string", "location_name": "string", "item_quantity": 0 }, {...}, {...} ] }

List putaways for an item AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Lists all putaways associated with a particular item.
OAuth Scope : ZohoInventory.items.READ

Query Parameters

organization_id
string
(Required)
ID of the organization
item_id
string
(Required)
Unique identifier of the item.
sort_column
string
Sort by column. Allowed values: putaway_number, date.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.com/inventory/v1/items/transactions/putaways?organization_id=10234695&item_id=4815000000044208" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.com/inventory/v1/items/transactions/putaways?organization_id=10234695&item_id=4815000000044208") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.com/inventory/v1/items/transactions/putaways?organization_id=10234695&item_id=4815000000044208', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.com") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/inventory/v1/items/transactions/putaways?organization_id=10234695&item_id=4815000000044208", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.com", "port": null, "path": "/inventory/v1/items/transactions/putaways?organization_id=10234695&item_id=4815000000044208", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.com/inventory/v1/items/transactions/putaways?organization_id=10234695&item_id=4815000000044208' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "putaways": [ { "putaway_id": "string", "putaway_number": "string", "date": "string", "warehouse_id": "string", "warehouse_name": "string", "location_id": "string", "location_name": "string", "item_quantity": 0 }, {...}, {...} ] }