Skip to main content
POST
/
{id}
/
availability
/
notify
Error
A valid request URL is required to generate request examples
{
  "success": 1,
  "data": {
    "updated": true
  }
}

Authorizations

x-webhook-secret
string
header
required

The webhook_secret returned when the integration was created

Path Parameters

id
string
required

Integration document ID (MongoDB ObjectId)

Example:

"64a1b2c3d4e5f6a7b8c9d0e1"

Body

application/json
productId
string
required

OCTO product ID (maps to Seyaha activity external_sync.external_id)

Example:

"product_abc"

optionId
string
required

OCTO option ID (maps to variation external_sync.external_option_id)

Example:

"option_xyz"

availabilityId
string
required

OCTO availability slot ID

Example:

"avail_001"

localDateTimeStart
string

ISO 8601 datetime with timezone offset for the slot start time

Example:

"2026-07-15T10:00:00+03:00"

status
enum<string>
Available options:
AVAILABLE,
FREESALE,
LIMITED,
SOLD_OUT,
CLOSED
Example:

"AVAILABLE"

vacancies
integer

Remaining spots available for booking

Example:

8

capacity
integer

Total capacity of this slot

Example:

20

Response

Update applied

success
integer
Example:

1

data
object