Management API
...
Custom Fields
Update Product Custom Field
1 min
{ "name" "updates a product custom field, if requesting manager has access permissions to it ", "method" "patch", "url" "/api/v1/product custom fields/{id}/", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "pndrmltikawdfeosusp2p", "language" "json", "code" "{\n \\"name\\" \\"cf44\\",\n \\"default value\\" \\"31232\\"\n}", "customlabel" "" } ], "selectedlanguageid" "pndrmltikawdfeosusp2p" }, "results" { "languages" \[ { "id" "gexwewn psivkp5wxbfln", "language" "200", "code" "{\n \\"id\\" 68,\n \\"name\\" \\"cf44\\",\n \\"data type\\" null,\n \\"default value\\" \\"31232\\",\n \\"description\\" null,\n \\"product\\" 1584723961091260\n}", "customlabel" "" }, { "id" "jckgyqxsd47e9qq5wmsif", "language" "404", "code" "{\n \\"message\\" \\"ain't no cake like that \\"\n}", "customlabel" "" } ], "selectedlanguageid" "gexwewn psivkp5wxbfln" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "name", "kind" "required", "type" "string", "description" "id of the cake to get", "" "name" }, { "name" "default value", "kind" "required", "type" "string", "description" "", "" "required" }, { "name" "product", "kind" "optional", "type" "integer", "description" "", "" "optional" }, { "name" "data type", "kind" "optional", "type" "string", "description" "choices number, text, date/time", "" "choices number, text, date/time" }, { "name" "description", "kind" "optional", "type" "string", "description" "", "" "description" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false, "autogeneratedanchorslug" "updates a product custom field if requesting manag", "legacyhash" "nraxbpsahbadcvtwiyphi" }
