Skip to main content
Answer

Shopify Sync - Order Cancel Reason Error

  • February 6, 2024
  • 1 reply
  • 65 views

malaniz
Freshman II
Forum|alt.badge.img

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`1[PX.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" ...

 

Best answer by simonliang91

The new item “staff” in the following version:

2022r220 or later version; 

2023r113 or later version; 

2023r204 or later version; 

Please update your instance.

 

1 reply

simonliang91
Acumatica Employee
Forum|alt.badge.img+1
  • Acumatica Employee
  • Answer
  • February 7, 2024

The new item “staff” in the following version:

2022r220 or later version; 

2023r113 or later version; 

2023r204 or later version; 

Please update your instance.