The BOM Creator Item object
Attributes
Unique identifier for the object.
Default: false
Default: true
Default: false
Default: false
Default: false
Default: false
{
"id": "b-o-m-creator-item_abc123",
"idx": 1,
"bom_creator_id": "bom_creator_id_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"item_group": "item_group_example",
"fg_item": "fg_item_example",
"is_expandable": false,
"description": "description_example",
"qty": 0,
"rate": 0,
"uom": "uom_example",
"stock_qty": 0,
"conversion_factor": 0,
"stock_uom": "stock_uom_example",
"amount": 0,
"do_not_explode": true,
"instruction": "instruction_example",
"base_amount": 0,
"base_rate": 0,
"sourced_by_supplier": false,
"fg_reference_id": "fg_reference_id_example",
"parent_row_no": "parent_row_no_example",
"bom_created": false,
"operation": "operation_example",
"is_subcontracted": false,
"is_phantom_item": false
} /api/manufacturing/b-o-m-creator-item?parent_id={id} List bom creator items by parent
Returns all bom creator items belonging to the specified parent.
Query parameters
The ID of the parent to list children for.
Returns
A list of bom creator item objects belonging to the parent.
curl https://api.overplane.dev/api/manufacturing/b-o-m-creator-item?parent_id=parent_abc123 \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "b-o-m-creator-item_abc123",
"idx": 1,
"bom_creator_id": "bom_creator_id_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"item_group": "item_group_example",
"fg_item": "fg_item_example",
"is_expandable": false,
"description": "description_example",
"qty": 0,
"rate": 0,
"uom": "uom_example",
"stock_qty": 0,
"conversion_factor": 0,
"stock_uom": "stock_uom_example",
"amount": 0,
"do_not_explode": true,
"instruction": "instruction_example",
"base_amount": 0,
"base_rate": 0,
"sourced_by_supplier": false,
"fg_reference_id": "fg_reference_id_example",
"parent_row_no": "parent_row_no_example",
"bom_created": false,
"operation": "operation_example",
"is_subcontracted": false,
"is_phantom_item": false
}
],
"has_more": false,
"total": 1
} /api/manufacturing/b-o-m-creator-item Create a bom creator item
Creates a new bom creator item object.
Body parameters
Default: false
Default: true
Default: false
Default: false
Default: false
Default: false
Returns
Returns the newly created bom creator item object if the call succeeded.
curl https://api.overplane.dev/api/manufacturing/b-o-m-creator-item \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"bom_creator_id":"bom_creator_id_example","item_code":"item_code_example","fg_item":"fg_item_example"}' {
"id": "b-o-m-creator-item_abc123",
"idx": 1,
"bom_creator_id": "bom_creator_id_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"item_group": "item_group_example",
"fg_item": "fg_item_example",
"is_expandable": false,
"description": "description_example",
"qty": 0,
"rate": 0,
"uom": "uom_example",
"stock_qty": 0,
"conversion_factor": 0,
"stock_uom": "stock_uom_example",
"amount": 0,
"do_not_explode": true,
"instruction": "instruction_example",
"base_amount": 0,
"base_rate": 0,
"sourced_by_supplier": false,
"fg_reference_id": "fg_reference_id_example",
"parent_row_no": "parent_row_no_example",
"bom_created": false,
"operation": "operation_example",
"is_subcontracted": false,
"is_phantom_item": false
} /api/manufacturing/b-o-m-creator-item/{id} Update a bom creator item
Updates the specified bom creator item by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the bom creator item to update.
Body parameters
Default: false
Default: true
Default: false
Default: false
Default: false
Default: false
Returns
Returns the updated bom creator item object.
curl https://api.overplane.dev/api/manufacturing/b-o-m-creator-item/b-o-m-creator-item_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"idx":1,"bom_creator_id":"bom_creator_id_example"}' {
"id": "b-o-m-creator-item_abc123",
"idx": 1,
"bom_creator_id": "bom_creator_id_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"item_group": "item_group_example",
"fg_item": "fg_item_example",
"is_expandable": false,
"description": "description_example",
"qty": 0,
"rate": 0,
"uom": "uom_example",
"stock_qty": 0,
"conversion_factor": 0,
"stock_uom": "stock_uom_example",
"amount": 0,
"do_not_explode": true,
"instruction": "instruction_example",
"base_amount": 0,
"base_rate": 0,
"sourced_by_supplier": false,
"fg_reference_id": "fg_reference_id_example",
"parent_row_no": "parent_row_no_example",
"bom_created": false,
"operation": "operation_example",
"is_subcontracted": false,
"is_phantom_item": false
} /api/manufacturing/b-o-m-creator-item/{id} Delete a bom creator item
Permanently deletes a bom creator item. This cannot be undone.
Path parameters
The identifier of the bom creator item to delete.
Returns
Returns a confirmation that the bom creator item has been deleted.
curl https://api.overplane.dev/api/manufacturing/b-o-m-creator-item/b-o-m-creator-item_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "b-o-m-creator-item_abc123",
"deleted": true
} /api/manufacturing/b-o-m-creator-item/reorder Reorder bom creator items
Updates the sort order of bom creator items within their parent by setting new index values.
Returns
Returns the reordered list.
curl https://api.overplane.dev/api/manufacturing/b-o-m-creator-item/reorder \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "b-o-m-creator-item_abc123",
"idx": 1,
"bom_creator_id": "bom_creator_id_example",
"item_code": "item_code_example",
"item_name": "item_name_example",
"item_group": "item_group_example",
"fg_item": "fg_item_example",
"is_expandable": false,
"description": "description_example",
"qty": 0,
"rate": 0,
"uom": "uom_example",
"stock_qty": 0,
"conversion_factor": 0,
"stock_uom": "stock_uom_example",
"amount": 0,
"do_not_explode": true,
"instruction": "instruction_example",
"base_amount": 0,
"base_rate": 0,
"sourced_by_supplier": false,
"fg_reference_id": "fg_reference_id_example",
"parent_row_no": "parent_row_no_example",
"bom_created": false,
"operation": "operation_example",
"is_subcontracted": false,
"is_phantom_item": false
}