# Set the order of the operator's venue page sections Sets the order every venue page in the Bookable app shows its sections in, for everyone at the operator (BOO-1662). Use it when an operator asks to put a section first, move one up or down, or go back to the usual order. It changes how the app's pages are laid out only: no venue, booking or channel changes. Send the full order you want in sectionOrder, first to last. To move one section, read the current order with getOperatorVenuePageSettings first and send it back with that section moved; when it is null, start from the default order (site-details, photos, booking-types, tables-areas, pre-orders, floor-plans, invoicing, under-18s, rooms-spaces, faqs). Sections left out follow in that default order. Send sectionOrder: null to go back to the default order. Each id at most once; an empty list is refused (VALID-N-001, 400). Only an administrator or an Admin of operatorId may call it; anyone else, Team members included, gets USER-N-008 (403). The change shows the next time someone opens a venue page. Endpoint: PUT /operators/{operatorId}/venue-page-settings Version: 5.0.0 Security: Live ## Path parameters: - `operatorId` (integer, required) The unique identifier of the operator Example: 1 ## Request fields (application/json): - `sectionOrder` (array,null, required) Section ids, first to last. Sections not listed follow in the default order. null: no order chosen, so the default order applies (on an update, go back to it). Enum: "site-details", "photos", "booking-types", "tables-areas", "pre-orders", "floor-plans", "invoicing", "under-18s", "rooms-spaces", "faqs" ## Response 200 fields (application/json): - `sectionOrder` (array,null, required) Section ids, first to last. Sections not listed follow in the default order. null: no order chosen, so the default order applies (on an update, go back to it). Enum: "site-details", "photos", "booking-types", "tables-areas", "pre-orders", "floor-plans", "invoicing", "under-18s", "rooms-spaces", "faqs" ## Response 400 fields (application/json): - `type` (string) A URI reference [rfc9457] that identifies the problem type. This specification encourages that, when dereferenced, it provides human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `title` (string, required) A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. - `status` (integer, required) The HTTP status code [rfc9457, Section 3.1.12] generated by the origin server for this occurrence of the problem. - `detail` (string) A human-readable explanation specific to this occurrence of the problem. - `code` (string, required) Error code in the format RESOURCE-X-NNN where X is R (retryable) or N (usually non-retryable; a few N codes are retryable, see isRetryable). See ErrorCatalog.md for all error codes. Example: "VALID-N-001" - `isRetryable` (boolean, required) Indicates whether the error is retryable. If true, the request may succeed if retried. If false, the request will fail again with the same input. Authoritative over the code's letter: true for every R code and for the N codes the error catalog marks retryable (e.g. ENQRY-N-005, a draft model timeout). - `traceId` (string) Request trace identifier for debugging and correlation purposes. Example: "0HNJ2BG2TU3BU:00000001" - `errors` (object,null) Validation errors dictionary mapping field names to arrays of error messages. Only present for validation errors (VALID-N-001). Example: {"Date":["Availability date cannot be in the past."],"EndTime":["EndTime must be after StartTime."]} - `unmetRequirements` (array,null) Only present for USER-N-022 when the operator's password rules refused the password (BOO-1144): what the password is missing. Absent when Auth0's own policy refused it; then detail says why. Enum: "minLength", "uppercase", "lowercase", "number", "specialCharacter" - `resetWith` (string,null) Only present for USER-N-023 (BOO-1144): the call that sets the new password the user's operator asks for and clears the reset. A password changed on Auth0's forgotten-password page does not. Example: "PUT /users/me/password" ## Response 401 fields (application/json): - `type` (string) A URI reference [rfc9457] that identifies the problem type. This specification encourages that, when dereferenced, it provides human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `title` (string, required) A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. - `status` (integer, required) The HTTP status code [rfc9457, Section 3.1.12] generated by the origin server for this occurrence of the problem. - `detail` (string) A human-readable explanation specific to this occurrence of the problem. - `code` (string, required) Error code in the format RESOURCE-X-NNN where X is R (retryable) or N (usually non-retryable; a few N codes are retryable, see isRetryable). See ErrorCatalog.md for all error codes. Example: "VALID-N-001" - `isRetryable` (boolean, required) Indicates whether the error is retryable. If true, the request may succeed if retried. If false, the request will fail again with the same input. Authoritative over the code's letter: true for every R code and for the N codes the error catalog marks retryable (e.g. ENQRY-N-005, a draft model timeout). - `traceId` (string) Request trace identifier for debugging and correlation purposes. Example: "0HNJ2BG2TU3BU:00000001" - `errors` (object,null) Validation errors dictionary mapping field names to arrays of error messages. Only present for validation errors (VALID-N-001). Example: {"Date":["Availability date cannot be in the past."],"EndTime":["EndTime must be after StartTime."]} - `unmetRequirements` (array,null) Only present for USER-N-022 when the operator's password rules refused the password (BOO-1144): what the password is missing. Absent when Auth0's own policy refused it; then detail says why. Enum: "minLength", "uppercase", "lowercase", "number", "specialCharacter" - `resetWith` (string,null) Only present for USER-N-023 (BOO-1144): the call that sets the new password the user's operator asks for and clears the reset. A password changed on Auth0's forgotten-password page does not. Example: "PUT /users/me/password" ## Response 403 fields (application/json): - `type` (string) A URI reference [rfc9457] that identifies the problem type. This specification encourages that, when dereferenced, it provides human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `title` (string, required) A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. - `status` (integer, required) The HTTP status code [rfc9457, Section 3.1.12] generated by the origin server for this occurrence of the problem. - `detail` (string) A human-readable explanation specific to this occurrence of the problem. - `code` (string, required) Error code in the format RESOURCE-X-NNN where X is R (retryable) or N (usually non-retryable; a few N codes are retryable, see isRetryable). See ErrorCatalog.md for all error codes. Example: "VALID-N-001" - `isRetryable` (boolean, required) Indicates whether the error is retryable. If true, the request may succeed if retried. If false, the request will fail again with the same input. Authoritative over the code's letter: true for every R code and for the N codes the error catalog marks retryable (e.g. ENQRY-N-005, a draft model timeout). - `traceId` (string) Request trace identifier for debugging and correlation purposes. Example: "0HNJ2BG2TU3BU:00000001" - `errors` (object,null) Validation errors dictionary mapping field names to arrays of error messages. Only present for validation errors (VALID-N-001). Example: {"Date":["Availability date cannot be in the past."],"EndTime":["EndTime must be after StartTime."]} - `unmetRequirements` (array,null) Only present for USER-N-022 when the operator's password rules refused the password (BOO-1144): what the password is missing. Absent when Auth0's own policy refused it; then detail says why. Enum: "minLength", "uppercase", "lowercase", "number", "specialCharacter" - `resetWith` (string,null) Only present for USER-N-023 (BOO-1144): the call that sets the new password the user's operator asks for and clears the reset. A password changed on Auth0's forgotten-password page does not. Example: "PUT /users/me/password" ## Response 404 fields (application/json): - `type` (string) A URI reference [rfc9457] that identifies the problem type. This specification encourages that, when dereferenced, it provides human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `title` (string, required) A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. - `status` (integer, required) The HTTP status code [rfc9457, Section 3.1.12] generated by the origin server for this occurrence of the problem. - `detail` (string) A human-readable explanation specific to this occurrence of the problem. - `code` (string, required) Error code in the format RESOURCE-X-NNN where X is R (retryable) or N (usually non-retryable; a few N codes are retryable, see isRetryable). See ErrorCatalog.md for all error codes. Example: "VALID-N-001" - `isRetryable` (boolean, required) Indicates whether the error is retryable. If true, the request may succeed if retried. If false, the request will fail again with the same input. Authoritative over the code's letter: true for every R code and for the N codes the error catalog marks retryable (e.g. ENQRY-N-005, a draft model timeout). - `traceId` (string) Request trace identifier for debugging and correlation purposes. Example: "0HNJ2BG2TU3BU:00000001" - `errors` (object,null) Validation errors dictionary mapping field names to arrays of error messages. Only present for validation errors (VALID-N-001). Example: {"Date":["Availability date cannot be in the past."],"EndTime":["EndTime must be after StartTime."]} - `unmetRequirements` (array,null) Only present for USER-N-022 when the operator's password rules refused the password (BOO-1144): what the password is missing. Absent when Auth0's own policy refused it; then detail says why. Enum: "minLength", "uppercase", "lowercase", "number", "specialCharacter" - `resetWith` (string,null) Only present for USER-N-023 (BOO-1144): the call that sets the new password the user's operator asks for and clears the reset. A password changed on Auth0's forgotten-password page does not. Example: "PUT /users/me/password" ## Response 500 fields (application/json): - `type` (string) A URI reference [rfc9457] that identifies the problem type. This specification encourages that, when dereferenced, it provides human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `title` (string, required) A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. - `status` (integer, required) The HTTP status code [rfc9457, Section 3.1.12] generated by the origin server for this occurrence of the problem. - `detail` (string) A human-readable explanation specific to this occurrence of the problem. - `code` (string, required) Error code in the format RESOURCE-X-NNN where X is R (retryable) or N (non-retryable). See ErrorCatalog.md for all error codes. Example: "BOOK-N-001" - `isRetryable` (boolean, required) Indicates whether the error is retryable. If true, the request may succeed if retried. If false, the request will fail again with the same input. - `traceId` (string) Request trace identifier for debugging and correlation purposes. Example: "0HNJ2BG2TU3BU:00000001"