LogoLogo
Home
  • Documentation
  • Developers
  • The Venue Developer Documentation
  • Next.js SDK
    • React Components
      • VenueContent
      • VenueImage
    • reference
      • Index
      • functions
        • VenueContent
        • VenueImage
        • getEvent
        • getEvents
        • getLocalizedContent
        • getPage
        • getPages
        • getProduct
        • getProducts
        • getProfile
        • getProfileEvents
        • getProfiles
        • getSite
        • setConfig
      • interfaces
        • NodeHandlers
        • NodeProps
        • RenderNode
      • type-aliases
        • ContentStyles
        • Event
        • GetEventData
        • GetEventError
        • GetEventResponse
        • GetEventsData
        • GetEventsError
        • GetEventsResponse
        • GetPageData
        • GetPageError
        • GetPageResponse
        • GetPagesData
        • GetPagesError
        • GetPagesResponse
        • GetProductData
        • GetProductError
        • GetProductResponse
        • GetProductsData
        • GetProductsError
        • GetProductsResponse
        • GetProfileData
        • GetProfileError
        • GetProfileEventsData
        • GetProfileEventsError
        • GetProfileEventsResponse
        • GetProfileResponse
        • GetProfilesData
        • GetProfilesError
        • GetProfilesResponse
        • GetSiteData
        • GetSiteError
        • GetSiteResponse
        • LocalizedContent
        • Location
        • MediaItem
        • NodeHandler
        • Page
        • Product
        • ProductVariant
        • Profile
        • Site
        • SiteSettings
        • TicketOnEvent
        • publishState
        • recordType
  • TypeScript SDK
    • reference
      • Index
      • functions
        • getEvent
        • getEvents
        • getLocalizedContent
        • getPage
        • getPages
        • getProduct
        • getProducts
        • getProfile
        • getProfileEvents
        • getProfiles
        • getSite
        • setConfig
      • type-aliases
        • Event
        • GetEventData
        • GetEventError
        • GetEventResponse
        • GetEventsData
        • GetEventsError
        • GetEventsResponse
        • GetPageData
        • GetPageError
        • GetPageResponse
        • GetPagesData
        • GetPagesError
        • GetPagesResponse
        • GetProductData
        • GetProductError
        • GetProductResponse
        • GetProductsData
        • GetProductsError
        • GetProductsResponse
        • GetProfileData
        • GetProfileError
        • GetProfileEventsData
        • GetProfileEventsError
        • GetProfileEventsResponse
        • GetProfileResponse
        • GetProfilesData
        • GetProfilesError
        • GetProfilesResponse
        • GetSiteData
        • GetSiteError
        • GetSiteResponse
        • LocalizedContent
        • Location
        • MediaItem
        • Page
        • Product
        • ProductVariant
        • Profile
        • Site
        • SiteSettings
        • TicketOnEvent
        • publishState
        • recordType
  • REST API
    • Api
      • V2
        • Public
          • Events
          • Pages
          • Products
          • Site
          • Profiles
            • Events
Powered by GitBook
On this page
Export as PDF
  1. REST API
  2. Api
  3. V2
  4. Public

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
404
Product not found
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"
      }
    }
  ]
}
  • GET/api/v2/{siteKey}/public/products
  • GET/api/v2/{siteKey}/public/products/{slug}