Adds or updates individual keys in an existing mapping table without removing keys not present in the request.
Query parameters
-
Mapping type (products, transactions, purchaseOrders, distributionOrders, stocks, suppliers, costCalculationValues)
PUT
/v2/api/mappingtables/{mappingField}
curl \
--request PUT 'https://api.maddenanalytics.com/v2/api/mappingtables/{mappingField}?mappingType=string' \
--header "Content-Type: application/json" \
--data '{"mappingValues":{}}'
Request examples
{
"mappingValues": {}
}
Response examples (200)
{
"mappingField": "color",
"mappingType": "products",
"mappingValues": {}
}
Response examples (400)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}
Response examples (404)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}
Response examples (default)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}