/waitlists
List all waitlists
Request:
limit(number) - Optional. The number of waitlists to retrieve. Set to 10 by default but can be set up to 100created_at_min(ISO8610 timestamp) - Optional. List waitlists created since the given timeupdated_at_min(ISO8610 timestamp) - Optional. List waitlists updated since the given timestarting_after(UUID) - Optional. Paginate pre-orders after the given waitlist ID
Headers:
Link- An IETF RFC 8288 compliant header with links to previous and next page of results for the preorder query.
Body:
waitlists- An array containing waitlistsid- ID used to identify the waitlist inside Purple Dotcreated_at- ISO8610 timestamp of when the waitlist was createdupdated_at- ISO8610 timestamp of when the waitlist was last updatedearliest_ship_date- ISO8610 timestamp of the earliest date the waitlisted product can shiplatest_ship_date- ISO8610 timestamp of the latest date the waitlisted product can shipstate- The state of the waitlist. This can be one of the following:LIVE- Shoppers can start placing preorders for this product if there is no stock in ShopifyPAUSED- Shoppers cannot place preorders for this product until the waitlist is unpausedCLOSED- Waitlist is now closedSCHEDULED- Waitlist will be live on the launch date
launch_date- ISO8610 timestamp of when the waitlist will be livelabels- Labels associated with the waitlistavailability- A map of the product & variant-wise sales dataproduct- Sales data for the productproduct_id- Shopify ID for the productbuy_size- Total number of units allocated for preordercommitted- Total number of preorder units soldavailable- Total number of preorder units available for sale
variants- An array of the sales data for all the product variantsvariant_id- Shopify ID of the product variantsku- SKU code of the product variantbuy_size- Total number of units of the product variant allocated for preorder (this will be null in the case of a per-product waitlist)committed- Total number of preorder units of the product variant soldavailable- Total number of preorder units available of the product variant for sale (this will be null in the case of a per-product waitlist)
starting_after- The ID of the last waitlist in the list which can then be used in the next requesthas_more- Indicates whether there are more orders available to page through
Examples:
This is how a per-variant waitlist response would look like:
This is how a per-product waitlist response would look like:
Last updated