Primo API Docs

__METHOD= PUT . __PATH= /primo/v1/favorites .

Update Favorites Labels


This service is responsible for adding labels to existing records in the favorites list.

To identify the user properties, this request should contain a user JWT in its header (see User JWT Rest API).


Basic URL example for hosted customers:
<api-gateway-url>/primo/v1/favorites?apikey=<apikey>
the request payload will appear as follows: {records:[{recordId:abcd,labels:[articles]}}
The json request can contain more than one recordId per request

Note: This API is available only to Primo cloud customers since it depends on the User JWT API, which is available only to Primo Cloud customers for security considerations.

Resource URL

PUT /primo/v1/favorites

API Description

URL Parameters

None

Querystring Parameters

None

Body Parameters

None

Output

Possible Error Codes

CodeMessage