post https://{baseUrl}/V1/storeview//user/enquiry
Create new enquiry. If customer token is used, customer_id does not need to be provided. If admin token is used, ensure customer_id exists.
Sample Curl
curl --location 'https: //myendpoint.url/V1/storeview/default/enquiry' --header 'Content-Type: application/json' --header 'Authorization: Bearer nglgsotmwtm67bgs6heqh6czxau8vpdm' --data '{"enquiry":{"vendor_id":1,"product_id":1,"customer":{"customer_last_name":"last","customer_first_name":"first","customer_email":"[email protected]","customer_mobile":"123213","customer_company":"cpp"},"enquiry_message":"bbbbb","summary":"titlenew"}}'