Skip to content
Configuration

Advanced

The Advanced tab holds settings you rarely need to change. Its Uninstall option decides whether WPReturns deletes all its data when you delete the plugin. In Pro, a Developers section lists the REST API endpoints and the WooCommerce webhook topics for your other tools.

Available in: Free and Pro (the Developers section is Pro)

DevDiggers Plugins > WPReturns > Configuration > Advanced

The Advanced tab with the Uninstall switch off and the Developers section listing REST API endpoints

FieldWhat it doesDefault
Uninstall“Delete all WPReturns data when the plugin is deleted”. This covers requests, rules, settings and uploaded files. Leave it off to keep your records.Off

Deactivating the plugin never deletes data. Data goes only when you delete the plugin with this box ticked.

The section shows the REST API base for your site. Authenticate with an application password of a user who can manage requests.

GET /wp-json/ddwcwr/v1/requests
GET|PUT /wp-json/ddwcwr/v1/requests/{id}
POST /wp-json/ddwcwr/v1/requests
GET|POST /wp-json/ddwcwr/v1/requests/{id}/messages
GET /wp-json/ddwcwr/v1/reasons

For webhooks, add one under WooCommerce > Settings > Advanced > Webhooks. Pick the topic “Return request created” or “Return request updated”.

Full details are in the REST API and Webhooks docs.