ToolJet/plugins/packages/woocommerce/lib/operations.json

1 line
19 KiB
JSON
Raw Normal View History

2025-08-03 07:09:18 +00:00
{"title":"Woocommerce datasource","description":"A schema defining Woocommerce datasource","type":"api","defaults":{},"properties":{"resource":{"label":"Resource","key":"resource","className":"col-md-4","type":"dropdown-component-flip","description":"Resource select","list":[{"value":"product","name":"Product"},{"value":"customer","name":"Customer"},{"value":"order","name":"Order"},{"value":"coupon","name":"Coupon"}]},"customer":{"operation":{"label":"Operation","key":"operation","type":"dropdown-component-flip","description":"Single select dropdown for operation","list":[{"value":"list_customer","name":"List all customers"},{"value":"update_customer","name":"Update a customer"},{"value":"delete_customer","name":"Delete a customer"},{"value":"batch_update_customer","name":"Batch update customers"},{"value":"create_customer","name":"Create a customer"},{"value":"retrieve_customer","name":"Retrieve a customer"}]},"list_customer":{"page":{"label":"Page","key":"page","type":"codehinter","description":"Enter page","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"context":{"label":"Context","key":"context","type":"codehinter","description":"Enter context","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"per_page":{"label":"Per Page","key":"per_page","type":"codehinter","description":"Enter per_page","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"search":{"label":"Search","key":"search","type":"codehinter","description":"Enter search","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"exclude":{"label":"Exclude","key":"exclude","type":"codehinter","description":"Enter exclude","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"include":{"label":"Include","key":"include","type":"codehinter","description":"Enter include","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"offset":{"label":"Offset","key":"offset","type":"codehinter","description":"Enter offset","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"order":{"label":"Order","key":"order","type":"codehinter","description":"Enter order","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"orderby":{"label":"Order By","key":"orderby","type":"codehinter","description":"Enter orderby","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"email":{"label":"Email","key":"email","type":"codehinter","description":"Enter email","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"role":{"label":"Role","key":"role","type":"codehinter","description":"Enter role","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false}},"update_customer":{"customer_id":{"label":"Customer ID","key":"customer_id","type":"codehinter","description":"Enter customer ID","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false},"body":{"label":"Data","key":"body","type":"codehinter","description":"Enter data","height":"150px","placeholder":"","editorType":"extendedSingleLine"}},"delete_customer":{"customer_id":{"label":"Customer ID","key":"customer_id","type":"codehinter","description":"Enter customer ID","width":"320px","height":"36px","className":"codehinter-plugins","placeholder":"","lineNumbers":false}},"batch_update_customer":{"body":{"label":"Data","key":"body","type":"codehinter","description":"Enter data","height":"150px","placeholder":"","editorType":"extendedSingleLine"}},"create_customer":{"body":{"label":"Data","key":"body","type":"codehinter","description":"Enter data","height":"150px","placeholder":"","editorType":"extendedSingleLine"}},"retrieve_customer":{"customer_id":{"label":"Cu