POST call, passing a JSON body as specified below.| Field | Description | Type | Mandatory |
|---|---|---|---|
| codeMappingRulesRecords | Array of mappings objecs | See below for the the object structure | ā |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| system | System to be used to save mapping | Varchar(250) | ā |
| mappingCategory |
| Varchar(250) | ā |
| externalValue | Mapping code on the external system (e.g. Shopify Item ID) | Varchar(250) | ā |
| externalValue | Mapping code to be decoded (e.g. Shopify Item ID) | Varchar(250) | ā |
decoded field will be added for each record, containing the decoded value for the provided externalValue.{
"success": true,
"codeMappingRulesRecords": [
{
"system": "SHOPIFY",
"externalValue": "IT-1",
"decoded": "ITEM-1"
}
]
}
{
"success": false,
"message": "system, mappingCategory parameters missing"
}