ThemeFile Object

Represents a theme file for a Square Online site, including file content and metadata.

Properties

Name Type Description
path string The path and filename of the file.
site_theme_id string The ID of the custom theme that the file belongs to.
content string The file content, such as Twig markup, CSS, JavaScript, or a base64-encoded image. This field is returned only in UpsertThemeFile responses and for ListThemeFiles requests that specify the path parameter.
checksum string Read only The SHA-256 checksum of the file content.
content_type string Read only The MIME type of the file.
binary_encoding_type string Read only The encoding type of the binary file data, currently either NONE or BASE64.
size integer(64-bit) Read only The file size in bytes.
updated_at string Read only The timestamp of when the file was last updated, in RFC 3339 format.