Get Product By Permalink
GET
/products/:permalink
https://api.storefront.wdb.skooldio.dev/products/:permalink
Require Authentication: No
Request Parameters
Path
permalink
type: string required
The permalink of the product.
Example Request
curl --request GET \ --url https://api.storefront.wdb.skooldio.dev/products/product-1
Responses
Results
{ "id": "cwj03UjHZHXkD8Toux0F", "name": "Shirt", "skuCode": "C01001", "permalink": "generic-plain-shirt", "price": 100, "promotionalPrice": 80, "categories": [ "male", "shirts" ], "collection": "spring2024", "ratings": 3.8, "imageUrls": [ "https://firebasestorage.googleapis.com/v0/b/wdb-storefront-project-api.appspot.com/o/products%2Fcwj03UjHZHXkD8Toux0F%2F_images%2FkDhdeZ4V4FRtK89YIveP-DALL%C2%B7E%202024-02-28%2010.36.49%20-%20A%20generic%20shirt%20on%20a%20white%20background%2C%20focusing%20on%20a%20clean%20and%20simple%20design%20to%20emphasize%20the%20shirt's%20shape%20and%20details.%20The%20shirt%20should%20appear%20neatl.webp?alt=media&token=b1feee9d-f763-4291-acec-2f2bb6473e78" ], "variants": [ { "skuCode": "C010013", "color": "Blue", "size": "L", "remains": 100, "colorCode": "#6cd4f7" }, { "skuCode": "C010011", "color": "Blue", "size": "S", "remains": 100, "colorCode": "#6cd4f7" }, { "skuCode": "C010012", "color": "Blue", "size": "M", "remains": 100, "colorCode": "#6cd4f7" } ]}
Results
{ "statusCode": 404, "message": "no product found with the given permalink"}