Homepage

admin_liquid_layout_update

Last edit: Nov 01, 2026

Updates a layout found by physical_file_path (or the deprecated id) and
returns it. Raises an error when no such layout exists

admin_liquid_layout_update(
  id: ID
  liquid_layout: UpdateLiquidLayoutInputType!
  physical_file_path: String
): LiquidLayout

Arguments

id (ID)

Deprecated, use physical_file_path. Id of the layout to update

liquid_layout (UpdateLiquidLayoutInputType)

Attributes to change

physical_file_path (String)

Current physical_file_path of the layout to update; takes precedence over id

Type

LiquidLayout

Layout (app/views/layouts): Liquid that wraps the content of pages and emails

Questions?

We are always happy to help with any questions you may have.

contact us