Rivier/ Reference/ shop

Reserve for a guest

post/payments/reservations

Reserve for a guest. Paid online, the reservation is held for 35 minutes and the answer carries the address where the guest pays (a checkout on the business's own Stripe account, with the platform fee); it is booked when Stripe says it is paid. Paid on arrival, it is booked at once. An agent inside the owner's limits reserves; outside them, or with no limits set, it waits for the owner's approval.

Before you call

Credential
Authorization: Bearer $KEY
Scope
shop:write
Mcp
rivier_payments_reserve
Graphql
Mutation.shopReservationCreate
Sdk
shop.reservation.create
Cli
shop reservation create

Request bodyapplication/json, required

  • offeringIdstring (uuid)required
  • quantityinteger
    Default: 1. At least 1. At most 500.
  • slotIdstring (uuid)
  • checkinstring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • checkoutstring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • guestobjectrequired
    • namestringrequired
      At most 120 characters.
    • emailstring (email)required
      At most 200 characters.
  • returnTostring (uri)
    At most 400 characters.
  • idempotencyKeystring
    At most 100 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown