Skip to main content

Hey all,

 

New commerce sync error for us related to “Shopify.API.REST.OrderCancelReason”. Looks like it errors out when staff provides some generic reason for cancellation in Shopify. 

 

 

Error converting value "staff" to type 'System.Nullable`1lPX.Commerce.Shopify.API.REST.OrderCancelReason]'. Path 'order.cancel_reason', line 1, position 193.. Json data content:

{"order":{"id":-,"admin_graphql_api_id":"gid:\/\/shopify\/Order\/-","app_id":-,"browser_ip":"-","buyer_accepts_marketing":false,"cancel_reason":"staff","cancelled_at":"2024-02-01T15:49:32-05:00","cart_token":null,"checkout_id":-,"checkout_token":"-","client_details" ...

 

The new item “staff” in the following version:

2022r220 or later version; 

2023r113 or later version; 

2023r204 or later version; 

Please update your instance.

 


Reply