Waitlist Entries

Approve all pending waitlist entries

Changed on

Approves every pending entry, or only those for price_variant_id, in the background. Each approval charges the buyer's saved card or starts their subscription, grants access and emails a receipt; an entry whose card is declined is denied instead. Returns how many entries were queued.

post/waitlist_entries/admit_all

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
price_variant_id, string nullable

Only approve entries for this price variant

Response

The number of entries queued for approval

object required
object, 'waitlist_admission' required
queued, integer required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision