Approve all pending waitlist entries
Changed onApproves 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.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
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
Only approve entries for this price variant
Response
The number of entries queued for approval
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning