WooCommerce.NET icon indicating copy to clipboard operation
WooCommerce.NET copied to clipboard

Missing phone in OrderShipping

Open marconline opened this issue 2 years ago • 2 comments

In v3 I see that phone is flowing in OrderShipping, the field is missing.

marconline avatar Sep 07 '22 15:09 marconline

Hi, Still now there is no phone in OrderShipping.

KaoutharG avatar Dec 19 '23 08:12 KaoutharG

Thanks, it helped us to get that value in our own fork. The same applies for phone in CustomerShipping. It looks like REST API mantainers forgot to update the docs.

In fact, phone in OrderShipping seems to be available since V2: https://github.com/woocommerce/woocommerce/blob/39b8b23fc8d1a26582efb9095654f895916086b9/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php#L1311

jose-dvm avatar Jul 10 '24 14:07 jose-dvm