Transfer Orders

Transfer Orders 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

Transfer Orders allow you transfer stock from one location to another, thereby greatly reducing the hassle of manually updating the stock levels.

Download Transfer Orders OpenAPI Document

Attribute

transfer_order_id
string
Unique ID generated by the server for the Transfer Order. This is used as identifier.
transfer_order_number
string
The Transfer Order number. This is unique for each transfer order. This node is optional if auto number generation is enabled for transfer order.
date
string
The date for the Transfer Order.
from_location_id
string
From Location ID
from_location_name
string
Name of the from location
to_location_id
string
To Location ID
to_location_name
string
Name of the to location
line_items
array
A transfer can contain multiple line items. Each line item contains item_id,name,description,quantity_transfer,unit.
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
Description of the line item.
quantity_transfer
double
Quantity of the line item to be transferred.
unit
string
Unit of line item.
is_intransit_order
boolean
It states whether the transfer order is in transit or transferred.The default value is false.
description
string
Notes or internal description for the transfer order.
status
string
Current status of the transfer order.
custom_fields
array
List of custom fields associated with the transfer order
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

{ "transfer_order_id": 4815000000044895, "transfer_order_number": "TO-00001", "date": "2018-03-23", "from_location_id": "460000000038080", "from_location_name": "string", "to_location_id": "460000000039090", "to_location_name": "string", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_transfer": 2, "unit": "qty" } ], "is_intransit_order": false, "description": "Quarterly warehouse reshuffle", "status": "in_transit", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] }

Create a transfer order 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 transfer order in Zoho Inventory.
OAuth Scope : ZohoInventory.transferorders.CREATE

Arguments

transfer_order_number
string
(Required)
The Transfer Order number. This is unique for each transfer order. This node is optional if auto number generation is enabled for transfer order.
date
string
(Required)
The date for the Transfer Order.
description
string
Notes or internal description for the transfer order. Max-length 500.
from_warehouse_id
string
Source warehouse ID when multi-warehouse is enabled.
to_warehouse_id
string
Destination warehouse ID when multi-warehouse is enabled.
from_location_id
string
(Required)
From Location ID
to_location_id
string
(Required)
To Location ID
line_items
array
(Required)
A transfer can contain multiple line items. Each line item contains item_id,name,description,quantity_transfer,unit.
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
(Required)
Name of the line item.
description
string
Description of the line item.
quantity_transfer
double
(Required)
Quantity of the line item to be transferred.
unit
string
Unit of line item.
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 using batch_id. Applicable only for items with batch tracking enabled.
Show Sub-Attributes arrow
batch_id
string
(Required)
Unique identifier of the batch.
out_quantity
float
(Required)
Outward quantity from the batch.
from_storages
array
Batch with Bin tracked items only
Source bin/storage locations from which stock was consumed for this batch.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the source bin/storage location.
out_quantity
float
(Required)
Outward quantity from the bin.
to_storages
array
Batch with Bin tracked items only
Destination bin/storage locations to which stock was transferred for this batch.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the destination bin/storage location.
in_quantity
float
(Required)
Inward quantity into the bin.
batch_in_number
string
Reserved field. Must be an empty string.
from_storages
array
Source bin/storage locations for the line item. Applicable only for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the source bin/storage location.
out_quantity
float
(Required)
Outward quantity from the bin.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers transferred from this bin.
to_storages
array
Destination bin/storage locations for the line item. Applicable only for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the destination bin/storage location.
in_quantity
float
(Required)
Inward quantity into the bin.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers transferred into this bin.
is_intransit_order
boolean
It states whether the transfer order is in transit or transferred.The default value is false.
custom_fields
array
List of custom fields associated with the transfer order
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. Note: This value is a set of numeric characters.
ignore_auto_number_generation
boolean
When auto number generation is enabled in transfer order, this node states whether the auto generated transfer order number should be used or not. The default value is false.

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/transferorders?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/transferorders?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/transferorders?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/transferorders?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/transferorders?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/transferorders?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
{ "transfer_order_number": "TO-00001", "date": "2018-03-23", "description": "Quarterly warehouse reshuffle", "from_warehouse_id": "460000000038075", "to_warehouse_id": "460000000038076", "from_location_id": "460000000038080", "to_location_id": "460000000039090", "line_items": [ { "item_id": 4815000000044100, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_transfer": 2, "unit": "qty", "serial_numbers": [ "PKG-002" ], "batches": [ { "batch_id": "6780203000000162236", "out_quantity": 2, "from_storages": [ { "storage_id": "6780203000000093227", "out_quantity": 2 } ], "to_storages": [ { "storage_id": "6780203000000206981", "in_quantity": 2 } ], "batch_in_number": "" } ], "from_storages": [ { "storage_id": "6780203000000093225", "out_quantity": 1, "serial_numbers": [ "PKG-002" ] } ], "to_storages": [ { "storage_id": "6780203000000206981", "in_quantity": 1, "serial_numbers": [ "PKG-002" ] } ] } ], "is_intransit_order": false, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] }

Response Example

{ "code": 0, "message": "Transfer Order added successfully.", "transfer_order": { "transfer_order_id": 4815000000044895, "transfer_order_number": "TO-00001", "date": "2018-03-23", "from_location_id": "460000000038080", "from_location_name": "string", "to_location_id": "460000000039090", "to_location_name": "string", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_transfer": 2, "unit": "qty" } ], "is_intransit_order": false, "description": "Quarterly warehouse reshuffle", "status": "in_transit", "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] } }

List all the transfer orders 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 transfer orders in the Organization. Supports pagination, sort, quick search, custom view, and filters such as status, date range, warehouse or location, item, and transfer order number.
OAuth Scope : ZohoInventory.transferorders.READ

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.
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.
sort_column
string
Column used to sort the list. Allowed values are date, created_time, and last_modified_time.
sort_order
string
Sort order. Allowed values are A for ascending and D for descending.
filter_by
string
Filter using built-in views. Max-length 100. Examples: TransferDate.All, TransferDate.ThisMonth, TransferStatus.InTransit, TransferStatus.Transferred, MissingAdvancedTrackingDetails.
search_text
string
Search text applied across supported columns for the list.
status
string
Filter by transfer order status. Allowed values are in_transit, transferred, partially_transferred, draft, pending_approval, approved, and void.
item_id
string
Filter by item ID.
item_name
string
Filter by item name.
project_id
string
Filter by project ID.
from_warehouse_id
string
Filter by source warehouse ID.
from_warehouse_name
string
Filter by source warehouse name.
to_warehouse_id
string
Filter by destination warehouse ID.
to_warehouse_name
string
Filter by destination warehouse name.
from_location_id
string
Filter by source location ID.
from_location_name
string
Filter by source location name.
to_location_id
string
Filter by destination location ID.
to_location_name
string
Filter by destination location name.
customview_id
string
Custom view ID to apply.
serial_number
string
Filter by serial number.
transfer_order_number
string
Filter by transfer order number.
transfer_order_number_startswith
string
Filter by transfer order numbers that start with the given value.
transfer_order_number_contains
string
Filter by transfer order numbers that contain the given value.
reason
string
Filter by reason text (same family of search operators as transfer order number).
reference_number_contains
string
Filter by reference number contains.
date
string
Filter by exact transfer date. Format yyyy-mm-dd.
date_start
string
Filter from this date (inclusive). Format yyyy-mm-dd.
date_end
string
Filter up to this date (inclusive). Format yyyy-mm-dd.
date_before
string
Filter by dates before this date. Format yyyy-mm-dd.
date_after
string
Filter by dates after this date. Format yyyy-mm-dd.
tracking_number
string
Filter by tracking 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/transferorders?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/transferorders?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/transferorders?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/transferorders?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/transferorders?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/transferorders?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "page_context": { "page": 1, "per_page": 200, "has_more_page": false, "applied_filter": "TransferDate.All", "sort_column": "created_time", "sort_order": "D", "report_name": "zb.transfer.order.title" }, "transfer_orders": [ { "transfer_order_id": 4815000000044895, "transfer_order_number": "TO-00001", "date": "2018-03-23", "description": "string", "status": "string", "from_location_id": "460000000038080", "from_location_name": "string", "to_location_id": "460000000039090", "to_location_name": "string", "is_intransit_order": false, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] } ] }

Bulk delete transfer orders 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 up to 25 transfer orders in one request. Pass comma-separated transfer order IDs.
OAuth Scope : ZohoInventory.transferorders.DELETE

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.
transfer_order_ids
string
(Required)
Comma-separated list of transfer order IDs to delete. Minimum 1 and maximum 25 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/transferorders?organization_id=10234695&transfer_order_ids=4815000000044895,4815000000044896" 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/transferorders?organization_id=10234695&transfer_order_ids=4815000000044895%2C4815000000044896") .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/transferorders?organization_id=10234695&transfer_order_ids=4815000000044895%2C4815000000044896', 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/transferorders?organization_id=10234695&transfer_order_ids=4815000000044895%2C4815000000044896", 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/transferorders?organization_id=10234695&transfer_order_ids=4815000000044895%2C4815000000044896", "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/transferorders?organization_id=10234695&transfer_order_ids=4815000000044895%2C4815000000044896' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Transfer Order(s) has been deleted." }

Update a transfer order 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 an existing transfer order from Zoho Inventory.
OAuth Scope : ZohoInventory.transferorders.UPDATE

Arguments

transfer_order_number
string
(Required)
The Transfer Order number. This is unique for each transfer order. This node is optional if auto number generation is enabled for transfer order.
date
string
(Required)
The date for the Transfer Order.
description
string
Notes or internal description for the transfer order. Max-length 500.
from_warehouse_id
string
Source warehouse ID when multi-warehouse is enabled.
to_warehouse_id
string
Destination warehouse ID when multi-warehouse is enabled.
from_location_id
string
(Required)
From Location ID
to_location_id
string
(Required)
To Location ID
line_items
array
(Required)
A transfer can contain multiple line items. Each line item contains item_id,name,description,quantity_transfer,unit.
Show Sub-Attributes arrow
item_id
string
(Required)
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
(Required)
Name of the line item.
description
string
Description of the line item.
quantity_transfer
double
(Required)
Quantity of the line item to be transferred.
unit
string
Unit of line item.
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 using batch_id. Use batch_in_number_id to update an existing batch entry on the transfer order. Applicable only for items with batch tracking enabled.
Show Sub-Attributes arrow
batch_id
string
(Required)
Unique identifier of the batch.
batch_in_number_id
string
Unique identifier of the destination batch entry on the line item. Required to update an existing batch entry on the transfer order.
out_quantity
float
(Required)
Outward quantity from the batch.
from_storages
array
Batch with Bin tracked items only
Source bin/storage locations from which stock was consumed for this batch.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the source bin/storage location.
out_quantity
float
(Required)
Outward quantity from the bin.
storage_out_id
string
Unique identifier of the storage record. Applicable only when updating the transfer order.
to_storages
array
Batch with Bin tracked items only
Destination bin/storage locations to which stock was transferred for this batch.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the destination bin/storage location.
in_quantity
float
(Required)
Inward quantity into the bin.
storage_in_id
string
Unique identifier of the storage record. Applicable only when updating the transfer order.
batch_in_number
string
Reserved field. Must be an empty string.
from_storages
array
Source bin/storage locations for the line item. Applicable only for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the source bin/storage location.
out_quantity
float
(Required)
Outward quantity from the bin.
storage_out_id
string
Unique identifier of the storage record. Applicable only when updating the transfer order.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers transferred from this bin.
to_storages
array
Destination bin/storage locations for the line item. Applicable only for items with bin tracking enabled.
Show Sub-Attributes arrow
storage_id
string
(Required)
Unique identifier of the destination bin/storage location.
in_quantity
float
(Required)
Inward quantity into the bin.
storage_in_id
string
Unique identifier of the storage record. Applicable only when updating the transfer order.
serial_numbers
array
Serial with Bin tracked items only
Serial numbers transferred into this bin.
is_intransit_order
boolean
It states whether the transfer order is in transit or transferred.The default value is false.
custom_fields
array
List of custom fields associated with the transfer order
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

transfer_order_id
string
(Required)
Unique identifier of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.
ignore_auto_number_generation
boolean
When auto number generation is enabled for transfer orders, set to true to supply your own transfer order number. Allowed values are true and false.

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/transferorders/4815000000044895?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/transferorders/4815000000044895?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/transferorders/4815000000044895?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/transferorders/4815000000044895?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/transferorders/4815000000044895?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/transferorders/4815000000044895?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
{ "transfer_order_number": "TO-00001", "date": "2018-03-23", "description": "Quarterly warehouse reshuffle", "from_warehouse_id": "460000000038075", "to_warehouse_id": "460000000038076", "from_location_id": "460000000038080", "to_location_id": "460000000039090", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_transfer": 2, "unit": "qty", "serial_numbers": [ "PKG-002" ], "batches": [ { "batch_id": "6780203000000162236", "batch_in_number_id": "6780203000001106137", "out_quantity": 2, "from_storages": [ { "storage_id": "6780203000000093227", "out_quantity": 2, "storage_out_id": "6780203000001106131" } ], "to_storages": [ { "storage_id": "6780203000000206981", "in_quantity": 2, "storage_in_id": "6780203000001106128" } ], "batch_in_number": "" } ], "from_storages": [ { "storage_id": "6780203000000093225", "out_quantity": 1, "storage_out_id": "6780203000001106135", "serial_numbers": [ "PKG-002" ] } ], "to_storages": [ { "storage_id": "6780203000000206981", "in_quantity": 1, "storage_in_id": "6780203000001106133", "serial_numbers": [ "PKG-002" ] } ] } ], "is_intransit_order": false, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] }

Response Example

{ "code": 0, "message": "success", "transfer_order": { "transfer_order_id": 4815000000044895, "transfer_order_number": "TO-00001", "date": "2018-03-23", "from_location_id": "460000000038080", "from_location_name": "string", "to_location_id": "460000000039090", "to_location_name": "string", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_transfer": 2, "unit": "qty" } ], "is_intransit_order": false, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ], "locations": {...} } }

Retrieve a transfer order 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 transfer order.
OAuth Scope : ZohoInventory.transferorders.READ

Path Parameters

transfer_order_id
string
(Required)
Unique identifier of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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

Response Example

{ "code": 0, "message": "success", "transfer_order": { "transfer_order_id": 4815000000044895, "transfer_order_number": "TO-00001", "date": "2018-03-23", "from_location_id": "460000000038080", "from_location_name": "string", "to_location_id": "460000000039090", "to_location_name": "string", "line_items": [ { "item_id": 4815000000044100, "line_item_id": 4815000000044897, "name": "Laptop-white/15inch/dell", "description": "Just a sample description.", "quantity_transfer": 2, "unit": "qty" } ], "is_intransit_order": false, "custom_fields": [ { "customfield_id": "string", "label": "string", "value": "string" } ] }, "locations": {...} }

Delete a transfer order 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 transfer order from Zoho Inventory.
OAuth Scope : ZohoInventory.transferorders.DELETE

Path Parameters

transfer_order_id
string
(Required)
Unique identifier of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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

Response Example

{ "code": 0, "message": "Transfer Order(s) has been deleted." }

Mark as Received 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 the transfer order as transferred for the Organization. You must pass the transferred date.
OAuth Scope : ZohoInventory.transferorders.CREATE

Path Parameters

transfer_order_id
string
(Required)
Unique identifier of the transfer order.

Query Parameters

date
string
(Required)
Date when the transfer was completed. Format yyyy-mm-dd.
organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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/transferorders/4815000000044895/markastransferred?date=2018-03-23&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/transferorders/4815000000044895/markastransferred?date=2018-03-23&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/transferorders/4815000000044895/markastransferred?date=2018-03-23&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/transferorders/4815000000044895/markastransferred?date=2018-03-23&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/transferorders/4815000000044895/markastransferred?date=2018-03-23&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/transferorders/4815000000044895/markastransferred?date=2018-03-23&organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The status of the Transfer Order has been updated." }

Mark transfer order as in transit 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 the transfer order as in transit. Optionally specify whether prices are tax inclusive.
OAuth Scope : ZohoInventory.transferorders.CREATE

Path Parameters

transfer_order_id
string
(Required)
Unique identifier of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.
is_tax_inclusive
boolean
Whether prices are inclusive of tax. Allowed values are true and false. This need to be passed only for IN edition org when marking inter GSTIN transfer order as in transit.

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

Response Example

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

Submit a transfer order 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 a transfer order for approval workflow.
OAuth Scope : ZohoInventory.transferorders.UPDATE

Path Parameters

transfer_order_id
string
(Required)
Unique ID of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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

Response Example

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

Approve a transfer order 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 transfer order.
OAuth Scope : ZohoInventory.transferorders.UPDATE

Path Parameters

transfer_order_id
string
(Required)
Unique ID of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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

Response Example

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

Final approval of a transfer order 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 a transfer order (admin only).
OAuth Scope : ZohoInventory.transferorders.UPDATE

Path Parameters

transfer_order_id
string
(Required)
Unique ID of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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

Response Example

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

Reject a transfer order 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 transfer order.
OAuth Scope : ZohoInventory.transferorders.UPDATE

Arguments

reason
string
Reason for rejecting the transfer order. Max-length [500].

Path Parameters

transfer_order_id
string
(Required)
Unique ID of the transfer order.

Query Parameters

organization_id
string
(Required)
ID of the organization. Note: This value is a set of numeric characters.

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/transferorders/4815000000044895/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/transferorders/4815000000044895/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/transferorders/4815000000044895/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/transferorders/4815000000044895/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/transferorders/4815000000044895/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/transferorders/4815000000044895/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": "Insufficient stock at the source warehouse." }

Response Example

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