Bill of Materials
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
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
A Bill of Materials (BOM) defines the structured recipe of components and operations required to manufacture a finished product. Each BOM supports multiple versioned configurations, enabling engineering changes to be managed while tracking which version drives active manufacturing orders.
Attribute
yyyy-MM-dd.yyyy-MM-dd.active and inactive.active and inactive.inventory and service.mm:ss (minutes:seconds).system and user.yyyy-MM-dd.active and inactive.yyyy-MM-dd.yyyy-MM-dd.{
"billofmaterials_id": "3863095000000039881",
"billofmaterials_name": "Pencil New-BOM",
"billofmaterials_number": "BOM-00005",
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_start_date": "2026-05-08",
"version_end_date": "",
"version_status": "active",
"status": "active",
"finished_product_id": "3863095000000046004",
"finished_product_group_id": "3863095000000046007",
"finished_product_name": "Pencil",
"finished_product_sku": "",
"finished_product_quantity": 1000,
"unit": "pcs",
"quantity_decimal_place": "",
"description": "",
"associated_mo_count": 0,
"is_effective_version": true,
"custom_fields": [
{
"customfield_id": "982000000000183",
"value": "Batch-A"
}
],
"custom_fields_hash": {},
"components": [
{
"bom_component_id": "3863095000000039902",
"item_id": "3863095000000046015",
"name": "Wood",
"item_sku": "",
"description": "",
"quantity": 1,
"bom_quantity": 1,
"has_bom": false,
"item_type": "inventory",
"unit": "kg",
"quantity_decimal_place": "",
"subassembly_bom_id": "",
"subassembly_bom_version_id": "",
"subassembly_bom_name": "",
"stock_on_hand": -21.01,
"available_stock": -21.01,
"actual_available_stock": -21.01,
"committed_stock": 1.01,
"actual_committed_stock": 1.01,
"available_for_sale_stock": -22.02,
"actual_available_for_sale_stock": -22.02
}
],
"operations": [
{
"bom_operation_id": "3863095000000039890",
"operation_id": "3863095000000039095",
"operation_name": "Manufacturing OPR",
"workcenter_type_id": "3863095000000039041",
"workcenter_type_name": "Manufacturing WCT",
"lead_time": "60:00",
"instructions": "",
"documents": [
{}
],
"blocked_by_operations": [],
"cost_template": {
"cost_template_id": "",
"cost_template_name": "",
"cost_items": [
{}
]
}
}
],
"comments": [
{
"comment_id": "3863095000000057297",
"description": "Bill of materials updated",
"commented_by_id": "3863095000000032003",
"commented_by": "Suganthan Gnanvelan",
"comment_type": "system",
"date": "2026-05-11",
"date_description": "few seconds ago",
"time": "10:13 AM",
"operation_type": "Updated",
"transaction_type": "bill_of_materials"
}
],
"versions": [
{
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_status": "active",
"version_start_date": "2026-05-08",
"version_end_date": "",
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"created_by_name": "Suganthan Gnanvelan",
"last_modified_by_id": "3863095000000032003"
}
],
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"last_modified_by_id": "3863095000000032003"
}
Create a bill of materials
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
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
Create a bill of materials.
OAuth Scope : ERP.manufacturing.CREATE
Arguments
mm:ss (minutes:seconds).Query Parameters
parameters_data='{"field1":"value1","field2":"value2"}';
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials?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.in/erp/v3/billofmaterials?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.in/erp/v3/billofmaterials?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.in")
payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}"
headers = {
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
'content-type': "application/json"
}
conn.request("POST", "/erp/v3/billofmaterials?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.in",
"port": null,
"path": "/erp/v3/billofmaterials?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.in/erp/v3/billofmaterials?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"billofmaterials_name": "Pencil New-BOM",
"billofmaterials_number": "BOM-00005",
"finished_product_id": "3863095000000046004",
"finished_product_group_id": "3863095000000046007",
"finished_product_quantity": 1000,
"unit": "pcs",
"components": [
{
"item_id": "3863095000000046015",
"quantity": 1,
"unit": "kg",
"subassembly_bom_id": ""
}
],
"operations": [
{
"operation_id": "3863095000000039095",
"lead_time": "60:00",
"instructions": "",
"blocked_by_operations": []
}
],
"custom_fields": [
{
"customfield_id": "982000000000183",
"value": "Batch-A"
}
]
}
{
"code": 0,
"message": "Bill of materials created",
"bill_of_material": {
"billofmaterials_id": "3863095000000039881",
"billofmaterials_name": "Pencil New-BOM",
"billofmaterials_number": "BOM-00005",
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_start_date": "2026-05-08",
"version_end_date": "",
"version_status": "active",
"status": "active",
"finished_product_id": "3863095000000046004",
"finished_product_group_id": "3863095000000046007",
"finished_product_name": "Pencil",
"finished_product_sku": "",
"finished_product_quantity": 1000,
"unit": "pcs",
"quantity_decimal_place": "",
"description": "",
"associated_mo_count": 0,
"is_effective_version": true,
"custom_fields": [
{
"customfield_id": "982000000000183",
"value": "Batch-A"
}
],
"custom_fields_hash": {...},
"components": [
{
"bom_component_id": "3863095000000039902",
"item_id": "3863095000000046015",
"name": "Wood",
"item_sku": "",
"description": "",
"quantity": 1,
"bom_quantity": 1,
"has_bom": false,
"item_type": "inventory",
"unit": "kg",
"quantity_decimal_place": "",
"subassembly_bom_id": "",
"subassembly_bom_version_id": "",
"subassembly_bom_name": "",
"stock_on_hand": -21.01,
"available_stock": -21.01,
"actual_available_stock": -21.01,
"committed_stock": 1.01,
"actual_committed_stock": 1.01,
"available_for_sale_stock": -22.02,
"actual_available_for_sale_stock": -22.02
}
],
"operations": [
{
"bom_operation_id": "3863095000000039890",
"operation_id": "3863095000000039095",
"operation_name": "Manufacturing OPR",
"workcenter_type_id": "3863095000000039041",
"workcenter_type_name": "Manufacturing WCT",
"lead_time": "60:00",
"instructions": "",
"documents": [
{...}
],
"blocked_by_operations": [],
"cost_template": {
"cost_template_id": "",
"cost_template_name": "",
"cost_items": [
{...}
]
}
}
],
"comments": [
{
"comment_id": "3863095000000057297",
"description": "Bill of materials updated",
"commented_by_id": "3863095000000032003",
"commented_by": "Suganthan Gnanvelan",
"comment_type": "system",
"date": "2026-05-11",
"date_description": "few seconds ago",
"time": "10:13 AM",
"operation_type": "Updated",
"transaction_type": "bill_of_materials"
}
],
"versions": [
{
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_status": "active",
"version_start_date": "2026-05-08",
"version_end_date": "",
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"created_by_name": "Suganthan Gnanvelan",
"last_modified_by_id": "3863095000000032003"
}
],
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"last_modified_by_id": "3863095000000032003"
}
}
List bill of materials
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
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
List all bills of materials.
OAuth Scope : ERP.manufacturing.READ
Query Parameters
created_time, billofmaterials_name, status, quantity, billofmaterials_number, finished_product_name and finished_product_quantity.A (ascending) and D (descending).Status.All, Status.Active and Status.Inactive.active and inactive.billofmaterials_name_startswith and billofmaterials_name_contains. Maximum search length: 100 characters.billofmaterials_number_startswith and billofmaterials_number_contains. Maximum search length: 100 characters.description_startswith and description_contains. Maximum search length: 500 characters.finished_product_quantity_start, finished_product_quantity_end, finished_product_quantity_less_than, finished_product_quantity_less_equals, finished_product_quantity_greater_than, and finished_product_quantity_greater_equals.finished_product_unit_startswith and finished_product_unit_contains. Maximum search length: 120 characters.headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials?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.in/erp/v3/billofmaterials?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.in/erp/v3/billofmaterials?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.in")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("GET", "/erp/v3/billofmaterials?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.in",
"port": null,
"path": "/erp/v3/billofmaterials?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.in/erp/v3/billofmaterials?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"bill_of_materials": [
{
"billofmaterials_id": "3863095000000039881",
"billofmaterials_name": "Pencil BOM 4",
"billofmaterials_number": "BOM-00004",
"status": "active",
"description": "",
"finished_product_id": "3863095000000046004",
"finished_product_name": "Pencil",
"finished_product_group_id": "3863095000000046007",
"finished_product_group_name": "Stationery",
"finished_product_quantity": "100",
"finished_product_unit": "pcs",
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"last_modified_by_id": "3863095000000032003"
},
{...},
{...}
],
"page_context": {
"page": 1,
"per_page": 200,
"has_more_page": false,
"report_name": "Bill of Materials",
"applied_filter": "Status.Active",
"sort_column": "created_time",
"sort_order": "D"
}
}
Update a bill of materials
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
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 bill of materials. Changes are applied to the active version.
OAuth Scope : ERP.manufacturing.UPDATE
Arguments
mm:ss (minutes:seconds).Path Parameters
Query Parameters
parameters_data='{"field1":"value1","field2":"value2"}';
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?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.in")
payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}"
headers = {
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
'content-type': "application/json"
}
conn.request("PUT", "/erp/v3/billofmaterials/3863095000000039881?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.in",
"port": null,
"path": "/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"billofmaterials_name": "Pencil New-BOM",
"billofmaterials_number": "BOM-00005",
"finished_product_id": "3863095000000046004",
"finished_product_group_id": "3863095000000046007",
"finished_product_quantity": 1000,
"unit": "pcs",
"components": [
{
"item_id": "3863095000000046015",
"quantity": 1,
"unit": "kg",
"subassembly_bom_id": ""
}
],
"operations": [
{
"operation_id": "3863095000000039095",
"lead_time": "60:00",
"instructions": "",
"blocked_by_operations": []
}
],
"custom_fields": [
{
"customfield_id": "982000000000183",
"value": "Batch-A"
}
]
}
{
"code": 0,
"message": "Bill of materials updated",
"bill_of_material": {
"billofmaterials_id": "3863095000000039881",
"billofmaterials_name": "Pencil New-BOM",
"billofmaterials_number": "BOM-00005",
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_start_date": "2026-05-08",
"version_end_date": "",
"version_status": "active",
"status": "active",
"finished_product_id": "3863095000000046004",
"finished_product_group_id": "3863095000000046007",
"finished_product_name": "Pencil",
"finished_product_sku": "",
"finished_product_quantity": 1000,
"unit": "pcs",
"quantity_decimal_place": "",
"description": "",
"associated_mo_count": 0,
"is_effective_version": true,
"custom_fields": [
{
"customfield_id": "982000000000183",
"value": "Batch-A"
}
],
"custom_fields_hash": {...},
"components": [
{
"bom_component_id": "3863095000000039902",
"item_id": "3863095000000046015",
"name": "Wood",
"item_sku": "",
"description": "",
"quantity": 1,
"bom_quantity": 1,
"has_bom": false,
"item_type": "inventory",
"unit": "kg",
"quantity_decimal_place": "",
"subassembly_bom_id": "",
"subassembly_bom_version_id": "",
"subassembly_bom_name": "",
"stock_on_hand": -21.01,
"available_stock": -21.01,
"actual_available_stock": -21.01,
"committed_stock": 1.01,
"actual_committed_stock": 1.01,
"available_for_sale_stock": -22.02,
"actual_available_for_sale_stock": -22.02
}
],
"operations": [
{
"bom_operation_id": "3863095000000039890",
"operation_id": "3863095000000039095",
"operation_name": "Manufacturing OPR",
"workcenter_type_id": "3863095000000039041",
"workcenter_type_name": "Manufacturing WCT",
"lead_time": "60:00",
"instructions": "",
"documents": [
{...}
],
"blocked_by_operations": [],
"cost_template": {
"cost_template_id": "",
"cost_template_name": "",
"cost_items": [
{...}
]
}
}
],
"comments": [
{
"comment_id": "3863095000000057297",
"description": "Bill of materials updated",
"commented_by_id": "3863095000000032003",
"commented_by": "Suganthan Gnanvelan",
"comment_type": "system",
"date": "2026-05-11",
"date_description": "few seconds ago",
"time": "10:13 AM",
"operation_type": "Updated",
"transaction_type": "bill_of_materials"
}
],
"versions": [
{
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_status": "active",
"version_start_date": "2026-05-08",
"version_end_date": "",
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"created_by_name": "Suganthan Gnanvelan",
"last_modified_by_id": "3863095000000032003"
}
],
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"last_modified_by_id": "3863095000000032003"
}
}
Get a bill of materials
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
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
Get the details of a bill of materials.
OAuth Scope : ERP.manufacturing.READ
Path Parameters
Query Parameters
yyyy-MM-dd.json and pdf.headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?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.in")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("GET", "/erp/v3/billofmaterials/3863095000000039881?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.in",
"port": null,
"path": "/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"bill_of_material": {
"billofmaterials_id": "3863095000000039881",
"billofmaterials_name": "Pencil New-BOM",
"billofmaterials_number": "BOM-00005",
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_start_date": "2026-05-08",
"version_end_date": "",
"version_status": "active",
"status": "active",
"finished_product_id": "3863095000000046004",
"finished_product_group_id": "3863095000000046007",
"finished_product_name": "Pencil",
"finished_product_sku": "",
"finished_product_quantity": 1000,
"unit": "pcs",
"quantity_decimal_place": "",
"description": "",
"associated_mo_count": 0,
"is_effective_version": true,
"custom_fields": [
{
"customfield_id": "982000000000183",
"value": "Batch-A"
}
],
"custom_fields_hash": {...},
"components": [
{
"bom_component_id": "3863095000000039902",
"item_id": "3863095000000046015",
"name": "Wood",
"item_sku": "",
"description": "",
"quantity": 1,
"bom_quantity": 1,
"has_bom": false,
"item_type": "inventory",
"unit": "kg",
"quantity_decimal_place": "",
"subassembly_bom_id": "",
"subassembly_bom_version_id": "",
"subassembly_bom_name": "",
"stock_on_hand": -21.01,
"available_stock": -21.01,
"actual_available_stock": -21.01,
"committed_stock": 1.01,
"actual_committed_stock": 1.01,
"available_for_sale_stock": -22.02,
"actual_available_for_sale_stock": -22.02
}
],
"operations": [
{
"bom_operation_id": "3863095000000039890",
"operation_id": "3863095000000039095",
"operation_name": "Manufacturing OPR",
"workcenter_type_id": "3863095000000039041",
"workcenter_type_name": "Manufacturing WCT",
"lead_time": "60:00",
"instructions": "",
"documents": [
{...}
],
"blocked_by_operations": [],
"cost_template": {
"cost_template_id": "",
"cost_template_name": "",
"cost_items": [
{...}
]
}
}
],
"comments": [
{
"comment_id": "3863095000000057297",
"description": "Bill of materials updated",
"commented_by_id": "3863095000000032003",
"commented_by": "Suganthan Gnanvelan",
"comment_type": "system",
"date": "2026-05-11",
"date_description": "few seconds ago",
"time": "10:13 AM",
"operation_type": "Updated",
"transaction_type": "bill_of_materials"
}
],
"versions": [
{
"version_id": "3863095000000039884",
"version_name": "Pencil BOM 4 V1",
"version_status": "active",
"version_start_date": "2026-05-08",
"version_end_date": "",
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"created_by_name": "Suganthan Gnanvelan",
"last_modified_by_id": "3863095000000032003"
}
],
"created_time": "2026-05-08T16:05:45+0530",
"last_modified_time": "2026-05-08T16:05:45+0530",
"created_by_id": "3863095000000032003",
"last_modified_by_id": "3863095000000032003"
}
}
Delete a bill of materials
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
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
Delete an existing bill of materials. A bill of materials linked to a manufacturing order cannot be deleted.
OAuth Scope : ERP.manufacturing.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?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.in")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/erp/v3/billofmaterials/3863095000000039881?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.in",
"port": null,
"path": "/erp/v3/billofmaterials/3863095000000039881?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.in/erp/v3/billofmaterials/3863095000000039881?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "Bill of materials deleted"
}
Update bill of materials status
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
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 status of a bill of materials.
OAuth Scope : ERP.manufacturing.UPDATE
Arguments
active and inactive. The new status must differ from the current status; sending the same value as the existing status is rejected.Path Parameters
Query Parameters
parameters_data='{"field1":"value1","field2":"value2"}';
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials/3863095000000039881/status?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.in/erp/v3/billofmaterials/3863095000000039881/status?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.in/erp/v3/billofmaterials/3863095000000039881/status?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.in")
payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}"
headers = {
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
'content-type': "application/json"
}
conn.request("PUT", "/erp/v3/billofmaterials/3863095000000039881/status?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.in",
"port": null,
"path": "/erp/v3/billofmaterials/3863095000000039881/status?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.in/erp/v3/billofmaterials/3863095000000039881/status?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"status": "inactive"
}
{
"code": 0,
"message": "Status updated"
}
Add a comment
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
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
Add a comment to a bill of materials.
OAuth Scope : ERP.manufacturing.CREATE
Arguments
Path Parameters
Query Parameters
parameters_data='{"field1":"value1","field2":"value2"}';
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials/3863095000000039881/comments?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.in/erp/v3/billofmaterials/3863095000000039881/comments?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.in/erp/v3/billofmaterials/3863095000000039881/comments?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.in")
payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}"
headers = {
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
'content-type': "application/json"
}
conn.request("POST", "/erp/v3/billofmaterials/3863095000000039881/comments?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.in",
"port": null,
"path": "/erp/v3/billofmaterials/3863095000000039881/comments?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.in/erp/v3/billofmaterials/3863095000000039881/comments?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"code": 0,
"message": "Comment added",
"comment": {
"comment_id": "3863095000000057297",
"description": "Bill of materials updated",
"commented_by_id": "3863095000000032003",
"commented_by": "Suganthan Gnanvelan",
"comment_type": "system",
"date": "2026-05-11",
"date_description": "few seconds ago",
"time": "10:13 AM",
"operation_type": "Updated",
"transaction_type": "bill_of_materials"
}
}
Delete a comment
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
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
Delete a comment from a bill of materials.
OAuth Scope : ERP.manufacturing.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.in/erp/v3/billofmaterials/3863095000000039881/comments/3863095000000057297?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.in/erp/v3/billofmaterials/3863095000000039881/comments/3863095000000057297?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.in/erp/v3/billofmaterials/3863095000000039881/comments/3863095000000057297?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.in")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/erp/v3/billofmaterials/3863095000000039881/comments/3863095000000057297?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.in",
"port": null,
"path": "/erp/v3/billofmaterials/3863095000000039881/comments/3863095000000057297?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.in/erp/v3/billofmaterials/3863095000000039881/comments/3863095000000057297?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "Comment deleted"
}
{ "description": "Component quantities revised for Q2 production." }