Waitlist Entries

Deny a waitlist entry

Changed on

Denies a pending entry and emails the buyer. Nothing is charged.

post/waitlist_entries/{id}/deny

Request

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

Path parameters

id, string required

The resource's ID, as returned in its id field

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.

Response

The denied waitlist entry

WaitlistEntry required
object, string required
id, string required
price_variant_id, string required
product_id, string required
contact_id, string required
order_id, string nullable required

The order made when the entry was approved and paid.

status, 'pending' | 'approved' | 'denied' required
failure_reason, 'payment_failed' | 'null' nullable required

payment_failed when approval declined the saved card and denied the entry.

livemode, boolean required
created_at, string date-time required
updated_at, string date-time required
email, string required
form_submissions, FormSubmission[] required

The buyer's answers to the price variant's form at checkout.

decided_at, string nullable 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