Products API

Create a product line

POST /api/v1/products

Parameters
NameDescription
name

Name of the product

reference_prefix

Give the product an abbreviation. It will be used as a prefix on all features for this product.

description

Description of the product — may include HTML formatting.

parent_id

Numeric ID or prefix of product line to be parent of the new product. The product line must already exist.

workspace_type

Type of workspace. (e.g. "product_workspace", "it_workspace")

product_line

true

product_line_type

Required if creating a product line

Example request

POST /api/v1/products

Example CURL command

curl "https://company.aha.io/api/v1/products" -d '{"product":{"name":"New Product Line","description":"An amazing new product line","prefix":"NEWPRODUCT","product_line":true,"product_line_type":"a new product line type"}}' -X POST \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body