Competitors
Create a competitor
post/products/{product_id}/competitors
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
product_idstring required
ProductId identifier
Request body
Example request
{
"competitor": {
"name": "Plan-a-lot"
}
}Response
Successful operation
Example response
{
"competitor": {
"id": "6776881149490638099",
"name": "Plan-a-lot",
"created_at": "2019-01-01T00:00:00.000Z",
"color": 29647,
"reference_num": "PRJ1-C-1",
"subtitle": null,
"updated_at": "2019-01-01T00:00:00.000Z",
"url": "https://company.aha.io/competitors/PRJ1-C-1",
"resource": "https://company.aha.io/competitors/PRJ1-C-1",
"custom_fields": [],
"comments_count": 0
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.