🚫Customer object

Important Notice

Shopify is deprecating the Shopify Admin REST API which the Mechanic REST objects depend on. The first round of deprecations involve the product and variant endpoints. Read about the deprecation here and here. Use the GraphQL going forward. The product and variant objects will cease to work on on Feb 1, 2025 due to the changes being made by Shopify. Shopify will phase out the REST API completely over time, you can read more about this here.

How to access it

  • Use {{ customer }} in tasks responding to shopify/customers events

  • Look up specific customers by their ID, using {{ shop.customers[12345678900] }}

  • Look up specific customers by their email address, using {{ shop.customers["test@example.com"] }}

What it contains

Last updated