Path parameters

Responses

GET /v2/public/shops/{shopId}/listings
curl \
 -X GET https://dev.sellpass.io/v2/public/shops/{shopId}/listings \
 -H "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "mainDetails": {
      "id": 42,
      "name": "string",
      "discordOauthUrl": "string",
      "shopPopUp": "string",
      "shopTerms": "string",
      "onHold": true,
      "enableFaq": true,
      "passwordProtected": true,
      "balanceEnabled": true,
      "subscriptionName": "string",
      "seoDetails": {
        "id": 42,
        "favIconUrl": "string",
        "metaTitle": "string",
        "metaDescription": "string",
        "metaImageCfId": "string"
      },
      "defaultDiscordSettings": {
        "enabled": true,
        "required": true
      },
      "design": {
        "cfImageId": "string",
        "title": "string",
        "description": "string",
        "buttonText": "string",
        "disableButton": true,
        "disableTitle": true,
        "disableDescription": true,
        "backgroundCfImageId": "string",
        "backgroundColor": "string",
        "primaryColor": "string",
        "primaryColorAccent": "string",
        "secondaryColor": "string",
        "primaryTextColor": "string",
        "secondaryTextColor": "string",
        "disableShadows": true,
        "disableSnow": true,
        "disableSupport": true,
        "isMainPageVisible": true,
        "fontLink": "string",
        "darkMode": true,
        "disableBusinessName": true,
        "disableSearchBar": true,
        "centerProductTitle": true,
        "disableBusinessLogo": true,
        "disableReviews": true,
        "disableProductsSold": true,
        "hideOutOfStockProducts": true,
        "hideProductStock": true,
        "googleAnalyticsKey": "string",
        "crispChatKey": "string"
      },
      "socialLinks": [
        {
          "platform": 0,
          "link": "string"
        }
      ]
    },
    "listings": [
      {
        "id": 42,
        "path": "string",
        "searchWordsMeta": "string",
        "position": 42,
        "minPriceDetails": {
          "amount": 42.0,
          "currency": "string"
        },
        "seo": {
          "metaTitle": "string",
          "metaDescription": "string",
          "metaCfImageId": "string"
        },
        "visibility": 0,
        "type": 0,
        "product": {
          "id": 42,
          "title": "string",
          "shortDescription": "string",
          "thumbnailCfImageId": "string",
          "statistics": {
            "rating": 42.0,
            "totalFeedbacks": 42,
            "totalProductsSold": 42,
            "customersCount": 42
          },
          "groupId": 42,
          "isInstantDelivery": true,
          "isInStock": true,
          "onHold": true,
          "unlisted": true,
          "private": true
        },
        "group": {
          "id": 42,
          "title": "string",
          "description": "string",
          "cfImageId": "string",
          "listings": [
            {}
          ],
          "type": 0
        }
      }
    ],
    "categories": [
      {
        "id": 42,
        "name": "string",
        "listingIds": [
          42
        ]
      }
    ]
  },
  "message": "string",
  "errors": [
    "string"
  ],
  "log": "string"
}
Response examples (200)
{
  "data": {
    "mainDetails": {
      "id": 42,
      "name": "string",
      "onHold": true,
      "enableFaq": true,
      "passwordProtected": true,
      "balanceEnabled": true,
      "subscriptionName": "string",
      "seoDetails": {
        "id": 42,
        "favIconUrl": "string",
        "metaTitle": "string",
        "metaDescription": "string",
        "metaImageCfId": "string"
      },
      "defaultDiscordSettings": {
        "enabled": true,
        "required": true
      },
      "design": {
        "cfImageId": "string",
        "title": "string",
        "description": "string",
        "buttonText": "string",
        "disableButton": true,
        "disableTitle": true,
        "disableDescription": true,
        "backgroundCfImageId": "string",
        "backgroundColor": "string",
        "primaryColor": "string",
        "primaryColorAccent": "string",
        "secondaryColor": "string",
        "primaryTextColor": "string",
        "secondaryTextColor": "string",
        "disableShadows": true,
        "disableSnow": true,
        "disableSupport": true,
        "isMainPageVisible": true,
        "fontLink": "string",
        "darkMode": true,
        "disableBusinessName": true,
        "disableSearchBar": true,
        "centerProductTitle": true,
        "disableBusinessLogo": true,
        "disableReviews": true,
        "disableProductsSold": true,
        "hideOutOfStockProducts": true,
        "hideProductStock": true,
        "googleAnalyticsKey": "string",
        "crispChatKey": "string"
      },
      "discordOauthUrl": "string",
      "shopPopUp": "string",
      "shopTerms": "string",
      "socialLinks": [
        {
          "platform": 0,
          "link": "string"
        }
      ]
    },
    "listings": [
      {
        "id": 42,
        "path": "string",
        "searchWordsMeta": "string",
        "position": 42,
        "minPriceDetails": {
          "amount": 42.0,
          "currency": "string"
        },
        "seo": {
          "metaTitle": "string",
          "metaDescription": "string",
          "metaCfImageId": "string"
        },
        "visibility": 0,
        "type": 0,
        "product": {
          "id": 42,
          "title": "string",
          "shortDescription": "string",
          "thumbnailCfImageId": "string",
          "statistics": {
            "rating": 42.0,
            "totalFeedbacks": 42,
            "totalProductsSold": 42,
            "customersCount": 42
          },
          "groupId": 42,
          "isInstantDelivery": true,
          "isInStock": true,
          "onHold": true,
          "unlisted": true,
          "private": true
        },
        "group": {
          "id": 42,
          "title": "string",
          "description": "string",
          "cfImageId": "string",
          "listings": [
            {}
          ],
          "type": 0
        }
      }
    ],
    "categories": [
      {
        "id": 42,
        "name": "string",
        "listingIds": [
          42
        ]
      }
    ]
  },
  "errors": [
    "string"
  ],
  "message": "string",
  "log": "string"
}