Pheonix Posted January 13, 2020 Share Posted January 13, 2020 Hello, We have used POSTMAN API to add a client in WHMCS. We are getting the below error when we try to add. You did not provide required custom field value for Countries We have added country code as 'GB' however it is not working. We have followed the below URL for API endpoint. https://developers.whmcs.com/api-reference/addclient/ Any help would be appreciated 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted January 15, 2020 Share Posted January 15, 2020 The error is referring to a Client Custom Field that is named exactly Country and set as required (Setup > Custom Client Field). It's not the country field of WHMCS. That said, you have 3 options: Specify Country custom field in your API call Make it optional Delete it 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.