Update a BOM Item Definition
put
/rest/v19/bomItemSetups/{bomItemVarName}
Use this endpoint to update the specified BOM item definition.
Request
Supported Media Types
- application/json
Path Parameters
-
bomItemVarName(required): string
Variable Name of the BOM item
Root Schema : BOM Item Setup Create Request Definitions
Type:
objectTitle:
Show Source
BOM Item Setup Create Request Definitions-
bomPrice:
number
Title:
BOM PriceBOM Price -
defaultQuantity:
number
Title:
Default QuantityDefault quantity for the BOM item -
effectiveFrom:
string
Title:
Effective FromThe effective from date for the BOM item -
effectiveTo:
string
Title:
Effective ToThe effective to date for the BOM item -
isIncludedInBasePrice:
boolean
Title:
Is Included In Base PriceWhether the BOM item is included in the base price -
isManufacturingItem:
boolean
Title:
Is Manufacturing ItemWhether the BOM item is a manufacturing item -
isOptional:
boolean
Title:
Is OptionalWhether the BOM item is optional -
isSalesItem:
boolean
Title:
Is Sales ItemWhether the BOM item is a sales item -
itemIdentifier:
string
Title:
Item IdentifierBOM item identifier -
itemType:
string
Title:
Item TypeBOM item type -
label:
string
Title:
LabelBOM item label -
maxSelectableItems:
string
Title:
Max Selectable ItemsMaximum number of selected optional items for this option class -
minSelectableItems:
string
Title:
Min Selectable ItemsMinimum number of selected optional items for this option class -
modelPath:
string
Title:
Model PathThe path to a model in the BOM hierarchy -
parentVariableName:
string
Title:
Parent Variable NameVariable name of the parent BOM item. -
partNumber:
string
Title:
Part NumberPart number of the BOM item -
rootVariableName:
string
Title:
Root Variable NameVariable name of the root BOM item. -
sequenceNumber:
integer
Title:
Sequence NumberBOM item sequence number -
variableName:
string
Title:
Variable NameVariable Name of the BOM item
Response
Supported Media Types
- application/json
Default Response
Examples
The following example shows how to update a BOM item definition by submitting a PUT request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X PUT -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/bomItemSetups/CPU-920-28
Request Body Sample
{
"isManufacturingItem": true,
"parentVariableName": "varioTablet",
"sequenceNumber": 1111,
"isIncludedInBasePrice": false,
"itemType": "Standard Item",
"variableName": "varioTablet-cpu3",
"modelPath": null,
"bomPrice": null,
"isSalesItem": true,
"isOptional": false,
"label": "Quad Core 2.80 GHz",
"defaultQuantity": 1.0,
"isRootModel": false,
"effectiveTo": null,
"rootVariableName": "varioTablet",
"partNumber": "CPU-920-28",
"itemIdentifier": "1111",
"effectiveFrom": null
}Response Body Status
204 No Content