Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone property is missing in OrderShipping (V2?) and CustomerShipping (V3) #776

Open
jose-dvm opened this issue Jul 10, 2024 · 0 comments
Open

Comments

@jose-dvm
Copy link

Just in case someone else wants to use this helpful library but needs to access these properties.

Wordpress version: 6.5.5
WooCommerce version: 8.8.5
WooCommerce.NET version: v0.8.6 (NuGet package)

  • Steps to replicate the issue
  1. Do a GET request for customers or orders -> phone is available in CustomerShipping and OrderShipping
  2. Try to get phone value from CustomerShipping or OrderShipping using WooCommerce.NET -> phone is not available

The Pull Request #705 fixes the Order part and can be used as a reference to fix the Customer part.

Proofs and references about phone availability (it's missing in REST API docs):

imagen

imagen

https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php

https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-customers-controller.php

woocommerce/woocommerce@01f71d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant