Add/Update Customer Metadata
This endpoint can be used to add or update customer metadata.
POST {{BASE_URL}}/comhub/add_update_customer_metadata/
Parameter
Type
Description
Required
Any data relating to the customer you intend to store. This is a Jsonfield.
{
"customer_ref":"MC-84219268136662065542",
"meta_data":"{'customer_pin':'sddsds','customer_color':'blue'}"
}
OK
- 200
{
"customer_ref": "MC-84219268136662065542",
"message": "Operation successful",
"meta_data": {
"customer_color": "blue",
"customer_pin": "sddsds"
},
"status": true,
"status_code": 200
}
BAD REQUEST - 400
{
"message":"meta data is required.",
"status": false,
"status_code": 400
}