Skip to main content
GET
/
v1
/
product-collections
/
{productCollectionId}
Get Product Collection
curl --request GET \
  --url https://{cluster}.voucherify.io/v1/product-collections/{productCollectionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
"id": "pc_Dj1qSH7bho4SVh7aSDKjU174",
"name": "Products in Poland",
"type": "AUTO_UPDATE",
"filter": {
"junction": "and",
"metadata.product_location": {
"conditions": {
"$in_location": [
"loc_RcYz537sV07e1t5aG5tIH9FD"
]
}
}
},
"created_at": "2022-07-14T16:12:26.377Z",
"object": "products_collection"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

Path Parameters

productCollectionId
string
required
Example:

Response

id
string
required
name
string
required
Example:
type
enum<string>
required
Available options:
STATIC,
AUTO_UPDATE
created_at
string<date-time>
required
Example:
object
enum<string>
default:products_collection
required
Available options:
products_collection
filter
object
products
Product Collections Item Products Item · object[]