Re: Depreciated Fields Lack Their New Value Names

Solved

Depreciated Fields Lack Their New Value Names

maxrfinch
Shopify Partner
40 1 59

The last few times I've tried to work with the customer object in an attempt to build a conditional rule, I've noticed several of the values I need are now depreciated and don't have their new counterparts available.

 

  1. totalSpent is depreciated and the new amountSpent isn't listed.
  2. orderCount is depreciated and the new numberOfOrders isn't available.
  3. acceptsMarketing is depreciated and the new emailMarketingConsent isn't available.

I'm sure there's other objects that lack their new identifiers.

Accepted Solution (1)

paul_n
Shopify Staff
1336 151 304

This is an accepted solution.

Hi, we are aware of the issue...basically the fields and their replacements are not available in the same API version. We are working on implementing the new fields. If needed you should use the deprecated versions. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

View solution in original post

Replies 3 (3)

paul_n
Shopify Staff
1336 151 304

This is an accepted solution.

Hi, we are aware of the issue...basically the fields and their replacements are not available in the same API version. We are working on implementing the new fields. If needed you should use the deprecated versions. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
maxrfinch
Shopify Partner
40 1 59

Hi Paul,

 

Last time I tried the flow editor wouldn't allow me to select fields that were depreciated.

 

EDIT: Now I can use them, thank's for the answer @paul_n 

paul_n
Shopify Staff
1336 151 304
The fields are at the very bottom of the object under "Deprecated". If you
click "Show" you'll see a list of the fields. You CAN choose the fields
there.
Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.