Show field in Api response
-
Hello.
I added a custom field called shipping_phone, How can I call this field when I make api calls. Currently when I make an Api call, I get the data like this just as woocommerce default. How can I include the custom data in shipping like “phone”:”01012345678″? Thanks“billing”: {
“first_name”: “황정민”,
“last_name”: “”,
“company”: “”,
“address_1”: “”,
“address_2”: “”,
“city”: “”,
“state”: “”,
“postcode”: “”,
“country”: “”,
“email”: “”,
“phone”: “010-0000-0000”
},
“shipping”: {
“first_name”: “황정민”,
“last_name”: “”,
“company”: “”,
“address_1”: “서울특별시 노원구 상계동 685 보람아파트1단지”,
“address_2”: “111동 101호”,
“city”: “”,
“state”: “”,
“postcode”: “01678”,
“country”: “”
},
The topic ‘Show field in Api response’ is closed to new replies.