Public API v1

Edit a hosted page

Refused with page_frozen while the page is under moderation review. The standard abuse pattern for hosted content is to publish something benign, get it indexed and printed, then swap the content — so while a notice is being assessed the content has to hold still, including for the API. moderationState is reported and never accepted.

There is no DELETE. A published page may already be printed on something, so removing it is a decision a person makes in the dashboard having read the warning.

patch/api/v1/pages/{id}

Request

  • Base URL: https://scanduro.com
  • URL: https://scanduro.com/api/v1/pages/{id}
  • Auth: HTTP bearer

Request body

namestring
theme'paper' | 'ink' | 'vermilion'
locale'en' | 'nl' | 'de' | 'fr' | 'es' | 'it' | 'pt' | 'ta'
status'draft' | 'published'
venueIdstring nullable

Bind this menu page to ONE venue, so it renders that venue's live catalogue instead of its own content, or send null to unbind it. Omit the key to leave the binding alone.

The venue must be in the same workspace as the page; a venue in another workspace is 404, never 403, so the endpoint cannot be used to enumerate other tenants' venue ids.

One venue, never a workspace. A brand with six locations has six catalogues, six tills and six places labelled "Table 6"; a page bound to anything wider than a location would have to guess which one a guest is sitting in.

Response

Updated.

Changes

No recorded changes to this operation across all 1 revision of this API.