GET /store/{product_group}

Retrieve product group details and products

Returns detailed information about a specific product group and its associated products.

Parameters

NameTypeInDescription
product_group*
stringpathThe URL identifier of the product group to retrieve

Response

200
404
groupobject
idinteger
namestring
urlstring
cartstring
taglinestring
lowest_periodstring
monthlyquarterlysemiannuallyannuallybienniallytriennially
quarterlystring
semiannuallystring
annuallystring
bienniallystring
trienniallystring
qsetupfeestring
ssetupfeestring
asetupfeestring
bsetupfeestring
tsetupfeestring
created_atstring
updated_atstring
productsarray

Request

curl -X GET "https://api.royalehosting.net/store/{product_group}" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID"

Response

{
  "group": {
    "id": 0,
    "name": "string",
    "url": "string",
    "cart": "string",
    "tagline": "string",
    "lowest_period": "monthly",
    "quarterly": "string",
    "semiannually": "string",
    "annually": "string",
    "biennially": "string",
    "triennially": "string",
    "qsetupfee": "string",
    "ssetupfee": "string",
    "asetupfee": "string",
    "bsetupfee": "string",
    "tsetupfee": "string",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  },
  "products": [
    {
      "id": 0,
      "name": "string",
      "description": "string",
      "price": "string",
      "setupfee": "string",
      "featured": true,
      "order": 0,
      "cycle": "monthly",
      "instock": true,
      "field1": "string",
      "field2": "string",
      "field3": "string",
      "field4": "string",
      "field5": "string",
      "field6": "string",
      "field7": "string",
      "field8": "string"
    }
  ]
}