Product API returns Product as Active but Product is not visible on frontend

Hi there,

I’m using Shopify API "https://XYZ/admin/api/2023-04/products.json?limit=250&published_status=published" and it returns the product list in response. Most of the Product returns in this API are marked as Active and also showing as Published but on the frontend, (on our website) these products are not visible. On direct opening the URL of product, it returns 404 Page Not Found error.

Example of a API response of a product :

{
“product”: {
“created_at”: “2023-11-19T12:44:26+11:00”,
“handle”: “meditation-cushion-seating-block-set-stpink-yb-redele”,
“updated_at”: “2023-11-22T16:18:50+11:00”,
“published_at”: “2023-11-19T12:44:26+11:00”,
“template_suffix”: null,
“published_scope”: “web”,
“status”: “active”,
“admin_graphql_api_id”: “gid://shopify/Product/XYZ”,
“variants”: [
{
“id”: XYZ,
“product_id”: XYZZ,
“title”: “Default Title”,
“position”: 1,
“inventory_policy”: “deny”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”,
“option1”: “Default Title”,
“option2”: null,
“option3”: null,
“created_at”: “2023-11-19T12:44:26+11:00”,
“updated_at”: “2023-11-19T12:44:26+11:00”,
“taxable”: false,
“barcode”: “CVBN”,
“grams”: 12,
“image_id”: null,
“weight”: 1.5,
“weight_unit”: “kg”,
“inventory_item_id”: CVBN,
“inventory_quantity”: 41,
“old_inventory_quantity”: 41,
“requires_shipping”: true,
“admin_graphql_api_id”: “gid://shopify/ProductVariant/XYZS”
}
],
“options”: [
{
“id”: XYZS,
“product_id”: XYZS,
“name”: “Title”,
“position”: 1,
“values”: [
“Default Title”
]
}
]
}
}

Product URL : https://zanlanadesign.com.au/products/meditation-cushion-seating-block-set-stpink-yb-redele

Please help me out here.

Hi IamSantosh,

The product you linked is appearing for me on the front-end of the store:

Is it possible there’s some caching issue here - are you testing in incognito when opening the URL?

Thankyou so much Liam.

Actually, the product is available only in the Australian market place but I was trying to open the URL in the US. That’s why I was getting the 404 page not found error.

I saw the Australia pricing on the top right of your screen and when I open the URL with Australia Proxy, it opens.

Thanks once again.

Glad it’s working IamSantosh!!