Inventory Adjustments

Inventory Adjustments 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

Inventory Adjustments are used to synchronize the inventory/stock to account for things that occur outside the normal business like theft, damaged goods, data entry error etc.

Download Inventory Adjustments OpenAPI Document

Attribute

inventory_adjustment_id
string
Unique ID generated by the server for the inventory adjustment. This is used as an identifier.
date
string
The date for the inventory adjustment.
reason
string
The reason for the inventory adjustment.
reason_id
string
Unique ID generated by the server for the reason. This is used as an identifier.
description
string
Sample Description.
reference_number
string
Reference number of the inventory adjustment.
adjustment_type
string
The adjustment type should be either quantity or value.Allowed values are quantity and value only.
line_items
array
An inventory adjustment can contain multiple line items. Each line item contains item_id,name,description,quantity_adjusted,unit,adjustment_account_id,location_id.
Show Sub-Attributes arrow
item_id
string
Unique ID generated by the server for the item. This is used as an identifier.
line_item_id
string
Unique ID generated by the server for each line item. This is used as an identifier.
name
string
Name of the line item.
description
string
Sample Description.
quantity_adjusted
double
The adjusted quantity of the line item.It depends on adjustment_type and should be given only when adjustment_type is given as quantity.
item_total
double
Total of line item.
unit
string
Unit of line item.
is_combo_product
boolean
Indicates if the product is a combo product
adjustment_account_id
string
Unique ID generated by the server for the Adjustment account.
adjustment_account_name
string
Name of the Adjustment Account.
location_id
string
Location ID
location_name
string
Name of the location
serial_numbers
array
Serial numbers for the line item. Applicable only for items with serial tracking enabled.
batches
array
Batches tracked for the line item. Returned for items with batch tracking enabled.
Show Sub-Attributes arrow
batch_id
string
Unique identifier of the batch.
batch_number
string
Batch number.
external_batch_number
string
External batch number from the manufacturer. Returned for positive adjustments.
manufacturer_date
string
Manufacturing date of the batch. Returned for positive adjustments.
expiry_date
string
Expiration date of the batch. Returned for positive adjustments.
in_quantity
float
Inward quantity recorded for the batch. Returned for positive adjustments.
out_quantity
float
Outward quantity recorded for the batch. Returned for negative adjustments.
batch_in_id
string
Unique identifier of the original inward batch entry.
storages
array
Batch with Bin tracked items only
Bin/storage locations recorded for stock against this batch.
Show Sub-Attributes arrow
storage_id
string
Unique identifier of the bin/storage location.
storage_name
string
Display name of the bin/storage location.
in_quantity
float
Inward quantity recorded against the bin. Returned for positive adjustments.
out_quantity
float
Outward quantity recorded against the bin. Returned for negative adjustments.
storage_in_id
string
Unique identifier of the storage entry on the line item. Returned for positive adjustments.
storage_out_id
string
Unique identifier of the storage entry on the line item. Returned for negative adjustments.
storages
array
Bin/storage locations tracked for the line item. Returned for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
Unique identifier of the bin/storage location.
storage_name
string
Display name of the bin/storage location.
in_quantity
float
Inward quantity recorded against the bin. Returned for positive adjustments.
out_quantity
float
Outward quantity recorded against the bin. Returned for negative adjustments.
storage_in_id
string
Unique identifier of the storage entry on the line item. Returned for positive adjustments.
storage_out_id
string
Unique identifier of the storage entry on the line item. Returned for negative adjustments.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers allocated to this bin.
location_id
string
Location ID
location_name
string
Name of the location
total
double
Total value of the inventory adjustment.
custom_fields
array
List of custom fields associated with the inventory adjustment
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

{ "inventory_adjustment_id": 4815000000044100, "date": "2015-05-28", "reason": "Damaged goods", "reason_id": 4815000000044110, "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_adjusted": 10, "item_total": 244, "unit": "qty", "is_combo_product": false, "adjustment_account_id": 4815000000000388, "adjustment_account_name": "Cost of Goods Sold", "location_id": "460000000038080", "location_name": "Head Office", "serial_numbers": [ "ARMP-0078" ], "batches": [ { "batch_id": "6780203000001106001", "batch_number": "BTC-TL-089", "external_batch_number": "MFR-TL-089", "manufacturer_date": "2026-05-12", "expiry_date": "2026-12-16", "in_quantity": 2, "out_quantity": 2, "batch_in_id": "6780203000001106009", "storages": [ { "storage_id": "6780203000000093225", "storage_name": "Bin A1", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106004", "storage_out_id": "6780203000001106024" } ] } ], "storages": [ { "storage_id": "6780203000000093226", "storage_name": "Bin A2", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106007", "storage_out_id": "6780203000001106027", "serial_numbers": [ "SR-RE-001" ] } ] } ], "location_id": "460000000038080", "location_name": "Head Office", "total": 350, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] }

Create an inventory adjustment 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 inventory adjustment in Zoho Inventory.
OAuth Scope : ZohoInventory.inventoryadjustments.CREATE

Arguments

date
string
(Required)
The date for the inventory adjustment.
reason
string
(Required)
The reason for the inventory adjustment.
description
string
Sample Description.
reference_number
string
Reference number of the inventory adjustment.
adjustment_type
string
(Required)
The adjustment type should be either quantity or value.Allowed values are quantity and value only.
custom_fields
array
List of custom fields associated with the inventory adjustment
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
location_id
string
Location ID
line_items
array
(Required)
An inventory adjustment can contain multiple line items. Each line item contains item_id,name,description,quantity_adjusted,unit,adjustment_account_id,location_id.
Show Sub-Attributes arrow
item_id
string
(Required)
Unique ID generated by the server for the item. This is used as an identifier.
name
string
Name of the line item.
description
string
Sample Description.
quantity_adjusted
double
(Required)
The adjusted quantity of the line item.It depends on adjustment_type and should be given only when adjustment_type is given as quantity.
item_total
double
Total of line item.
unit
string
Unit of line item.
is_combo_product
boolean
Indicates if the product is a combo product
adjustment_account_id
string
Unique ID generated by the server for the Adjustment account.
adjustment_account_name
string
Name of the Adjustment Account.
location_id
string
Location ID
serial_numbers
array
Serial numbers for the line item. Applicable only for items with serial tracking enabled.
batches
array
Batches for the line item. For positive adjustments, create a new batch using batch_number or reference an existing batch using batch_id. For negative adjustments, reference an existing batch using batch_id with out_quantity. Applicable only for items with batch tracking enabled.
Show Sub-Attributes arrow
batch_id
string
Unique identifier of an existing batch. Required for negative adjustments. For positive adjustments, use to add inward quantity to an existing batch instead of creating a new one.
batch_number
string
Batch number. Required for positive adjustments when creating a new batch.
external_batch_number
string
External batch number from the manufacturer. Applicable for positive adjustments.
manufacturer_date
string
Manufacturing date of the batch. Applicable for positive adjustments.
expiry_date
string
Expiration date of the batch. Applicable for positive adjustments.
in_quantity
float
Inward quantity for the batch. Applicable for positive adjustments.
out_quantity
float
Outward quantity from the batch. Applicable for negative adjustments.
batch_in_id
string
Unique identifier of the original inward batch entry to deduct stock from. Applicable for negative adjustments.
storages
array
Batch with Bin tracked items only
Bin/storage locations allocated for stock against this batch.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the bin/storage location. Applicable for both positive and negative adjustments.
in_quantity
float
Inward quantity into the bin. Applicable for positive adjustments.
out_quantity
float
Outward quantity from the bin. Applicable for negative adjustments.
storages
array
Bin/storage locations allocated for the line item. Applicable for both positive and negative adjustments. Applicable only for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the bin/storage location. Applicable for both positive and negative adjustments.
in_quantity
float
Inward quantity into the bin. Applicable for positive adjustments.
out_quantity
float
Outward quantity from the bin. Applicable for negative adjustments.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers allocated to this bin.

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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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
{ "date": "2015-05-28", "reason": "Damaged goods", "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ], "location_id": "460000000038080", "line_items": [ { "item_id": 4815000000044100, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_adjusted": 10, "item_total": 244, "unit": "qty", "is_combo_product": false, "adjustment_account_id": 4815000000000388, "adjustment_account_name": "Cost of Goods Sold", "location_id": "460000000038080", "serial_numbers": [ "ARMP-0078" ], "batches": [ { "batch_id": "6780203000000511440", "batch_number": "BTC-TL-089", "external_batch_number": "MFR-TL-089", "manufacturer_date": "2026-05-12", "expiry_date": "2026-12-16", "in_quantity": 2, "out_quantity": 2, "batch_in_id": "6780203000000511433", "storages": [ { "storage_id": "6780203000000093225", "in_quantity": 2, "out_quantity": 2 } ] } ], "storages": [ { "storage_id": "6780203000000093226", "in_quantity": 2, "out_quantity": 2, "serial_numbers": [ "SR-RE-001" ] } ] } ] }

Response Example

{ "code": 0, "message": "Inventory Adjustment has been added", "inventory_adjustment": { "inventory_adjustment_id": 4815000000044100, "date": "2015-05-28", "reason": "Damaged goods", "reason_id": 4815000000044110, "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_adjusted": 10, "item_total": 244, "unit": "qty", "is_combo_product": false, "adjustment_account_id": 4815000000000388, "adjustment_account_name": "Cost of Goods Sold", "location_id": "460000000038080", "location_name": "Head Office", "serial_numbers": [ "ARMP-0078" ], "batches": [ { "batch_id": "6780203000001106001", "batch_number": "BTC-TL-089", "external_batch_number": "MFR-TL-089", "manufacturer_date": "2026-05-12", "expiry_date": "2026-12-16", "in_quantity": 2, "out_quantity": 2, "batch_in_id": "6780203000001106009", "storages": [ { "storage_id": "6780203000000093225", "storage_name": "Bin A1", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106004", "storage_out_id": "6780203000001106024" } ] } ], "storages": [ { "storage_id": "6780203000000093226", "storage_name": "Bin A2", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106007", "storage_out_id": "6780203000001106027", "serial_numbers": [ "SR-RE-001" ] } ] } ], "location_id": "460000000038080", "location_name": "Head Office", "total": 350, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] } }

List all the inventory adjustments 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 inventory adjustments present in Zoho Inventory.
OAuth Scope : ZohoInventory.inventoryadjustments.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.

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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?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/inventoryadjustments?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "inventory_adjustments": [ { "inventory_adjustment_id": 4815000000044100, "date": "2015-05-28", "reason": "Damaged goods", "reason_id": 4815000000044110, "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "total": 350, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] }, {...}, {...} ] }

Update an inventory adjustment 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 existing inventory adjustment by quantity.
OAuth Scope : ZohoInventory.inventoryadjustments.UPDATE

Arguments

date
string
(Required)
The date for the inventory adjustment.
reason
string
(Required)
The reason for the inventory adjustment.
description
string
Sample Description.
reference_number
string
Reference number of the inventory adjustment.
adjustment_type
string
(Required)
The adjustment type should be either quantity or value.Allowed values are quantity and value only.
custom_fields
array
List of custom fields associated with the inventory adjustment
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
location_id
string
Location ID
line_items
array
(Required)
An inventory adjustment can contain multiple line items. Each line item contains item_id,line_item_id,name,description,quantity_adjusted,unit,adjustment_account_id,location_id.
Show Sub-Attributes arrow
line_item_id
string
Unique ID generated by the server for each line item. This is used as an identifier.
item_id
string
(Required)
Unique ID generated by the server for the item. This is used as an identifier.
name
string
Name of the line item.
description
string
Sample Description.
quantity_adjusted
double
(Required)
The adjusted quantity of the line item.It depends on adjustment_type and should be given only when adjustment_type is given as quantity.
item_total
double
Total of line item.
unit
string
Unit of line item.
is_combo_product
boolean
Indicates if the product is a combo product
adjustment_account_id
string
Unique ID generated by the server for the Adjustment account.
adjustment_account_name
string
Name of the Adjustment Account.
location_id
string
Location ID
serial_numbers
array
Serial numbers for the line item. Applicable only for items with serial tracking enabled.
batches
array
Batches for the line item. Reference an existing batch entry using batch_id and batch_in_id. Applicable only for items with batch tracking enabled.
Show Sub-Attributes arrow
batch_id
string
(Required)
Unique identifier of the batch. Applicable for both positive and negative adjustments.
batch_number
string
Batch number. Applicable for positive adjustments.
external_batch_number
string
External batch number from the manufacturer. Applicable for positive adjustments.
manufacturer_date
string
Manufacturing date of the batch. Applicable for positive adjustments.
expiry_date
string
Expiration date of the batch. Applicable for positive adjustments.
in_quantity
float
Inward quantity for the batch. Applicable for positive adjustments.
out_quantity
float
Outward quantity from the batch. Applicable for negative adjustments.
batch_in_id
string
Unique identifier of the original inward batch entry. Applicable for both positive and negative adjustments.
storages
array
Batch with Bin tracked items only
Bin/storage locations allocated for stock against this batch.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the bin/storage location. Applicable for both positive and negative adjustments.
in_quantity
float
Inward quantity into the bin. Applicable for positive adjustments.
out_quantity
float
Outward quantity from the bin. Applicable for negative adjustments.
storage_in_id
string
Unique identifier of the storage entry on the line item. Applicable for positive adjustments only when updating an existing entry.
storage_out_id
string
Unique identifier of the storage entry on the line item. Applicable for negative adjustments only when updating an existing entry.
storages
array
Bin/storage locations allocated for the line item. Applicable for both positive and negative adjustments. Applicable only for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the bin/storage location. Applicable for both positive and negative adjustments.
in_quantity
float
Inward quantity into the bin. Applicable for positive adjustments.
out_quantity
float
Outward quantity from the bin. Applicable for negative adjustments.
storage_in_id
string
Unique identifier of the storage entry on the line item. Applicable for positive adjustments only when updating an existing entry.
storage_out_id
string
Unique identifier of the storage entry on the line item. Applicable for negative adjustments only when updating an existing entry.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers allocated to this bin.

Path Parameters

inventory_adjustment_id
string
(Required)
Unique identifier of the inventory adjustment.

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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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
{ "date": "2015-05-28", "reason": "Damaged goods", "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ], "location_id": "460000000038080", "line_items": [ { "line_item_id": 4815000000044897, "item_id": 4815000000044100, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_adjusted": 10, "item_total": 244, "unit": "qty", "is_combo_product": false, "adjustment_account_id": 4815000000000388, "adjustment_account_name": "Cost of Goods Sold", "location_id": "460000000038080", "serial_numbers": [ "ARMP-0078" ], "batches": [ { "batch_id": "6780203000001106001", "batch_number": "BTC-TL-089", "external_batch_number": "MFR-TL-089", "manufacturer_date": "2026-05-12", "expiry_date": "2026-12-16", "in_quantity": 2, "out_quantity": 2, "batch_in_id": "6780203000001106009", "storages": [ { "storage_id": "6780203000000093225", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106004", "storage_out_id": "6780203000001106024" } ] } ], "storages": [ { "storage_id": "6780203000000093226", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106007", "storage_out_id": "6780203000001106027", "serial_numbers": [ "SR-RE-001" ] } ] } ] }

Response Example

{ "code": 0, "message": "success", "inventory_adjustment": { "inventory_adjustment_id": 4815000000044100, "date": "2015-05-28", "reason": "Damaged goods", "reason_id": 4815000000044110, "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_adjusted": 10, "item_total": 244, "unit": "qty", "is_combo_product": false, "adjustment_account_id": 4815000000000388, "adjustment_account_name": "Cost of Goods Sold", "location_id": "460000000038080", "location_name": "Head Office", "serial_numbers": [ "ARMP-0078" ], "batches": [ { "batch_id": "6780203000001106001", "batch_number": "BTC-TL-089", "external_batch_number": "MFR-TL-089", "manufacturer_date": "2026-05-12", "expiry_date": "2026-12-16", "in_quantity": 2, "out_quantity": 2, "batch_in_id": "6780203000001106009", "storages": [ { "storage_id": "6780203000000093225", "storage_name": "Bin A1", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106004", "storage_out_id": "6780203000001106024" } ] } ], "storages": [ { "storage_id": "6780203000000093226", "storage_name": "Bin A2", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106007", "storage_out_id": "6780203000001106027", "serial_numbers": [ "SR-RE-001" ] } ] } ], "location_id": "460000000038080", "location_name": "Head Office", "total": 350, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] } }

Retrieve an inventory adjustment 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 inventory adjustment.
OAuth Scope : ZohoInventory.inventoryadjustments.READ

Path Parameters

inventory_adjustment_id
string
(Required)
Unique identifier of the inventory adjustment.

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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "inventory_adjustment": { "inventory_adjustment_id": 4815000000044100, "date": "2015-05-28", "reason": "Damaged goods", "reason_id": 4815000000044110, "description": "Just a sample description.", "reference_number": "REF-IA-00001", "adjustment_type": "quantity", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_adjusted": 10, "item_total": 244, "unit": "qty", "is_combo_product": false, "adjustment_account_id": 4815000000000388, "adjustment_account_name": "Cost of Goods Sold", "location_id": "460000000038080", "location_name": "Head Office", "serial_numbers": [ "ARMP-0078" ], "batches": [ { "batch_id": "6780203000001106001", "batch_number": "BTC-TL-089", "external_batch_number": "MFR-TL-089", "manufacturer_date": "2026-05-12", "expiry_date": "2026-12-16", "in_quantity": 2, "out_quantity": 2, "batch_in_id": "6780203000001106009", "storages": [ { "storage_id": "6780203000000093225", "storage_name": "Bin A1", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106004", "storage_out_id": "6780203000001106024" } ] } ], "storages": [ { "storage_id": "6780203000000093226", "storage_name": "Bin A2", "in_quantity": 2, "out_quantity": 2, "storage_in_id": "6780203000001106007", "storage_out_id": "6780203000001106027", "serial_numbers": [ "SR-RE-001" ] } ] } ], "location_id": "460000000038080", "location_name": "Head Office", "total": 350, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] } }

Delete an inventory adjustment 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 inventory adjustment from Zoho Inventory.
OAuth Scope : ZohoInventory.inventoryadjustments.DELETE

Path Parameters

inventory_adjustment_id
string
(Required)
Unique identifier of the inventory adjustment.

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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?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/inventoryadjustments/4815000000044100?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Inventory Adjustment(s) has been deleted" }

Submit an inventory adjustment for approval 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

Submit an inventory adjustment for approval workflow.
OAuth Scope : ZohoInventory.inventoryadjustments.UPDATE

Path Parameters

inventory_adjustment_id
string
(Required)
Unique ID of the inventory adjustment.

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/inventoryadjustments/4815000000044100/submit?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/inventoryadjustments/4815000000044100/submit?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/inventoryadjustments/4815000000044100/submit?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/inventoryadjustments/4815000000044100/submit?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/inventoryadjustments/4815000000044100/submit?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/inventoryadjustments/4815000000044100/submit?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

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

Approve an inventory adjustment 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

Approve a submitted inventory adjustment.
OAuth Scope : ZohoInventory.inventoryadjustments.UPDATE

Path Parameters

inventory_adjustment_id
string
(Required)
Unique ID of the inventory adjustment.

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/inventoryadjustments/4815000000044100/approve?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/inventoryadjustments/4815000000044100/approve?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/inventoryadjustments/4815000000044100/approve?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/inventoryadjustments/4815000000044100/approve?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/inventoryadjustments/4815000000044100/approve?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/inventoryadjustments/4815000000044100/approve?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

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

Final approval of an inventory adjustment 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

Perform the final approval of an inventory adjustment (admin only).
OAuth Scope : ZohoInventory.inventoryadjustments.UPDATE

Path Parameters

inventory_adjustment_id
string
(Required)
Unique ID of the inventory adjustment.

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/inventoryadjustments/4815000000044100/approve/final?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/inventoryadjustments/4815000000044100/approve/final?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/inventoryadjustments/4815000000044100/approve/final?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/inventoryadjustments/4815000000044100/approve/final?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/inventoryadjustments/4815000000044100/approve/final?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/inventoryadjustments/4815000000044100/approve/final?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

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

Reject an inventory adjustment 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

Reject a submitted inventory adjustment.
OAuth Scope : ZohoInventory.inventoryadjustments.UPDATE

Arguments

reason
string
Reason for rejecting the inventory adjustment. Max-length [500].

Path Parameters

inventory_adjustment_id
string
(Required)
Unique ID of the inventory adjustment.

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/inventoryadjustments/4815000000044100/reject?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/inventoryadjustments/4815000000044100/reject?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/inventoryadjustments/4815000000044100/reject?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/inventoryadjustments/4815000000044100/reject?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/inventoryadjustments/4815000000044100/reject?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/inventoryadjustments/4815000000044100/reject?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
{ "reason": "Quantities do not match the physical count." }

Response Example

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