Create a resourceAsk AIpost https://api.waitwhile.com/v2/resourcesBody ParamsdisplayNamestring | nullDisplay name used in customer facing pagesdescriptionstring | nullOption 2photoUrlstring | nullPhoto URLcolorstring | nullColor code in any valid CSS formatisActiveWaitlistbooleanFlag to indicate if available for waitlisttruetruefalseisActiveBookingbooleanFlag to indicate if available for bookingtruetruefalseisActivebooleanFlag to indicate if activetruetruefalseisPublicbooleanFlag to indicate if available on public check-in (DEPRECATED, use "access" instead)truetruefalseexternalIdstring | nullExternal identifier, optionally provided by clientaccessstringenumAccess mode for data-fieldPUBLICPUBLIC-DISPLAYPRIVATEHIDDENAllowed:PUBLICPUBLIC-DISPLAYPRIVATEHIDDENorderinteger | null≥ 0Order in the user interface, null means default ordermetadataobject | nullStore metadata about your objects. You can store 20 keys with max length 40. Values can be strings of max length 500.metadata object | nulli18nobject | nullResource/Service localizationsi18n object | nulltypestringenumDefaults to RESOURCERESOURCESERVICEDATA-FIELDAllowed:RESOURCESERVICEDATA-FIELDparentIdstringParent identifierisCategorybooleanFlag to indicate if this is a categorytruetruefalseisRequiredbooleanFlag to indicate if requiredtruetruefalsephonestring | nullPhone number in E.164 formatemailstring | nullEmail addresslocationstring | nullNameurlstring | nullURL with http or https protocolallowSharingbooleanBoolean flagtruetruefalseisAwaybooleanFlag to indicate if currently awaytruetruefalseisAwayFromstringintegerDate and time resource was set awayisAwayTostringintegerDate and time resource is away untilisAwayReasonstring | nullOptional message for away statusenableAutoAwaybooleanAutomatically set resource as away at midnight (per location timezone)truetruefalserequireUserActiveOnLocationbooleanBoolean flagtruetruefalseisMalebooleanFlag to indicate if maletruetruefalseminServedinteger | null≥ 1Minimum served by this resourcemaxServedinteger | null≥ 1Maximum served by this resourcebookingSpotsPerDayinteger | null≥ 1Maximum booking spots per day for this fieldminSelectioninteger | null≥ 1Minimum services required in public checkin for this servicemaxSelectioninteger | null≥ 1Maximum services required in public checkin for this servicesupportedServiceIdsarray of strings | nullIdentifiers of supported services (not available for a category)supportedServiceIdsADD stringserviceDurationModifiernumber≥ 0.01Service duration modifier for this resourcefirstAvailableDisplaystring | nullenumShort stringA short-sized stringhiddenalwaysAllowed:hiddenalwayshoursobject | nullHours by day of weekhours object | nullhoursByDateobject | nullOpen hours by date in YYYYMMDD format, max 180 dates allowedhoursByDate object | nullwaitlistHoursobject | nullHours by day of weekwaitlistHours object | nullwaitlistHoursByDateobject | nullOpen hours by date in YYYYMMDD format, max 180 dates allowedwaitlistHoursByDate object | nullbookingHoursobject | nullHours by day of weekbookingHours object | nullbookingHoursByDateobject | nullOpen hours by date in YYYYMMDD formatbookingHoursByDate object | nulladdLocationIdsarray of stringsUnique identifiersaddLocationIdsADD stringremoveLocationIdsarray of stringsUnique identifiersremoveLocationIdsADD stringaddSupportedServiceIdsarray of stringsUnique identifiersaddSupportedServiceIdsADD stringremoveSupportedServiceIdsarray of stringsUnique identifiersremoveSupportedServiceIdsADD stringaliasstring | nullAlias (used in SMS signup)includeInRestrictedModebooleanFlag to indicate if this category is included in Restricted Mode. If enabled, resources in Restricted Mode can book and view resources from this categorytruetruefalsestaffPreSelectionModesobjectHow resource is pre-selected for this category in Staff UIstaffPreSelectionModes objectincludeInWaitEstimationbooleanFlag to indicate if this category is included in wait estimationtruetruefalsestaffSelectionComponentstring | nullenumComponent type used by staff when selecting a valueBUTTONSELECTAllowed:BUTTONSELECTuserIdstring | nullIdentifier of usernamestring | nullrequiredNamelocationIdsarray of stringsrequiredlength ≥ 1Location identifierslocationIds* stringADD stringResponses 201Created 400Bad Request 401Unauthorized 403Forbidden 404Not Found 429Too Many RequestsUpdated 5 months ago