Management API
Product
Create Product
1 min
{ "name" "creates a product if requesting manager has access permissions to it ", "method" "post", "url" "/api/v1/products/", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "p wqhymtfoxg1qakg pxb", "language" "json", "code" "{\n \\"active\\" true,\n \\"product name\\" \\"tmc4\\",\n \\"short code\\" \\"tmc4\\",\n \\"default license type\\" \\"perpetual\\",\n \\"subscription duration\\" \\"\\",\n \\"valid duration\\" \\"\\",\n \\"enable maintenance period\\" false,\n \\"maintenance duration\\" \\"\\",\n \\"max consumptions\\" 1,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"is floating\\" false,\n \\"is floating cloud\\" false,\n \\"floating users\\" 0,\n \\"floating timeout\\" 120,\n \\"max activations\\" 1,\n \\"allow trial\\" false,\n \\"trial days\\" 0,\n \\"authorization method\\" \\"license key\\",\n \\"prevent vm\\" false,\n \\"hardware id required\\" false,\n \\"is upgrade\\" false,\n \\"upgrade from\\" \[],\n \\"is node locked\\" true,\n \\"is user locked\\" false\n}", "customlabel" "" } ], "selectedlanguageid" "p wqhymtfoxg1qakg pxb" }, "results" { "languages" \[ { "id" "dxgg12wbl rlicowv8gba", "language" "200", "code" "{\n \\"id\\" 1717144102531927,\n \\"upgrade from\\" \[],\n \\"product features\\" \[],\n \\"custom fields\\" \[],\n \\"license templates\\" \[\n {\n \\"id\\" 974,\n \\"license product feature templates\\" \[],\n \\"license custom field templates\\" \[],\n \\"created at\\" \\"2024 05 31t08 28 22 755821z\\",\n \\"updated at\\" \\"2024 05 31t08 28 22 755854z\\",\n \\"name\\" \\"default license policy\\",\n \\"code\\" \\"dftlp\\",\n \\"is default\\" true,\n \\"default license type\\" \\"perpetual\\",\n \\"allow trial\\" false,\n \\"trial days\\" 0,\n \\"max activations\\" 1,\n \\"allow unlimited activations\\" false,\n \\"max license users\\" 1,\n \\"is floating\\" false,\n \\"is floating cloud\\" false,\n \\"floating users\\" 0,\n \\"floating timeout\\" 120,\n \\"enable maintenance period\\" false,\n \\"maintenance duration\\" \\"\\",\n \\"prevent vm\\" false,\n \\"valid duration\\" \\"\\",\n \\"allow grace period\\" false,\n \\"grace period\\" 0,\n \\"max consumptions\\" 1,\n \\"allow unlimited consumptions\\" false,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"max transfers\\" 0,\n \\"is air gapped\\" false,\n \\"can borrow\\" false,\n \\"max borrow time\\" 0,\n \\"is archived\\" false,\n \\"is hardware key auth\\" false,\n \\"metadata\\" {},\n \\"product\\" 1717144102531927\n }\n ],\n \\"installation files\\" \[],\n \\"created at\\" \\"2024 05 31t08 28 23z\\",\n \\"updated at\\" \\"2024 05 31t08 28 23z\\",\n \\"product name\\" \\"tmc4\\",\n \\"short code\\" \\"tmc4\\",\n \\"active\\" true,\n \\"valid duration\\" \\"\\",\n \\"allow trial\\" false,\n \\"trial days\\" 0,\n \\"max activations\\" 1,\n \\"hardware id required\\" false,\n \\"is upgrade\\" false,\n \\"subscription duration\\" \\"\\",\n \\"enable maintenance period\\" false,\n \\"maintenance duration\\" \\"\\",\n \\"is floating\\" false,\n \\"is floating cloud\\" false,\n \\"floating users\\" 0,\n \\"floating timeout\\" 120,\n \\"default license type\\" \\"perpetual\\",\n \\"is user locked\\" false,\n \\"is node locked\\" true,\n \\"max consumptions\\" 1,\n \\"authorization method\\" \\"license key\\",\n \\"prevent vm\\" false,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"is archived\\" false,\n \\"is bundle\\" false,\n \\"metadata\\" {},\n \\"company\\" 277\n}", "customlabel" "" }, { "id" "amowcp3aawh c4wbxlt9h", "language" "404", "code" "{\n \\"message\\" \\"ain't no cake like that \\"\n}", "customlabel" "" } ], "selectedlanguageid" "dxgg12wbl rlicowv8gba" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "product name", "kind" "required", "type" "string", "description" "", "" "product name" }, { "name" "short code", "kind" "required", "type" "string", "description" "only accepts alphanumeric characters, digits and dashes ", "" "only accepts alphanumeric characters, digits and dashes " }, { "name" "active", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "default license type", "kind" "optional", "type" "string", "description" "values can be perpetual, subscription, time limited, and consumption ", "" "values can be perpetual, subscription, time limited, and consumption " }, { "name" "subscription duration", "kind" "optional", "type" "string", "description" "", "" "subscription duration" }, { "name" "valid duration", "kind" "optional", "type" "string", "description" "", "" "valid duration" }, { "name" "enable maintenance period", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "maintenance duration", "kind" "optional", "type" "string", "description" "", "" "maintenance duration" }, { "name" "max consumptions", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "allow overages", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "max overages", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "reset consumption ", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "consumption period", "kind" "optional", "type" "string", "description" "", "" "consumption period" }, { "name" "is floating", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "is floating cloud", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "floating users", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "floating timeout", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "max activations", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "allow trial", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "trial days", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "authorization method", "kind" "optional", "type" "string", "description" "values can be license key, user ", "" "string" }, { "name" "prevent vm", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "hardware id required", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "is upgrade", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "upgrade from", "kind" "optional", "type" "string", "description" " list of product ids", "" " list of product ids" }, { "name" "is node locked", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "is user locked", "kind" "optional", "type" "boolean", "description" "", "" "boolean" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false, "autogeneratedanchorslug" "creates a product if requesting manager has access", "legacyhash" "9lpls0wjyuwlzlv orqwd" }
