Skip to main content
The following examples contain JSON payloads that can be sent to Klaviyo instead of email. See Using Klaviyo for how to link Klaviyo for sending notification emails. You can extend these examples yourself using the Liquid tags Firmhouse provides.

Confirmation email

Upcoming order notice

The per-product outofstock field and the HasOutOfStockProducts flag are only true when Shopify stock levels are enforced, so Klaviyo flows can branch on them to warn customers about products that would cause their renewal to be skipped. subscription.next_upcoming_products also includes active Next order only products. Their shipmentdate is empty because they inherit the next order’s shipment date. After the order containing them is created, they are removed from the subscription and no longer appear in this collection. The per-product replaceurl field links straight to the swap flow for that product in the customer portal. Piped through ssc_hotlink, it logs the customer in automatically, so one click in the Klaviyo email takes them to picking a replacement product. The hotlink is valid for one week from the moment the event is sent.

Cancellation initiation email

Cancellation confirmation email

Billing cycle notification

Failed payment

Manual charge notification

Outstanding invoices

statusCode is stable across subscription locales and is intended for conditions or merchant-owned translations in Klaviyo. statusTranslated is display text localized using the subscription’s locale.

Invoice reminder

Self service center login