Experiencing a bug in API 2022-07 Rest API order.customer endpoint?

Experiencing a bug in API 2022-07 Rest API order.customer endpoint?

jazz-jay
Shopify Partner
96 14 17

Hi,

 

I just noticed a bug in this endpoint /admin/api/2022-07/orders/[ORDER_NUMBER].json?fields=id,customer

 

The customer object no longer have total_spent and orders_count fields.

As mentioned in the response here, those fields must be included.

 

This may have some serious impacts if your apps are using 'total_spent' or 'orders_count' from the order's customer object.

 

 

banned
Replies 0 (0)