cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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:

 

"primaryPhone" :
{ /* PhoneNumber */
"phoneNumber" : "string"
}

 

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/getPaymentDis...) :

 

"primaryPhone" :
{ /* Phone */
"countryCode" : "string",
"number" : "string"
}

 

Message 1 of 2
latest reply
1 REPLY 1

getOrder: Phone number provided without country code

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.

Best Regards,
eBay Developer Support
Message 2 of 2
latest reply