POST api/pro/product-addons
Creates a new pro ProductAddon.
Request Information
URI Parameters
None.
Body Parameters
The create ProductAddon request.
CreateProductAddonRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
Returns the new ProductAddon id.
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"