Functions2025-07
POS-specific Shopify Function logic
The new field in the Function APIs allows you to tailor your logic based on whether a checkout is happening in a retail environment. This allows you to create different behaviors depending on the sales channel or even the specific retail store location. For example, you can implement location-specific discounts only for in-store purchases, creating differentiated experiences between online and retail customers.
The field is currently available in the unstable API version, and will be included in the stable 2025-07 API version.
Was this section helpful?