Skip to main content

Views API for Specific API Key

POST 

/pim/manage/views/:apikey

This API provides functionality for managing and assigning Views to specific API Keys. With these endpoints, you can assign, edit, set a default View, or remove a previously assigned View from an API Key.

To utilize this API, send a POST request with a JSON body. Set the action key in the JSON body to one of the following values:

  • listViews: Get a list of all Views assigned to an ApiKey
  • addView: Assigning a View to an ApiKey.

The name of the View passed to the API must exist in the PIM's view Dictionary (to create a Vew in the Dictionary, see the "PIM View Dictionary" documentation section)

  • editView: Allows you to edit the data that was used for assigning the view.
  • setDefault: Change the default View in use
  • deleteView: Removed a previously assigned View from an ApiKey.

Use Example Value and Schema for Json requests

Request

Responses

success