Update/Insert Parts
post
/rest/v19/partSetups/actions/upsertParts
Use this endpoint to update or insert CPQ parts. If an included Part Number already exists, the existing part will be updated based on the request payload. Otherwise, a new Part will be added.
Request
Supported Media Types
- application/json
Root Schema : Part Setups Upsert Parts Request Definition
Type:
objectTitle:
Show Source
Part Setups Upsert Parts Request Definition-
partSetups:
object Part Setup Collection Definitions
Title:
Part Setup Collection Definitions
Nested Schema : Part Setup Collection Definitions
Type:
objectTitle:
Show Source
Part Setup Collection Definitions-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Returns true if more resources are available on the server than the subset returned in current page.
-
items:
array items
-
limit:
integer
The actual paging size used by the server.
-
offset:
integer
The offset used in the current page.
-
totalResults:
integer
Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
Type:
Show Source
array-
Array of:
object Part Setup Instance Definitions
Title:
Part Setup Instance Definitions
Nested Schema : Part Setup Instance Definitions
Type:
objectTitle:
Show Source
Part Setup Instance Definitions-
_part_custom_field1:
string
Title:
Product Group -
_part_custom_field10:
object Product type
Title:
Product type -
_part_custom_field2:
object Part Availability
Title:
Part Availability -
_part_custom_field3:
string
Title:
Max discount % -
_part_custom_field4:
object Price Period
Title:
Price Period -
_part_custom_field5:
number
Title:
Cost -
_part_custom_field8:
object Price Type
Title:
Price Type -
_part_custom_field9:
string
Title:
product -
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
defaultUOMCode:
string
Title:
Default UOM CodeDefault Unit of Measure. -
description:
string
Title:
DescriptionDescription of the part. -
directBuy:
object Direct Buy
Title:
Direct BuyDetermines how the part must be purchased. -
eligibleForService:
string
Title:
Eligible for ServiceEnable this option when integrating with a service request application. -
eligibleToSell:
string
Title:
Eligible to SellCheck this if the part should be visible to a sales person (If the part is sellable or not). -
enableSelfService:
string
Title:
Enable Customer Self-ServiceWhen integrating with any customer self service application- enable this option to identify parts as self-service eligible. -
externalKey1:
string
Title:
External Key 1References for parts coming in from external third party system. -
externalKey2:
string
Title:
External Key 2References for parts coming in from external third party system. -
id:
integer
Title:
IdThe unique identifier for the part. -
leadTime:
integer
Title:
Lead TimeTime taken in days for the part to be shipped. -
numberOfPricePeriods:
integer
Title:
Number of Price PeriodsDefault number of price periods for a part. -
partDisplayNumber:
string
Title:
Part Display NumberPart Number for display purpose. -
partnerOrganizationId:
string
Title:
Partner Organization IdThe integrated partner organization id. -
partnerPartId:
string
Title:
Partner Part IdThe integrated partner part id. -
partnerStandardPriceBookEntryId:
string
Title:
Partner Standard Pricebook Entry IdThe integrated partner id for the standard pricebook. -
partNumber:
string
Title:
Part NumberPart Number used to identify a part. -
partNumberLower:
string
Title:
Part Number LowerUsed to store part number in lower case. -
pricePeriod:
string
Title:
Price PeriodDefault price period for the part. -
priceType:
string
Title:
Price TypeDefault price type applicable to the part- e.g. One-Time, Recurring or Usage-based. -
salesProductType:
string
Title:
Sales Product TypeCategorize the product by selecting a product type. -
units:
string
Title:
UnitsUnits for the part.
Nested Schema : Product type
Type:
objectTitle:
Show Source
Product type-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Part Availability
Type:
objectTitle:
Show Source
Part Availability-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Price Period
Type:
objectTitle:
Show Source
Price Period-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Price Type
Type:
objectTitle:
Show Source
Price Type-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Direct Buy
Type:
objectTitle:
Direct BuyDetermines how the part must be purchased.
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Part Setups Upsert Parts Response Definition
Type:
objectTitle:
Show Source
Part Setups Upsert Parts Response Definition-
processedPartSetups:
object Part Setup Collection Definitions
Title:
Part Setup Collection Definitions
Nested Schema : Part Setup Collection Definitions
Type:
objectTitle:
Show Source
Part Setup Collection Definitions-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Returns true if more resources are available on the server than the subset returned in current page.
-
items:
array items
-
limit:
integer
The actual paging size used by the server.
-
offset:
integer
The offset used in the current page.
-
totalResults:
integer
Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
Type:
Show Source
array-
Array of:
object Part Setup Instance Definitions
Title:
Part Setup Instance Definitions
Nested Schema : Part Setup Instance Definitions
Type:
objectTitle:
Show Source
Part Setup Instance Definitions-
_part_custom_field1:
string
Title:
Product Group -
_part_custom_field10:
object Product type
Title:
Product type -
_part_custom_field2:
object Part Availability
Title:
Part Availability -
_part_custom_field3:
string
Title:
Max discount % -
_part_custom_field4:
object Price Period
Title:
Price Period -
_part_custom_field5:
number
Title:
Cost -
_part_custom_field8:
object Price Type
Title:
Price Type -
_part_custom_field9:
string
Title:
product -
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
defaultUOMCode:
string
Title:
Default UOM CodeDefault Unit of Measure. -
description:
string
Title:
DescriptionDescription of the part. -
directBuy:
object Direct Buy
Title:
Direct BuyDetermines how the part must be purchased. -
eligibleForService:
string
Title:
Eligible for ServiceEnable this option when integrating with a service request application. -
eligibleToSell:
string
Title:
Eligible to SellCheck this if the part should be visible to a sales person (If the part is sellable or not). -
enableSelfService:
string
Title:
Enable Customer Self-ServiceWhen integrating with any customer self service application- enable this option to identify parts as self-service eligible. -
externalKey1:
string
Title:
External Key 1References for parts coming in from external third party system. -
externalKey2:
string
Title:
External Key 2References for parts coming in from external third party system. -
id:
integer
Title:
IdThe unique identifier for the part. -
leadTime:
integer
Title:
Lead TimeTime taken in days for the part to be shipped. -
numberOfPricePeriods:
integer
Title:
Number of Price PeriodsDefault number of price periods for a part. -
partDisplayNumber:
string
Title:
Part Display NumberPart Number for display purpose. -
partnerOrganizationId:
string
Title:
Partner Organization IdThe integrated partner organization id. -
partnerPartId:
string
Title:
Partner Part IdThe integrated partner part id. -
partnerStandardPriceBookEntryId:
string
Title:
Partner Standard Pricebook Entry IdThe integrated partner id for the standard pricebook. -
partNumber:
string
Title:
Part NumberPart Number used to identify a part. -
partNumberLower:
string
Title:
Part Number LowerUsed to store part number in lower case. -
pricePeriod:
string
Title:
Price PeriodDefault price period for the part. -
priceType:
string
Title:
Price TypeDefault price type applicable to the part- e.g. One-Time, Recurring or Usage-based. -
salesProductType:
string
Title:
Sales Product TypeCategorize the product by selecting a product type. -
units:
string
Title:
UnitsUnits for the part.
Nested Schema : Product type
Type:
objectTitle:
Show Source
Product type-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Part Availability
Type:
objectTitle:
Show Source
Part Availability-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Price Period
Type:
objectTitle:
Show Source
Price Period-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Price Type
Type:
objectTitle:
Show Source
Price Type-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Direct Buy
Type:
objectTitle:
Direct BuyDetermines how the part must be purchased.
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Examples
The following example shows how to update or insert CPQ parts by submitting a POST request to the REST resource using cURL. If an included Part Number already exists, the existing part will be updated based on the request payload. Otherwise, a new Part will be added. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/partSetups/actions/upsertParts
Request Body
{
"partSetups": {
"items": [{
"_part_custom_field14": null,
"_part_custom_field15": null,
"_part_custom_field16": {
"items": [{
"displayValue": "Value 1 Label",
"value": "Value 1"
}, {
"displayValue": "Value 2 Label",
"value": "Value 2"
}
]
},
"enableSelfService": "Y",
"_part_custom_field17": null,
"_part_custom_field10": "vxvs",
"_part_custom_field11": {
"lookupCode": "Required value2"
},
"_part_custom_field13": null,
"_part_custom_field9": {
"lookupCode": "Part Fields"
},
"_part_custom_field3": null,
"_part_custom_field4": null,
"_part_custom_field1": null,
"_part_custom_field2": null,
"_part_custom_field20": null,
"_part_custom_field7": 1000,
"_part_custom_field8": null,
"_part_custom_field5": 0,
"salesProductType": null,
"_part_custom_field6": 11,
"_part_custom_field25": null,
"_part_custom_field26": null,
"_part_custom_field27": null,
"_part_custom_field21": null,
"_part_custom_field22": null,
"_part_custom_field23": null,
"_part_custom_field24": null,
"_part_custom_field18": null,
"_part_custom_field19": null,
"eligibleForService": "Y",
"_part_custom_field30": "fdfdx",
"directBuy": {
"lookupCode": "2"
},
"defaultUOMCode": "SUM",
"description": "Part with a float part number value",
"leadTime": -1,
"units": null,
"eligibleToSell": "Y",
"priceType": null,
"numberOfPricePeriods": 0,
"partDisplayNumber": "partForResourceTest5558",
"pricePeriod": null,
"partNumberLower": "partforresourcetest5558",
"partNumber": "partForResourceTest5558",
"externalKey1": null,
"externalKey2": null,
"partnerStandardPriceBookEntryId": "asdf",
"partnerPartId": "fdasd",
"partnerOrganizationId": "burrrr",
"prices": {
"items": [{
"price": {
"value": 1.24,
"currency": "USD"
}
}, {
"price": {
"value": 1.25,
"currency": "EUR"
}
}
]
},
"translations": {
"items": [{
"description": "asdf5",
"language": {
"languageNumber": 0
},
"units": null
}
]
},
"extendedDescriptions": {
"items": [{
"partExtendedDescription1": "Extended description 1 for part5186",
"partExtendedDescription2": "Extended description 2 for part5186",
"translations": {
"items": [{
"partExtendedDescription1": "Extended description 1 for part5186",
"language": {
"languageNumber": -1,
"languageCode": "en"
},
"partExtendedDescription2": "Extended description 2 for part5186"
}
]
}
}
]
}
}, {
"description": "updated with that fresh API",
"partNumber": "testFromResource2",
"prices": {
"items": [{
"price": {
"value": 1.25,
"currency": "USD"
}
}
]
}
}, {
"_part_custom_field14": null,
"_part_custom_field15": null,
"_part_custom_field16": {
"items": [{
"value": "Value 1"
}, {
"value": "Value 2"
}
]
},
"enableSelfService": "Y",
"_part_custom_field17": null,
"_part_custom_field10": "vxvs",
"_part_custom_field11": {
"lookupCode": "Required value2"
},
"_part_custom_field13": null,
"_part_custom_field9": {
"lookupCode": "Part Fields"
},
"_part_custom_field3": null,
"_part_custom_field4": null,
"_part_custom_field1": null,
"_part_custom_field2": null,
"_part_custom_field20": null,
"_part_custom_field7": 1000,
"_part_custom_field8": null,
"_part_custom_field5": {
"value": 1.5,
"unitVarName": "ft/s2"
},
"salesProductType": null,
"_part_custom_field6": 9.999,
"_part_custom_field25": null,
"_part_custom_field26": null,
"_part_custom_field27": null,
"_part_custom_field21": null,
"_part_custom_field22": null,
"_part_custom_field23": null,
"_part_custom_field24": null,
"_part_custom_field18": null,
"_part_custom_field19": null,
"eligibleForService": "Y",
"_part_custom_field30": "fdfdx",
"directBuy": {
"lookupCode": "2"
},
"defaultUOMCode": "SUM",
"description": "Part with a float part number value",
"leadTime": -1,
"units": null,
"eligibleToSell": "Y",
"priceType": null,
"numberOfPricePeriods": 0,
"partDisplayNumber": "thisWasUpdatedFromRest",
"pricePeriod": null,
"partNumber": "upsertedPart",
"externalKey1": null,
"externalKey2": null,
"partnerStandardPriceBookEntryId": "asdf",
"partnerPartId": "fdasd",
"partnerOrganizationId": "burrrr"
}
]
}
}Response Body
{
"processedPartSetups": {
"items": [{
"_part_custom_field14": null,
"_part_custom_field15": null,
"_part_custom_field16": {
"items": [{
"displayValue": "Value 1 Label",
"value": "Value 1"
}, {
"displayValue": "Value 2 Label",
"value": "Value 2"
}
]
},
"enableSelfService": "Y",
"_part_custom_field17": null,
"_part_custom_field10": "vxvs",
"_part_custom_field11": {
"lookupCode": "Required value2",
"displayValue": "Required value2",
"id": 20963068,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field11%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/20963068"
}
]
},
"dateAdded": "2023-01-27T19:35:47.000Z",
"_part_custom_field13": null,
"_part_custom_field9": {
"lookupCode": "Part Fields",
"displayValue": "Part Fields",
"id": 20963084,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field9%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/20963084"
}
]
},
"id": 3022900770,
"_part_custom_field3": null,
"_part_custom_field4": null,
"_part_custom_field1": null,
"_part_custom_field2": null,
"_part_custom_field20": null,
"_part_custom_field7": 1000,
"_part_custom_field8": null,
"_part_custom_field5": 0.0,
"salesProductType": null,
"_part_custom_field6": 11.0,
"_part_custom_field25": null,
"_part_custom_field26": null,
"_part_custom_field27": null,
"_part_custom_field21": null,
"_part_custom_field22": null,
"_part_custom_field23": null,
"_part_custom_field24": null,
"_part_custom_field18": null,
"_part_custom_field19": null,
"eligibleForService": "Y",
"partnerPartId": null,
"_part_custom_field30": "fdfdx",
"directBuy": {
"lookupCode": "2",
"displayValue": "Buy Parent Part",
"id": 19880907,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_PARTS_DIRECT_BUY%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/19880907"
}
]
},
"_part_custom_field31": null,
"defaultUOMCode": "SUM",
"description": "Part with a float part number value",
"leadTime": -1,
"units": null,
"eligibleToSell": "Y",
"partnerStandardPriceBookEntryId": null,
"priceType": null,
"numberOfPricePeriods": 0,
"dateModified": "2023-01-27T19:35:47.000Z",
"partnerOrganizationId": null,
"partDisplayNumber": "party1",
"pricePeriod": null,
"partNumberLower": "party1",
"partNumber": "party1",
"externalKey1": null,
"externalKey2": null,
"translations": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/translations"
}
],
"items": [{
"description": "asdf4",
"dateModified": "2023-01-27T19:35:48.000Z",
"language": {
"languageNumber": 0,
"languageCode": "de",
"id": 18325670,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/languages"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/languages/18325670"
}
]
},
"id": 3022900772,
"units": "asdf1",
"dateAdded": "2023-01-27T19:35:48.000Z",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/translations/3022900772"
}, {
"rel": "parent",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}
]
}
]
},
"prices": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/prices"
}
],
"items": [{
"price": {
"value": 1.24,
"currency": "USD"
},
"dateModified": "2023-01-27T19:35:48.000Z",
"id": 3022900771,
"dateAdded": "2023-01-27T19:35:48.000Z",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/prices/3022900771"
}, {
"rel": "parent",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}
]
}
]
},
"extendedDescriptions": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/extendedDescriptions"
}
],
"items": [{
"partExtendedDescription1": "Extended description 1 for part5186",
"partExtendedDescription2": "Extended description 2 for part5186",
"dateModified": "2023-01-27T19:35:48.000Z",
"id": 3022900771,
"dateAdded": "2023-01-27T19:35:48.000Z",
"translations": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/extendedDescriptions/3022900771/translations"
}
],
"items": [{
"partExtendedDescription1": "Extended description 1 for part5186",
"language": {
"languageNumber": -1,
"languageCode": "en",
"id": 18325669,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/languages"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/languages/18325669"
}
]
},
"partExtendedDescription2": "Extended description 2 for part5186",
"dateModified": "2023-01-27T19:35:48.000Z",
"id": 3022900771,
"dateAdded": "2023-01-27T19:35:48.000Z",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/extendedDescriptions/3022900771/translations/3022900771"
}
]
}
]
},
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/extendedDescriptions/3022900771"
}, {
"rel": "parent",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}
]
}
]
},
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}
]
}, {
"_part_custom_field14": null,
"_part_custom_field15": null,
"_part_custom_field16": {
"items": [{
"displayValue": "Value 1 Label",
"value": "Value 1"
}, {
"displayValue": "Value 2 Label",
"value": "Value 2"
}
]
},
"enableSelfService": "Y",
"_part_custom_field17": null,
"_part_custom_field10": "vxvs",
"_part_custom_field11": {
"lookupCode": "Required value2",
"displayValue": "Required value2",
"id": 20963068,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field11%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/20963068"
}
]
},
"dateAdded": "2023-01-27T19:35:47.000Z",
"_part_custom_field13": null,
"_part_custom_field9": {
"lookupCode": "Part Fields",
"displayValue": "Part Fields",
"id": 20963084,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field9%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/20963084"
}
]
},
"id": 3022900770,
"_part_custom_field3": null,
"_part_custom_field4": null,
"_part_custom_field1": null,
"_part_custom_field2": null,
"_part_custom_field20": null,
"_part_custom_field7": 1000,
"_part_custom_field8": null,
"_part_custom_field5": 0.0,
"salesProductType": null,
"_part_custom_field6": 11.0,
"_part_custom_field25": null,
"_part_custom_field26": null,
"_part_custom_field27": null,
"_part_custom_field21": null,
"_part_custom_field22": null,
"_part_custom_field23": null,
"_part_custom_field24": null,
"_part_custom_field18": null,
"_part_custom_field19": null,
"eligibleForService": "Y",
"partnerPartId": null,
"_part_custom_field30": "fdfdx",
"directBuy": {
"lookupCode": "2",
"displayValue": "Buy Parent Part",
"id": 19880907,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_PARTS_DIRECT_BUY%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/19880907"
}
]
},
"_part_custom_field31": null,
"defaultUOMCode": "SUM",
"description": "updated with that fresh API",
"leadTime": -1,
"units": null,
"eligibleToSell": "Y",
"partnerStandardPriceBookEntryId": null,
"priceType": null,
"numberOfPricePeriods": 0,
"dateModified": "2023-01-27T19:35:47.000Z",
"partnerOrganizationId": null,
"partDisplayNumber": "testFromResource2",
"pricePeriod": null,
"partNumberLower": "testFromresource2",
"partNumber": "testFromResource2",
"externalKey1": null,
"externalKey2": null,
"translations": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/translations"
}
],
"items": [{
"description": "asdf4",
"dateModified": "2023-01-27T19:35:48.000Z",
"language": {
"languageNumber": 0,
"languageCode": "de",
"id": 18325670,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/languages"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/languages/18325670"
}
]
},
"id": 3022900772,
"units": "asdf1",
"dateAdded": "2023-01-27T19:35:48.000Z",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/translations/3022900772"
}, {
"rel": "parent",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}
]
}
]
},
"prices": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/prices"
}
],
"items": [{
"price": {
"value": 1.25,
"currency": "USD"
},
"dateModified": "2023-01-27T19:35:48.000Z",
"id": 3022900771,
"dateAdded": "2023-01-27T19:35:48.000Z",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/prices/3022900771"
}, {
"rel": "parent",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}
]
}
]
},
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}, {
"kind": "",
"rel": "child",
"name": "extendedDescriptions",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/extendedDescriptions"
}
]
}, {
"_part_custom_field14": null,
"_part_custom_field15": null,
"_part_custom_field16": {
"items": [{
"displayValue": "Value 1 Label",
"value": "Value 1"
}, {
"displayValue": "Value 2 Label",
"value": "Value 2"
}
]
},
"enableSelfService": "Y",
"_part_custom_field17": null,
"_part_custom_field10": "vxvs",
"_part_custom_field11": {
"lookupCode": "Required value2",
"displayValue": "Required value2",
"id": 20963068,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field11%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/20963068"
}
]
},
"dateAdded": "2023-01-27T19:35:47.000Z",
"_part_custom_field13": null,
"_part_custom_field9": {
"lookupCode": "Part Fields",
"displayValue": "Part Fields",
"id": 20963084,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field9%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/20963084"
}
]
},
"id": 3022900770,
"_part_custom_field3": null,
"_part_custom_field4": null,
"_part_custom_field1": null,
"_part_custom_field2": null,
"_part_custom_field20": null,
"_part_custom_field7": 1000,
"_part_custom_field8": null,
"_part_custom_field5": 0.0,
"salesProductType": null,
"_part_custom_field6": 11.0,
"_part_custom_field25": null,
"_part_custom_field26": null,
"_part_custom_field27": null,
"_part_custom_field21": null,
"_part_custom_field22": null,
"_part_custom_field23": null,
"_part_custom_field24": null,
"_part_custom_field18": null,
"_part_custom_field19": null,
"eligibleForService": "Y",
"partnerPartId": null,
"_part_custom_field30": "fdfdx",
"directBuy": {
"lookupCode": "2",
"displayValue": "Buy Parent Part",
"id": 19880907,
"links": [{
"rel": "domain",
"href": "http://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_PARTS_DIRECT_BUY%22%7D%7D"
}, {
"rel": "canonical",
"href": "http://sitename.oracle.com/rest/v19/lookupValues/19880907"
}
]
},
"_part_custom_field31": null,
"defaultUOMCode": "SUM",
"description": "updated with that fresh API",
"leadTime": -1,
"units": null,
"eligibleToSell": "Y",
"partnerStandardPriceBookEntryId": null,
"priceType": null,
"numberOfPricePeriods": 0,
"dateModified": "2023-01-27T19:35:47.000Z",
"partnerOrganizationId": null,
"partDisplayNumber": "thisWasUpdatedFromRest",
"pricePeriod": null,
"partNumberLower": "upsertedpart",
"partNumber": "upsertedPart",
"externalKey1": null,
"externalKey2": null,
"translations": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/translations"
}
],
"items": []
},
"prices": {
"hasMore": false,
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/prices"
}
],
"items": []
},
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770"
}, {
"kind": "",
"rel": "child",
"name": "extendedDescriptions",
"href": "http://sitename.oracle.com/rest/v19/partSetups/3022900770/extendedDescriptions"
}
]
}
]
}
}