Homepage

admin_liquid_partial_update

Last edit: Nov 10, 2026

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

admin_liquid_partial_update(
  id: ID
  liquid_partial: UpdateLiquidPartialInputType!
  physical_file_path: String
): LiquidPartial

Arguments

id (ID)

Deprecated, use physical_file_path. Id of the partial to update

liquid_partial (UpdateLiquidPartialInputType)

Attributes to change

physical_file_path (String)

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

Type

LiquidPartial

Partial (app/views/partials or app/lib): reusable Liquid included with the render, include and function tags

Questions?

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

contact us