getOrder: Phone number provided without country code
The getOrder request (https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder) returns the buyer's primary phone number:
However, the phone number does not contain the country code. This is problematic because our shipping service providers usually require the full phone number, including the country code.
How can we obtain the country code?
Thanks in advance!
NB: Interestingly, the country code is provided in getPaymentDispute requests (https://developer.ebay.com/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDispute) :
tucu8
Posted 2 years ago · Edited 2 years ago·Last reply 1 year ago
2 comments
mu_26556
·1 year agoUnfortunately, your response was not helpful. When the recipient’s phone number is provided without the country code, it requires manual intervention in our system (such as address adjustments). Would it be possible to include the phone number country code within the getOrders API response?
Additionally, could the countryCode within the contactAddress be used as the phone country code? Is there a chance that the two country codes might differ?
developer_support@ebay
Hi @tucu8
getOrder call returns the primary telephone number of the buyer or eBay shipping partner while the getPaymentDispute call returns the seller's primary phone number associated with the return address.