githubEdit

Identities

Link external customer identities to orders, bookings, and gifts

To use this capability, add octo/identities to your Octo-Capabilities header.

circle-exclamation

All paths below are public /octo routes.

Create Identity

post

Creates a new identity.

Body

From capability octo/identities.

keystring · nullableOptional

Key value.

Example: loyalty_number
Responses
chevron-right
200

Returns an Identity object.

application/json
post
/identities
200

Returns an Identity object.

Update Identity

patch

Updates an existing identity.

Path parameters
identityIdstringRequired

Identity ID.

Example: identity_customer_001
Body

From capability octo/identities.

keystring · nullableOptional

Key value.

Example: loyalty_number
Responses
chevron-right
200

Returns an Identity object.

application/json
patch
/identities/{identityId}
200

Returns an Identity object.

Response 200

Same object as the create identity response.

Delete Identity

delete

Deletes an identity.

Path parameters
identityIdstringRequired

Identity ID.

Example: identity_customer_001
Responses
chevron-right
200

OK. No response body.

application/json
delete
/identities/{identityId}
200

OK. No response body.

200 OK with empty body.

Attach Identity to Orders, Bookings, and Gifts

With this capability enabled, you can include identityId in any booking/order/gift payload handled by the create/update flows.

Order routes:

  • POST /orders

  • PATCH /orders/{orderId}

  • PATCH /orders/{orderId}/preview

  • POST /orders/{orderId}/confirm

Booking routes:

  • POST /bookings

  • PATCH /bookings/{uuid}

  • POST /bookings/{uuid}/confirm

Gift routes:

  • POST /gifts

  • PATCH /gifts/{uuid}

  • PATCH /gifts/{uuid}/preview

  • POST /gifts/{uuid}/confirm

Base schemas: Bookings, Multi-Booking Cart, and Gift Vouchers.

When creating or updating an order with nested bookings and gifts arrays, each nested item can also include its own identityId.

Check-in Lookup With Identity

When used with octo/checkin, check-in lookup can match bookings by identity.

This capability extends POST /checkin/lookup from Online Check-in with an identity filter.

Request Body Additions

If identityId is not provided, check-in lookup behavior falls back to the standard octo/checkin lookup inputs.

Schema Additions (JSON)

These are additive fragments showing only fields introduced by this capability.

Booking

BookingWriteRequest

Gift

GiftCreateRequest

Order

OrderCreateRequest

OrderUpdateRequest

Last updated