Created
September 10, 2021 08:47
-
-
Save teer823/58d24c62595d02b67c80e7e90f6fdab8 to your computer and use it in GitHub Desktop.
WooCommerce Webhook Event Order updated to 'completed' - For Lambda Test Event with secret "woocommerce"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"headers": { | |
"X-WC-Webhook-Signature": "errtu1XQr0dm48Yz3ufiVvCgrcu2kin+H7WYQQ8Y0fE=" | |
}, | |
"body": "{\"status\":\"completed\",\"billing\":{\"first_name\":\"Jamy\",\"last_name\":\"\",\"company\":\"\",\"address_1\":\"\",\"address_2\":\"\",\"city\":\"\",\"state\":\"\",\"postcode\":\"\",\"country\":\"\",\"email\":\"jamy@example.com\",\"phone\":\"0888889999\"},\"customer_note\":\"\",\"line_items\":[{\"id\":90,\"name\":\"่Item-1 Sample Produc\",\"product_id\":23,\"variation_id\":0,\"quantity\":1,\"tax_class\":\"\",\"subtotal\":\"200.00\",\"subtotal_tax\":\"0.00\",\"total\":\"200.00\",\"total_tax\":\"0.00\",\"taxes\":[],\"meta_data\":[],\"sku\":\"\",\"price\":200,\"parent_name\":null}]}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment