Management API
Customer
Update Customer
1 min
{ "name" "updates a customer, if requesting manager has access permissions to it ", "method" "patch", "url" " /api/v1/customers/{id}/", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "kzyhts8rla32b3idxdrtw", "language" "json", "code" "{\n \\"first name\\" \\"toni\\"\n}", "customlabel" "data examples" } ], "selectedlanguageid" "kzyhts8rla32b3idxdrtw" }, "results" { "languages" \[ { "id" "piknqoziokqysbllpxlqp", "language" "200", "code" "{\n \\"id\\" 4165,\n \\"total orders\\" 0,\n \\"total licenses\\" 0,\n \\"labels\\" \[],\n \\"customer account\\" null,\n \\"email\\" \\"tc3\@tc com\\",\n \\"first name\\" \\"toni\\",\n \\"last name\\" \\"potter\\",\n \\"company name\\" \\"hogwarts\\",\n \\"phone\\" \\"+385913111111\\",\n \\"reference\\" \\"ref123\\",\n \\"address\\" \\"street 1\\",\n \\"postcode\\" \\"10000\\",\n \\"city\\" \\"new york\\",\n \\"country\\" \\"us\\",\n \\"state\\" \\"ny\\",\n \\"clabels all\\" null,\n \\"cognito user pool id\\" \\"\\",\n \\"metadata\\" {},\n \\"company\\" 277,\n \\"license user\\" null,\n \\"clabels\\" \[]\n}", "customlabel" "" } ], "selectedlanguageid" "piknqoziokqysbllpxlqp" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "email", "kind" "optional", "type" "string", "description" "", "" "email" }, { "name" "first name", "kind" "optional", "type" "string", "description" "", "" "first name" }, { "name" "last name", "kind" "optional", "type" "string", "description" "", "" "last name" }, { "name" "company name", "kind" "optional", "type" "string", "description" "", "" "company name" }, { "name" "phone", "kind" "optional", "type" "string", "description" "", "" "phone" }, { "name" "reference", "kind" "optional", "type" "string", "description" "", "" "reference" }, { "name" "address", "kind" "optional", "type" "string", "description" "", "" "address" }, { "name" "postcode", "kind" "optional", "type" "string", "description" "", "" "postcode" }, { "name" "city", "kind" "optional", "type" "string", "description" "", "" "city" }, { "name" "country", "kind" "optional", "type" "string", "description" "", "" "country" }, { "name" "state", "kind" "optional", "type" "string", "description" "", "" "state" }, { "name" "customer account", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "metadata", "kind" "optional", "type" "object", "description" "json object", "" "json object" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false }
