When preparing events to send to apps like Mechanic, Shopify uses resource representations from specific versions of their REST Admin API.
Effective immediately, Shopify events now use resource representations from version 2022-07 of the REST Admin API.
Shopify reports a single breaking change to REST representations for webhooks in this version:
As of API version 2022-07, the following customer object properties on the REST Admin API's Order resource have been deprecated:
  • last_order_id
  • last_order_name
  • orders_count
  • total_spent
Use the Customer resource instead to access these properties.
Mechanic tasks subscribing to shopify/orders/*, depending on
order.customer.last_order_id
(etc), should replace these lookups with
order.customer.reload.last_order_id
to avoid any issues.
Read more