curl --request POST \
--url https://api.example.com/{proxy_path_prefix}/product_availability_checks \
--header 'Content-Type: application/json' \
--data '
{
"product_ids": [
123,
456
],
"rental_start": "2025-02-25T09:00:00Z",
"rental_end": "2025-02-28T17:00:00Z"
}
'{
"products": [
{
"shopify_id": 123,
"title": "Product 1",
"available_variants": [
{
"shopify_id": 1001,
"title": "Variant 1"
},
{
"shopify_id": 1002,
"title": "Variant 2"
}
]
},
{
"shopify_id": 456,
"title": "Product 2",
"available_variants": []
}
]
}Fetch the availability of variants for a given set of products.
curl --request POST \
--url https://api.example.com/{proxy_path_prefix}/product_availability_checks \
--header 'Content-Type: application/json' \
--data '
{
"product_ids": [
123,
456
],
"rental_start": "2025-02-25T09:00:00Z",
"rental_end": "2025-02-28T17:00:00Z"
}
'{
"products": [
{
"shopify_id": 123,
"title": "Product 1",
"available_variants": [
{
"shopify_id": 1001,
"title": "Variant 1"
},
{
"shopify_id": 1002,
"title": "Variant 2"
}
]
},
{
"shopify_id": 456,
"title": "Product 2",
"available_variants": []
}
]
}The Shopify proxy path prefix configured for the app (e.g., 'customer_portal')
Successful response with product availability
Show child attributes
Was this page helpful?