Hai, i have issue .
The initial alternate was "PP001" and I wanted to change it to PP002, but what happened was not updating but adding a new line.
so how do you want to update not add a new line in crossreference with the API?
please help me, thank you
url :
{{base_url}}/ExtendEndpoint/22.200.001/StockItem?$expand=CrossReferences&$filter=InventoryID eq 'FG34132'
body :
{
"CrossReferences": [
{
"VendorOrCustomer": {
"value": "DR00OPPP"
},
"AlternateType": {
"value": "Customer Part Number"
},
"AlternateID": {
"value": "PP002"
},
"UOM": {
"value": "PIECE"
},
"Description": {
"value": "PP002"
}
}
]
Best answer by Vignesh Ponnusamy
View original