This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Grants a DENIED arrival as a site user's override, from the evaluation it was denied with, and redeems the plan
benefit that evaluation found, once, after the response. Not a record correction: calling it can spend a
Pricing Plans credit. It is a site user's decision and does not check RECENT_ENTRY: it spends the picked credit even when
the person was let in a moment ago, for example by a new arrival written at the desk after this denial. Before
offering "Let in", look for the person's recent grants in this area with Query Arrivals (GRANTED arrivals by contactDetails.contactId and area.id, with a createdDate lower bound wide enough for a denial overridden later; one is recent when its overriddenDate, or its createdDate if it has none, is within the last 15 minutes) and ask the site user to confirm. Check Eligibility's recentArrival is set only when its own evaluation would grant on a credit pack, so it's usually absent right after a denial. overrideReason holds the site user's own words when they give one. This is the one
change an arrival receives through this API.
Only a site user may call it, a Wix user acting through an app (a call that carries the user's identity beside the
app's) included: a caller that isn't a site user (a reader at an entrance, or an app with no Wix user on the
call) fails with OVERRIDE_NOT_ALLOWED, checked before the arrival is read, and nothing changes. Any DENIED
arrival may be overridden, whoever wrote it: a site user may let in a person a reader denied instead of writing a new
arrival at the desk, not in addition to it, since each of the two would admit the person. The caller is recorded in
overriddenBy; who wrote the arrival stays in source.createdBy. The person is not evaluated again: eligibilityDetails stays as it
was written at the denial, so its issues hold what was overridden, and the benefit or scheduled event that
evaluation found, if any, is recorded in planBenefit or scheduledEvent, picked by the rule on planBenefit: one that
admitted on its own first (the person was denied only for a blocking intake form or RECENT_ENTRY), free before
finite. It's the same record denialOverride
on Create Arrival leaves. Idempotent: on a DENIED arrival the status turns GRANTED, revision moves, and
Arrival Updated fires; an arrival that is already GRANTED is returned as it is (its
overrideReason is not changed) and nothing is redeemed twice. An arrivalId that names no arrival fails with ARRIVAL_NOT_FOUND. To decide before the
evaluation, send denialOverride on
Create Arrival
instead; a repeat of that Create Arrival within 5 seconds
with denialOverride applies this same override to the denied arrival.
You can only call this method when authenticated as a Wix app or Wix user identity.
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.