Get all the needed information for product page of the shop

GET /v2/public/shops/{shopId}/listings/{listingPath}

Path parameters

Responses

GET /v2/public/shops/{shopId}/listings/{listingPath}
curl \
 -X GET https://dev.sellpass.io/v2/public/shops/{shopId}/listings/{listingPath} \
 -H "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "listing": {
      "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",
        "description": "string",
        "shortDescription": "string",
        "thumbnailCfImageId": "string",
        "statistics": {
          "rating": 42.0,
          "totalFeedbacks": 42,
          "totalProductsSold": 42,
          "customersCount": 42
        },
        "variants": [
          {
            "id": 42,
            "title": "string",
            "shortDescription": "string",
            "description": "string",
            "priceDetails": {
              "amount": 42.0,
              "currency": "string"
            },
            "productType": 0,
            "asDynamic": {
              "stock": 42,
              "minAmount": 42,
              "maxAmount": 42
            },
            "asSerials": {
              "stock": 42,
              "minAmount": 42,
              "maxAmount": 42
            },
            "asService": {
              "stock": 42,
              "minAmount": 42,
              "maxAmount": 42
            },
            "gateways": [
              {
                "gateway": 0,
                "rules": {
                  "blockVpn": true
                },
                "price": {
                  "amount": 42.0,
                  "currency": "string"
                }
              }
            ],
            "customFields": [
              {
                "id": 42,
                "type": 1,
                "name": "string",
                "required": true,
                "valueString": "string",
                "placeholder": "string",
                "regex": "string",
                "valueInt": 42,
                "valueBool": true
              }
            ],
            "warranty": {
              "id": 42,
              "text": "string",
              "durationSeconds": 42
            },
            "discordSocialConnectSettings": {
              "enabled": true,
              "required": true
            }
          }
        ],
        "groupId": 42,
        "onHold": true,
        "unlisted": true,
        "private": true
      },
      "group": {
        "id": 42,
        "title": "string",
        "description": "string",
        "cfImageId": "string",
        "listings": [
          {}
        ],
        "type": 0
      }
    },
    "feedbacks": [
      {
        "rating": 42,
        "comment": "string",
        "sellerReply": "string",
        "createdAt": "2023-05-04T09:42:00+00:00",
        "updatedAt": "2023-05-04T09:42:00+00:00"
      }
    ],
    "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"
        }
      ]
    }
  },
  "message": "string",
  "errors": [
    "string"
  ],
  "log": "string"
}
Response examples (200)
{
  "data": {
    "listing": {
      "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",
        "description": "string",
        "shortDescription": "string",
        "thumbnailCfImageId": "string",
        "statistics": {
          "rating": 42.0,
          "totalFeedbacks": 42,
          "totalProductsSold": 42,
          "customersCount": 42
        },
        "variants": [
          {
            "id": 42,
            "title": "string",
            "shortDescription": "string",
            "description": "string",
            "priceDetails": {
              "amount": 42.0,
              "currency": "string"
            },
            "productType": 0,
            "asDynamic": {
              "stock": 42,
              "minAmount": 42,
              "maxAmount": 42
            },
            "asSerials": {
              "stock": 42,
              "minAmount": 42,
              "maxAmount": 42
            },
            "asService": {
              "stock": 42,
              "minAmount": 42,
              "maxAmount": 42
            },
            "gateways": [
              {
                "gateway": 0,
                "rules": {
                  "blockVpn": true
                },
                "price": {
                  "amount": 42.0,
                  "currency": "string"
                }
              }
            ],
            "customFields": [
              {
                "id": 42,
                "type": 1,
                "name": "string",
                "required": true,
                "valueString": "string",
                "placeholder": "string",
                "regex": "string",
                "valueInt": 42,
                "valueBool": true
              }
            ],
            "warranty": {
              "id": 42,
              "text": "string",
              "durationSeconds": 42
            },
            "discordSocialConnectSettings": {
              "enabled": true,
              "required": true
            }
          }
        ],
        "groupId": 42,
        "onHold": true,
        "unlisted": true,
        "private": true
      },
      "group": {
        "id": 42,
        "title": "string",
        "description": "string",
        "cfImageId": "string",
        "listings": [
          {}
        ],
        "type": 0
      }
    },
    "feedbacks": [
      {
        "rating": 42,
        "comment": "string",
        "sellerReply": "string",
        "createdAt": "2024-05-04T09:42:00+00:00",
        "updatedAt": "2024-05-04T09:42:00+00:00"
      }
    ],
    "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",
        "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",
        "primaryColor": "string",
        "primaryColorAccent": null
      },
      "socialLinks": [
        {
          "platform": 0,
          "link": "string"
        }
      ]
    }
  },
  "message": "string",
  "errors": [
    "string"
  ],
  "log": "string"
}