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.