Search found 1 match
- Thu Feb 13, 2025 8:31 pm
- Forum: Coding (C++, C, PHP, Bash, JS, Golang, WASM, etc)
- Topic: Woocommerce API Payloads
- Replies: 0
- Views: 11351
Woocommerce API Payloads
1. Create your key. 2. Save the permlink structure to make sure curl fetches properly. Fetch Orders with status pending Curl: curl https://example.com/wp-json/wc/v3/orders?status=pending \ -u consumer_key:consumer_secret \ --insecure (force valid ssl by removing --insecure) Mark an order as paid Cur...