Add a competitor
Authorization
BearerAuth AuthorizationBearer <token>
Bearer API token for access
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
brandId*string
Length
1 <= lengthname*string
Length
1 <= lengthdomains?array<string>
aliases?array<string>
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/competitors" \ -H "Content-Type: application/json" \ -d '{ "brandId": "string", "name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "brandId": "string", "name": "string", "domains": [ "string" ], "aliases": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}