Description
The error occurs when the Integration Platform tries to export a price to the external system.
The message says: Failing updating price of product [Sku:Some(150327), remoteId:Some(0007b6f5d99ac26987931ca75694010d:product/11645717), localId:0007dab50430d5b387b89ce8625d745a] cause: GenericError(20025000, RemoteSystemError): {"message":"Validation error","data":[{"message":"Read-only","pointer":"/price/purchasePrice"}],"code":9001}
This means that the field purchasePrice (cost price) is read-only in the receiving system and therefore cannot be updated via API. The export is stopped for the affected product.
Cause
The Integration Platform is trying to update a field (/price/purchasePrice) that is write-protected. This may be due to:
Incorrect field mapping – cost price is being sent instead of sales price.
The price field is locked to a price list or variant level in the external system.
API permissions are missing to edit the price field.
The export includes the entire
/priceobject, including fields that cannot be updated.
Action
Remove purchasePrice / cost price from the export
Check price lists: If the product uses price lists, map the export to the correct list.
Verify permissions: Ensure that the API user has the necessary rights to edit price fields.
Filter the payload: Send only allowed price fields in the export (e.g., use PATCH instead of PUT if supported by the system).
Summary
The error occurs because purchasePrice is write-protected in the external system. The solution is to not export purchasePrice, but instead only update the sales price and check field mapping, price list/variant level, and API permissions.
Comments
0 comments
Please sign in to leave a comment.