guest-checkout

Create Guest Session

Start a guest checkout session.

Creates an ephemeral user, a Stripe customer, and an empty cart order for the given hub. Returns a guest_token the client uses in the X-Guest-Token header for all subsequent guest requests.

Optionally accepts FCM fields (fcm_token, device_id, device_type) to register the device for push notifications in the same request.

post/guests/session

Request

  • Base URL: https://api.venhub.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.venhub.com/guests/session
  • Auth: none declared

Request body

hub_idinteger required
fcm_tokenstring nullable
device_idstring nullable
device_type'ios' | 'android'

Response

Successful Response

guest_tokenstring required
guest_user_idinteger required
order_idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.