Skip to main content
POST
/
api
/
shopify
/
collections
/
products
/shopify/collections/products
curl --request POST \
  --url https://api.anysite.io/api/shopify/collections/products \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "store_domain": "<string>",
  "collection": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@shopify_product",
    "alias": "<string>",
    "title": "<string>",
    "description": "<string>",
    "brand": "<string>",
    "product_type": "<string>",
    "tags": [],
    "image": "<string>",
    "images": [],
    "options": [],
    "variants": [],
    "published_at": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
store_domain
string
required

Shopify store domain

Minimum string length: 1
Examples:

"allbirds.com"

"kith.com"

collection
string
required

Collection handle or a collection URL

Minimum string length: 1
Examples:

"mens"

"womens"

count
integer
required

Max number of products to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@shopify_product
alias
string | null
title
string | null
description
string | null
brand
string | null
product_type
string | null
tags
string[]
image
string | null
images
string[]
options
ShopifyProductOption · object[]
variants
ShopifyProductVariant · object[]
published_at
string | null
created_at
string | null
updated_at
string | null