api/v1/customer/save-consent-preferences

POST

/api/v1/customer/save-consent-preferences

This API method will allow you to save the customer's consent .age restricted topics preferences.
###Request Parameters

{  
   "data":[  
       {  
         "customer_topic_id":"LZWBJx0PmYkEwjGdr2vO",
         "status": 1
      },
      {  
         "customer_topic_id":"QD59AxOJm2MenXb14Pw7",
         "status": 0
      }
   ],
   "settings": {
        "can_email": 0,
        "can_push_notification": 0
    }
}

Sample Response

{
    "status": true,
    "message": "Customer preferences has been save successfully"
}