1
这是我在customer.updated webhook上获得的JSON有效载荷。如何在woocommerce webhook中添加自定义字段?
{"customer":{"id":35,"created_at":"2015-10-09T06:51:25Z","email":"[email protected]","first_name":"Sagar","last_name":"Surwade","username":"connect91insagar","role":"customer","last_order_id":null,"last_order_date":null,"orders_count":0,"total_spent":"0.00","avatar_url":"http:\/\/1.gravatar.com\/avatar\/?s=96","billing_address":{"first_name":"","last_name":"","company":"","address_1":"","address_2":"","city":"","state":"","postcode":"","country":"","email":"","phone":""},"shipping_address":{"first_name":"","last_name":"","company":"","address_1":"","address_2":"","city":"","state":"","postcode":"","country":""}}}
我需要密码字段也是在这个JSON,因为我将使用此同步两个不同的系统。
谢谢。
这不起作用,它返回'null' - ''customer“:{”found_password“:null}}' – Dan