Home
Find the answer to your question
Is there a sample request for addSellerProfile api and getSellerProfiles api ?
Note : To opt-in to the Business Policies profiles, please refer to KB : https://ebaydts.com/eBayKBDetails?KBid=2021
Here is a sample SOAP request for addSellerProfile and getSellerProfile
End point : http://svcs.sandbox.ebay.com/services/selling/v1/SellerProfilesManagementService
Headers :
X-EBAY-SOA-OPERATION-NAME getSellerProfiles
X-EBAY-SOA-SERVICE-VERSION 1.0.0
X-EBAY-SOA-SECURITY-TOKEN AgAAAA************************AlX
X-EBAY-SOA-SERVICE-NAME SellerProfilesManagementService
X-EBAY-SOA-GLOBAL-ID EBAY-US
addSellerProfile sample request for creating a Payment profile :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ebay.com/marketplace/selling/v1/services">
<soapenv:Header/>
<soapenv:Body>
<ser:addSellerProfileRequest>
<ser:paymentProfile>
<ser:categoryGroups>
<ser:categoryGroup>
<ser:default>false</ser:default>
<ser:name>ALL</ser:name>
</ser:categoryGroup>
</ser:categoryGroups>
<ser:profileName>testing payment profile-1</ser:profileName>
<ser:profileDesc>my desc</ser:profileDesc>
<ser:profileName>testing payment profile-1</ser:profileName>
<ser:profileType>PAYMENT</ser:profileType>
<ser:paymentInfo>
<!--Zero or more repetitions:-->
<ser:acceptedPaymentMethod>VisaMC</ser:acceptedPaymentMethod>
<ser:immediatePay>false</ser:immediatePay>
<ser:paymentInstructions>Pay on time</ser:paymentInstructions>
<ser:paypalEmailAddress>abc@x.com</ser:paypalEmailAddress>
</ser:paymentInfo>
</ser:paymentProfile>
</ser:addSellerProfileRequest>
</soapenv:Body>
</soapenv:Envelope>
getSellerProfiles sample request :
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ebay.com/marketplace/selling/v1/services">
<soapenv:Header/>
<soapenv:Body>
<ser:getSellerProfilesRequest>
<!--Zero or more repetitions:-->
<profileType>PAYMENT</profileType>
<!--Optional:
<ser:includeDetails>true</ser:includeDetails> -->
</ser:getSellerProfilesRequest>
</soapenv:Body>
</soapenv:Envelope>
Useful docs :
Making an API call : http://developer.ebay.com/Devzone/business-policies/Concepts/MakingACall.html
Call Reference : http://developer.ebay.com/Devzone/business-policies/CallRef/index.html