Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Update to WooCommerce Order when Readysell Invoice Posted using Webhook

image-20240903-033717.png


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

image-20240903-034249.png


Contents:
{
"status": "completed"
}


Update to WooCommerce Order when Sale Order Cancelled

image-20240904-004424.png

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}

  • No labels