Update User

PUT {{api-domain}}/crm/v2/users

To update the details of a user of your Organization. For detailed information, please refer to the documentation.

  1. The Currency Key
    The value for the currency key can be any one of the (multi currencies enabled) Organization currencies. Refer to Enable Multi-currencies API to know more. The possible values for this key are: ALL, DZD, AOA, ARS, AMD, AWG, AUD, AZN, BSD, BHD, BDT, BBD, BYN, BZD, BMD, BTN, BOB, BAM, BWP, BRL, GBP, BND, BGN, BIF, KHR, CAD, CVE, KYD, XOF, XAF, XPF, CLP, CNY, COP, KMF, CDF, CRC, HRK, CUP, CZK, DKK, DJF, DOP, XCD, EGP, ERN, ETB, EUR, FKP, FJD, GMD, GEL, GHS, GIP, GTQ, GNF, GYD, HTG, HNL, HKD, HUF, ISK, IDR, IRR, IQD, ILS, JMD, JOD, KZT, KES, KWD, KGS, LAK, LBP, LSL, LRD, LYD, MOP, MKD, MGA, MYK, MYR, MVR, MRU, MUR, MXN, MDL, MNT, MAD, MZN, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NGN, KPW, NOK, OMR, PKR, PAB, PGK, PYG, PEN, PHP, PLN, QAR, RON, RUB, RWF, SHP, SVC, WST, RSD, SCR, SLL, SGD, SBD, SOS, ZAR, KRW, LKR, SDG, SRD, SZL, SEK, CHF, SYP, TJS, TZS, THP, TOP, TTD, TND, TRY, TMT, UGX, UAH, CLF, AED, UYU, USD, UZS, VUV, YER, ZMW, VES, ZWL, STN, BOV, GGP, JEP, IMP, SSP, XZR, TVD, COU, UYI, CHE, CHW, SAR, INR, and JPY. Each of these ISO codes represent a unique currency.

Request Body

{"users"=>[{"country"=>"US", "city"=>"Austin", "street"=>"6800 Burleson Rd, Building 310, Suite 200", "alias"=>"Patricia", "state"=>"Texas", "fax"=>"444-222", "zip"=>"78744", "website"=>"www.patriciaboyle.com", "mobile"=>"9000000000", "phone"=>"044-71817070", "dob"=>"1996-02-01", "role"=>"{{role_id}}", "first_name"=>"Patricia", "email"=>"Patricia@abcl.com", "profile"=>"{{profile_id}}", "last_name"=>"Boyle", "Currency"=>"AFN", "date_format"=>"MM/dd/yyyy", "time_format"=>"hh:mm a", "territories"=>[{"manager"=>true, "name"=>"North Zone", "id"=>"{{terriory_id}}"}, {"manager"=>true, "name"=>"South Zone", "id"=>"{{territroy_id}}"}]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"users":[{"code":"DUPLICATE_DATA","details":{"api_name":"email","id":"738964000002058003"},"message":"Email already exists","status":"error"}]}