GET /store/products

Retrieve all products.

Request

  • Base URL
    https://developers.whmcs.com/api/v2
  • Auth
    none declared

Query parameters

pageinteger
Example:1

Page number

page_sizeinteger
Example:10

Number of items per page. The maximum allowed value is 500. The default value is 50.

Response

A list of all products.

Example response

{
  "data": [
    {
      "id": 123,
      "name": "Shared web hosting",
      "tagline": "Start with shared web hosting today!",
      "allow_multiple_quantities": {
        "type": {
          "code": 1,
          "display": "No"
        }
      },
      "order": 123,
      "group": {
        "id": 123,
        "name": "Shared web hosting",
        "icon": "fa-solid",
        "headline": "Headline",
        "tagline": "Tagline",
        "order": 123,
        "features": [
          {
            "id": 123,
            "name": "Shared web hosting",
            "order": 123
          }
        ]
      },
      "type": {
        "name": "hostingaccount",
        "display_name": "Hosting Account"
      },
      "pricing": {
        "onetime": {
          "setup": {
            "value": "19.99",
            "code": "USD",
            "display_value": "$19.99 USD",
            "prefix": "$",
            "suffix": " USD"
          },
          "amount": {
            "value": "19.99",
            "code": "USD",
            "display_value": "$19.99 USD",
            "prefix": "$",
            "suffix": " USD"
          }
        },
        "recurring": [
          {
            "cycle": "monthly",
            "setup": {
              "value": "19.99",
              "code": "USD",
              "display_value": "$19.99 USD",
              "prefix": "$",
              "suffix": " USD"
            },
            "amount": {
              "value": "19.99",
              "code": "USD",
              "display_value": "$19.99 USD",
              "prefix": "$",
              "suffix": " USD"
            }
          }
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.