/waitlists
Get all open Waitlists. Useful for determining which products have a Waitlist.
Request query parameters:
api_key- Required. Your Purple Dot store's public API key
Response:
data- An array containing all the open Waitlistsid- The Waitlist IDstate- one of:SCHEDULED- to start selling pre-orders, stock levels and Operations settings inside Purple Dot permitting, fromlaunch_dateOPEN- is now selling pre-orders, stock levels and Operations settings permittingPAUSED- non terminal state, can be madeOPENin the futureCLOSED- terminal state, will not change again
display_dispatch_date- The Waitlist estimated shipping datespayment_plan_descriptions- (platform integrations only, otherwisenull) Shopper friendly description of your store's pre-order payment plan, if anyselling_plan_id- (Shopify app integrations only, otherwisenull) The Shopify ID of the selling plan linked to this Waitlistis_scheduled- If this Waitlist is yet to go live in your storefrontlaunch_date: The date this Waitlist goes live in your storefrontproduct- An object containing the Waitlisted productid- The ID of the product used by the connected store, e.g. Shopifyproduct.idproduct_code- The product code used by the connected store, e.g. Shopifyproduct.handle
Examples:
curl --request GET \
--url 'https://www.purpledotprice.com/api/v1/waitlists?api_key=<...>{
"meta": {
"result": "success"
},
"data": [
{
"id": "3bbc58c6-9a11-422f-9cf5-6a5ac8468eec",
"state": "OPEN",
"display_dispatch_date": "Shipping 10–15 Jun",
"payment_plan_descriptions": null,
"selling_plan_id": null,
"product": {
"id": "4697179062404",
"product_code": "womens-white-sneakers"
}
}
]
}Last updated