Skip to main content

Syntax

Description

The properties metafield contains custom customer properties and attributes collected through forms, surveys, or API calls. This is a JSON object where keys are property handles and values are the customer’s responses.
The properties metafield contains JSON data that must be parsed using Liquid’s parse_json filter before accessing individual properties.

Properties

Type: JSON Object Namespace: lantern

Return Values

Object Structure

The properties object is a key-value store where each key represents a property handle.
  • Keys: property handles such as favorite_category, vip_status, or birthday
  • Values: string | number | boolean depending on how the property was defined

Examples

Basic Properties Display

Check for Specific Property