POST api/pro/product-addons

Creates a new pro ProductAddon.

Request Information

URI Parameters

None.

Body Parameters

The create ProductAddon request.

CreateProductAddonRequest
NameDescriptionTypeAdditional information
Name

string

Required

IsFree

boolean

Required

Libraries

Collection of string

None.

Archived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "IsFree": true,
  "Libraries": [
    "sample string 1",
    "sample string 2"
  ],
  "Archived": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the new ProductAddon id.

string

Response Formats

application/json, text/json

Sample:
"sample string 1"