Products

get
Authorizations
Path parameters
siteKeystringRequired
Query parameters
limitnumber | nullableOptional
pagenumber | nullableOptional
orderBystringOptional
dirstring · enumOptionalPossible values:
Responses
200
Retrieve a list of Products
application/json
get
GET /api/v2/{siteKey}/public/products HTTP/1.1
Host: app.venuecms.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Retrieve a list of Products

{
  "records": [
    {
      "siteId": "text",
      "slug": "text",
      "order": 1,
      "featured": true,
      "featuredExpiration": "text",
      "author": "text",
      "image": {
        "siteId": "text",
        "uploaded": true,
        "inline": true,
        "url": "text",
        "mimeType": "text",
        "size": 1,
        "metadata": {},
        "title": "text",
        "caption": "text",
        "credit": "text",
        "altText": "text"
      },
      "localizedContent": [
        {
          "siteId": "text",
          "locale": "text",
          "title": "text",
          "content": "text",
          "shortContent": "text",
          "extraContent": "text",
          "excerpt": "text",
          "metaTitle": "text",
          "metaDescription": "text",
          "keywords": "text",
          "contentJSON": {}
        }
      ],
      "artists": [
        {
          "profile": {
            "siteId": "text",
            "slug": "text",
            "image": {
              "siteId": "text",
              "uploaded": true,
              "inline": true,
              "url": "text",
              "mimeType": "text",
              "size": 1,
              "metadata": {},
              "title": "text",
              "caption": "text",
              "credit": "text",
              "altText": "text"
            },
            "localizedContent": [
              {
                "siteId": "text",
                "locale": "text",
                "title": "text",
                "content": "text",
                "shortContent": "text",
                "extraContent": "text",
                "excerpt": "text",
                "metaTitle": "text",
                "metaDescription": "text",
                "keywords": "text",
                "contentJSON": {}
              }
            ]
          }
        }
      ],
      "variants": [
        {
          "id": "text",
          "siteId": "text",
          "order": 1,
          "price": 1,
          "currency": "text",
          "quantity": 1,
          "externalLink": "text",
          "catalogID": "text",
          "publicationDate": "text",
          "productTypeId": "text",
          "productId": "text",
          "image": {
            "siteId": "text",
            "uploaded": true,
            "inline": true,
            "url": "text",
            "mimeType": "text",
            "size": 1,
            "metadata": {},
            "title": "text",
            "caption": "text",
            "credit": "text",
            "altText": "text"
          },
          "productType": {
            "id": "text",
            "type": "text"
          }
        }
      ]
    }
  ],
  "count": 1
}
get
Authorizations
Path parameters
siteKeystringRequired
slugstringRequired
Responses
200
Retrieve a Product
application/json
get
GET /api/v2/{siteKey}/public/products/{slug} HTTP/1.1
Host: app.venuecms.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "siteId": "text",
  "slug": "text",
  "order": 1,
  "featured": true,
  "featuredExpiration": "text",
  "author": "text",
  "image": {
    "siteId": "text",
    "uploaded": true,
    "inline": true,
    "url": "text",
    "mimeType": "text",
    "size": 1,
    "metadata": {},
    "title": "text",
    "caption": "text",
    "credit": "text",
    "altText": "text"
  },
  "localizedContent": [
    {
      "siteId": "text",
      "locale": "text",
      "title": "text",
      "content": "text",
      "shortContent": "text",
      "extraContent": "text",
      "excerpt": "text",
      "metaTitle": "text",
      "metaDescription": "text",
      "keywords": "text",
      "contentJSON": {}
    }
  ],
  "artists": [
    {
      "profile": {
        "siteId": "text",
        "slug": "text",
        "image": {
          "siteId": "text",
          "uploaded": true,
          "inline": true,
          "url": "text",
          "mimeType": "text",
          "size": 1,
          "metadata": {},
          "title": "text",
          "caption": "text",
          "credit": "text",
          "altText": "text"
        },
        "localizedContent": [
          {
            "siteId": "text",
            "locale": "text",
            "title": "text",
            "content": "text",
            "shortContent": "text",
            "extraContent": "text",
            "excerpt": "text",
            "metaTitle": "text",
            "metaDescription": "text",
            "keywords": "text",
            "contentJSON": {}
          }
        ]
      }
    }
  ],
  "variants": [
    {
      "id": "text",
      "siteId": "text",
      "order": 1,
      "price": 1,
      "currency": "text",
      "quantity": 1,
      "externalLink": "text",
      "catalogID": "text",
      "publicationDate": "text",
      "productTypeId": "text",
      "productId": "text",
      "image": {
        "siteId": "text",
        "uploaded": true,
        "inline": true,
        "url": "text",
        "mimeType": "text",
        "size": 1,
        "metadata": {},
        "title": "text",
        "caption": "text",
        "credit": "text",
        "altText": "text"
      },
      "productType": {
        "id": "text",
        "type": "text"
      }
    }
  ]
}