Skip to content

Create Product

Request

Creates a new product, If the product already exists it returns the existing product

Security
bearer-key
Path
orgTokenstringrequired

org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).

Bodyapplication/jsonrequired
productNamestring(Product Name)required
Example:"Product A"
POST
/api/v2.0/orgs/{orgToken}/products
{ "productName": "Product A" }

Responses

OK

Bodyapplication/json
additionalDataobject(Provides insights on creating resources using supported endpoints.)
  • created: Indicates whether the requested project was successfully created or if it already exists. When “true”, this signifies the project was successfully created. When “false”, this indicates the project already exists
Example:
{ "created": "true" }
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(ProductDTO)
Response
{ "additionalData": { "created": "true" }, "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "Product A" } }