Skip to main content

CreateAppointmentRequest

allowShiftOverridebooleanrequired
assetFieldValues object
property name*string
bookingPriceAdjustmentRatenumbernullable
cardEntryTokenstring
collectUpfrontPaymentboolean
Default value: false
customFieldValues object
property name*string
customerAssetIdstring<uuid>
customerEmailstringnullable
customerIdstring<uuid>nullable
customerNamestringnullable
customerPhonestringnullable
customerPortalTokenstring
customerSelfServiceboolean
Default value: false
formAnswers objectrequired
property name*string
idempotencyKeystringrequired
merchantUserIdstring<uuid>nullable
modifierIdsstring<uuid>[]required
notesstringnullable
occurrenceRefstringnullable
requestedModifierIdsstring<uuid>[]required
resourceIdstring<uuid>nullable
serviceIdstring<uuid>required
serviceLines object[]required
  • Array [
  • merchantUserIdstring<uuid>
    modifierIdsstring<uuid>[]required
    occurrenceRefstring
    resourceIdstring<uuid>
    serviceIdstring<uuid>required
    startAtstring<date-time>required
  • ]
  • staffProfileIdstring<uuid>nullable
    startAtstring<date-time>required
    storeIdstring<uuid>nullable
    termsAcceptedbooleanrequired
    timezonestringrequired
    CreateAppointmentRequest
    {
    "allowShiftOverride": true,
    "assetFieldValues": {},
    "bookingPriceAdjustmentRate": 0,
    "cardEntryToken": "string",
    "collectUpfrontPayment": false,
    "customFieldValues": {},
    "customerAssetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "customerEmail": "string",
    "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "customerName": "string",
    "customerPhone": "string",
    "customerPortalToken": "string",
    "customerSelfService": false,
    "formAnswers": {},
    "idempotencyKey": "string",
    "merchantUserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "modifierIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "notes": "string",
    "occurrenceRef": "string",
    "requestedModifierIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "resourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "serviceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "serviceLines": [
    {
    "merchantUserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "modifierIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "occurrenceRef": "string",
    "resourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "serviceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "startAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "staffProfileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "startAt": "2024-07-29T15:51:28.071Z",
    "storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "termsAccepted": true,
    "timezone": "string"
    }