Queek API docs
Endpoint reference

Promotions

GET
/store/promotions

Active promotions (sales, bundles) with their labels and dates. Use promotions/{promotion}/products for the items on offer.

AuthorizationBearer <token>

Use a Sanctum bearer token.

In: header

Query Parameters

keyword?|
Lengthlength <= 100
sort?|

Value in

  • "priority"
  • "ending_soon"
  • "newest"
  • null
per_page?|
Range1 <= value <= 50

Header Parameters

X-Client-Key*string

Your store API key (Dashboard → Settings → API keys). pk_live_… public keys are for browser code and only work from an origin on the key's allowlist; sk_live_… private keys are for servers and native apps and need no Origin.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/store/promotions" \  -H "X-Client-Key: {{clientKey}}"
{  "property1": null,  "property2": null}
GET
/store/promotions/{promotion}/products

Paginated products on one promotion.

AuthorizationBearer <token>

Use a Sanctum bearer token.

In: header

Path Parameters

promotion*string

Query Parameters

keyword?|
Lengthlength <= 100
sort?|

Value in

  • "newest"
  • "price_low"
  • "price_high"
  • "popular"
  • null
in_stock?boolean|null
per_page?|
Range1 <= value <= 50
page?|
Range1 <= value
attributes?array<array<|>>

Header Parameters

X-Client-Key*string

Your store API key (Dashboard → Settings → API keys). pk_live_… public keys are for browser code and only work from an origin on the key's allowlist; sk_live_… private keys are for servers and native apps and need no Origin.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/store/promotions/string/products" \  -H "X-Client-Key: {{clientKey}}"
{  "property1": null,  "property2": null}