on ‎2021 Sep 09 11:57 AM
Request clarification before answering.
Hi,
As mentioned in SAP KBA https://launchpad.support.sap.com/#/notes/2687413 , External ID is not exposed in Products entity of C4CODATAAPI. Rather you need to refer ObjectIdentifierMappingCollection to determine or create external ID mapping.
In case you just want to read the ID mapping from C4C via Odata then please refer to https://answers.sap.com/questions/12985558/article-number-stored-within-c4c.html .
For creating new ID mapping please check the official documentation https://help.sap.com/doc/d0f9ba822c08405da7d88174b304df84/CLOUD/en-US/index.html#/topic/ObjectIdenti.... ON very high level you can simply use following URL https://my3XXXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/ObjectIdentifierMappingCollection with POST method and following payload.
{
"LocalObjectID": "PTC30-1790", // C4C ID
"RemoteObjectID": "PTC-1790", // ERP ID
"RemoteIdentifierDefiningSchemeCode": "20", // Object Type 'Material ID'
"RemoteBusinessSystemID": "HYBRIS" //Comm System ID
}

BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.