Appearance
Products
Products are what you will be granting access to when issuing a license.
Get all products
Endpoint: GET https://api.verustrust-licensing.com/v1/products
Parameters(Query)
typescript
pageSize?: integertypescript
pageNumber?: integertypescript
search: {
}typescript
sort_by?: string[]Responses
- 200 Success
application/json
typescript
{
data: {
id: string
name: string
deactivated: boolean
}[]
pagination: {
itemCount: integer
totalPages: integer
currentPage: integer
nextPage?: integer
previousPage?: integer
}
}Create a product
Endpoint: POST https://api.verustrust-licensing.com/v1/products
Product name has to be unique.
RequestBody
- application/json
typescript
{
name: string
}Responses
- 201 Returns created product.
application/json
typescript
{
id: string
name: string
deactivated: boolean
}Get a product
Endpoint: GET https://api.verustrust-licensing.com/v1/products/product/{id}
Responses
- 200 Success
application/json
typescript
{
id: string
name: string
deactivated: boolean
}Update a product
Endpoint: PUT https://api.verustrust-licensing.com/v1/products/product/{id}
RequestBody
- application/json
typescript
{
name?: string
deactivated?: boolean
}Responses
- 204 Product was updated successfully