Getting Product Configurations

Signature

Request:

  • URL: /30/product-configurations
  • Method: GET
  • Body: no
  • Optional query string parameters:
    • client-id (integer). The ID of a customer of whose products you are going to search product configurations. If omitted, product configurations of the default customer's products will be searched. The default customer can be a customer associated with the Business Partner API account.
    • enabled (boolean). Indicates whether to search only for active (true) or inactive (false) product configurations. If omitted, both active and inactive configurations will be considered during the search.

Response:

  • Success status code: 200
  • Body: Array of Product Configuration Structures.
Example

Request:

GET /30/product-configurations?client-id=12345 HTTP/1.1

Response:

HTTP/1.1 200 OK
  
[
  {
    "id": 123,
    "name": "Default Plesk Configuration",
    "enabled": true
  },
  {
    "id": 124,
    "name": "Test Configuration",
    "enabled": false
  }
]