How do you add a field to the order response?
The woocommerce_rest_prepare_shop_order_object filter or register_rest_field() for the matching type.
questions
The woocommerce_rest_prepare_shop_order_object filter or register_rest_field() for the matching type.
Consumer key / secret through Basic auth over HTTPS. For requests from your own site (admin, blocks) — a cookie + the wp_rest nonce.
Mark changes coming from the external system (a meta or a runtime flag) and don't send them back. Or define a single source of truth for every field.
Calculate base64_encode( hash_hmac( 'sha256', $raw_body, $secret, true ) ) and compare it with X-WC-Webhook-Signature using hash_equals().
Page through with per_page=100 following X-WP-TotalPages, or filter by date (modified_after) and sync incrementally.
wc_get_logger() with your own source. The logs are in WooCommerce → Status → Logs, with levels from debug to emergency.
Disable WP-Cron (DISABLE_WP_CRON) and run wp cron event run --due-now and/or wp action-scheduler run from the system cron.
A job queue library for WordPress, built into WooCommerce. Jobs are stored in the database, have groups, statuses and a log, and run in batches through WP-Cron, an async request or WP-CLI.
An "update if it exists, otherwise create" operation by a stable key. Running it again doesn't create duplicates — the sync can be safely restarted.
No questions found. Try another search.