Storefront — Community & Engagement
Blog posts, product reviews, contact messages, newsletter sign-ups, and back-in-stock alerts.
publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
limit?number24cursor?stringq?stringcategoryId?stringcategory?stringOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/storefront/v1/blog'{ "items": [ { "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "tags": [ "string" ], "id": "string", "featuredImage": { "id": "string", "status": "pending", "url": "string", "contentType": "string", "byteSize": 0, "width": 0, "height": 0, "alt": "string", "createdAt": "2019-08-24T14:15:22Z" }, "categories": [ { "name": "string", "handle": "string", "id": "string" } ], "seo": { "title": "string", "description": "string", "image": { "id": "string", "status": "pending", "url": "string", "contentType": "string", "byteSize": 0, "width": 0, "height": 0, "alt": "string", "createdAt": "2019-08-24T14:15:22Z" } }, "publishedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
handle*stringOK
application/json- response
handle*stringtitle*stringbody*stringexcerpt*stringauthorName*stringtags*array<string>id*stringfeaturedImage*|nullcategories*array<>seo*publishedAt*|nullupdatedAt*stringdate-timecurl -X GET 'https://api.devhelp.pk/storefront/v1/blog/string'{ "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "tags": [ "string" ], "id": "string", "featuredImage": { "id": "string", "status": "pending", "url": "string", "contentType": "string", "byteSize": 0, "width": 0, "height": 0, "alt": "string", "createdAt": "2019-08-24T14:15:22Z" }, "categories": [ { "name": "string", "handle": "string", "id": "string" } ], "seo": { "title": "string", "description": "string", "image": { "id": "string", "status": "pending", "url": "string", "contentType": "string", "byteSize": 0, "width": 0, "height": 0, "alt": "string", "createdAt": "2019-08-24T14:15:22Z" } }, "publishedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
limit?number24cursor?stringOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/storefront/v1/blog-categories'{ "items": [ { "name": "string", "handle": "string", "id": "string" } ], "nextCursor": "string"}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
limit?number24cursor?stringproductId*stringrating?numberwithPhotos?booleansort?string"recent""highest""lowest""photos"OK
application/json- response
items*array<>nextCursor*string|nullcount*numberaverage*number|nullsummary*curl -X GET 'https://api.devhelp.pk/storefront/v1/reviews?productId=string'{ "items": [ { "displayName": "string", "rating": 0, "title": "string", "body": "string", "id": "string", "productId": "string", "verifiedPurchase": true, "reply": "string", "variantTitle": "string", "fit": "small", "city": "string", "photos": [ { "id": "string", "url": "string", "width": 0, "height": 0 } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string", "count": 0, "average": 0, "summary": { "count": 0, "average": 0, "histogram": [ 0 ], "fit": { "small": 0, "true": 0, "large": 0 }, "withPhotos": 0 }}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
displayName*stringrating*numbertitle*stringbody*stringorderId*stringorderLineId*stringtoken*stringfit?|nullshowCity?booleanphotoIds?array<string>OK
application/json- response
id*stringstatus*string"pending""approved"curl -X POST 'https://api.devhelp.pk/storefront/v1/reviews' \ -H 'Content-Type: application/json' \ -d '{ "displayName": "string", "rating": 0, "title": "string", "body": "string", "orderId": "string", "orderLineId": "string", "token": "string"}'{ "id": "string", "status": "pending"}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
orderId*stringtoken*stringOK
application/json- response
orderId*stringorderNumber*numbercity*string|nulldisplayName*stringoptedOut*booleancanPostpone*booleanlines*array<>curl -X POST 'https://api.devhelp.pk/storefront/v1/reviews/order' \ -H 'Content-Type: application/json' \ -d '{ "orderId": "string", "token": "string"}'{ "orderId": "string", "orderNumber": 0, "city": "string", "displayName": "string", "optedOut": true, "canPostpone": true, "lines": [ { "id": "string", "productTitle": "string", "variantTitle": "string", "imageUrl": "string", "reviewable": true, "askFit": true, "photos": [ { "id": "string", "url": "string", "width": 0, "height": 0 } ], "review": { "displayName": "string", "rating": 0, "title": "string", "body": "string", "status": "pending", "fit": "small", "showCity": true } } ]}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
orderId*stringtoken*stringOK
application/json- response
updated*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/reviews/opt-out' \ -H 'Content-Type: application/json' \ -d '{ "orderId": "string", "token": "string"}'{ "updated": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
orderId*stringtoken*stringOK
application/json- response
updated*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/reviews/postpone' \ -H 'Content-Type: application/json' \ -d '{ "orderId": "string", "token": "string"}'{ "updated": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
orderId*stringtoken*stringorderLineId*stringcontentType*string"image/jpeg""image/png""image/webp"byteSize*numberOK
application/json- response
photoId*stringuploadUrl*stringcontentType*string"image/jpeg""image/png""image/webp"curl -X POST 'https://api.devhelp.pk/storefront/v1/reviews/photos' \ -H 'Content-Type: application/json' \ -d '{ "orderId": "string", "token": "string", "orderLineId": "string", "contentType": "image/jpeg", "byteSize": 0}'{ "photoId": "string", "uploadUrl": "string", "contentType": "image/jpeg"}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
orderId*stringtoken*stringphotoId*stringOK
application/json- response
id*stringurl*stringwidth*numberheight*numbercurl -X POST 'https://api.devhelp.pk/storefront/v1/reviews/photos/confirm' \ -H 'Content-Type: application/json' \ -d '{ "orderId": "string", "token": "string", "photoId": "string"}'{ "id": "string", "url": "string", "width": 0, "height": 0}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
orderId*stringtoken*stringphotoId*stringOK
application/json- response
updated*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/reviews/photos/remove' \ -H 'Content-Type: application/json' \ -d '{ "orderId": "string", "token": "string", "photoId": "string"}'{ "updated": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
name*stringemail*stringphone*stringsubject*stringbody*stringconsent*unknownOK
application/json- response
received*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/messages' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "email": "string", "phone": "string", "subject": "string", "body": "string", "consent": true}'{ "received": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
email*stringform?string"newsletter""popup"website?stringOK
application/json- response
subscribed*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/engagement/newsletter' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'{ "subscribed": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
productId*stringvariantId*stringemail*stringwebsite?stringOK
application/json- response
subscribed*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/engagement/back-in-stock' \ -H 'Content-Type: application/json' \ -d '{ "productId": "string", "variantId": "string", "email": "string"}'{ "subscribed": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
id*stringtoken*stringOK
application/json- response
unsubscribed*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/engagement/unsubscribe' \ -H 'Content-Type: application/json' \ -d '{ "id": "string", "token": "string"}'{ "unsubscribed": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
token*stringOK
application/json- response
unsubscribed*unknowncurl -X POST 'https://api.devhelp.pk/storefront/v1/engagement/email-unsubscribe' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'{ "unsubscribed": true}publishableKeyx-api-key<token>Storefront publishable API key (dh_pk_live_…). Safe for browser requests from allowed origins. Also accepted as Authorization: Bearer.
application/json- body
token*stringcartId?stringcartToken?stringOK
application/json- response
to*stringcurl -X POST 'https://api.devhelp.pk/storefront/v1/engagement/click' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'{ "to": "string"}