Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Update to WooCommerce Order when Sale Order Cancelled

image-20240904-004424.pngImage Added

Enabled : Yes
CustomMode : Yes
Fire on Changed : Yes
Data Type : Sale Order
Url : https://[COMPANY WEBSITE]/wp-json/wc/v3/orders/{OBJECT:ReferenceNumber}
Criteria : [Status] = 'Cancelled' And Not IsNullOrEmpty([Reference Number]) And [Source] = 'Custom web site'
Property Changes : Status
Method : PUT
Content Type : application/json
Headers : - refer to this - (Task : WooCommerce Download : Parameter Auth-Read Only)

Contents : {FUNCTION:WooCommerceGenerateContentRefund}