# Enable plugin promotions

This function determines if plugin promotions show in cPanel.

Endpoint: GET /Plugins/can_show_promotions
Version: 11.137.9999.106
Security: BasicAuth

## Query parameters:

  - `plugin` (string, required)
    The plugin whose promotions to target.

Note:

The only valid value is 'koality', which targets Site Quality Monitoring.
    Example: "koality"

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "can_show_promotions"

  - `module` (string)
    The name of the module called.
    Example: "Plugins"

  - `result` (object)

  - `result.data` (object)
    An object that contains information about the plugin's promotions.

  - `result.data.can_show_promotions` (integer)
    Whether the plugin can show promotions.
* 1 — Can show promotions.
* 0 — Can not show promotions.
    Enum: 0, 1

  - `result.errors` (array,null)
    List of errors that the API generated.

  - `result.messages` (array,null)
    List of messages the API generated.

  - `result.metadata` (object)

  - `result.status` (integer)
    * 1 — Success.
* 0 — Failed. Check the errors field for more details.
    Enum: 0, 1

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running an API.


