v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Add V1 online guest creation

This API creates new online guests from custom webstores to support “Checkout as guest” flows. This is a dummy guest and is not retrievable on Zenoti POS.

post/v1/guests/online_guests

Request body

emailstring

The email address of the online guest. Must be valid and non-empty.

center_idinteger

The unique identifier of the center where the guest is created.

first_namestring

The first name of the online guest.

last_namestring

The last name of the online guest.

Response

200

online_guest_idstring
guest_idstring
{"stackTrail":"paths:/v1/guests/online_guests:post:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "online_guest_id": "6a1893ba-e9c0-4bc3-9316-3e25a4e61df7",
  "guest_id": "e0a70531-30b6-44ef-a9fb-b7e18c9bd8a8"
}