Retrieve Shopper

URL services/2/shoppers/{shopper-id}

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

Definition

https://sandbox.bluesnap.com/services/2/shoppers/:shopper-id|:seller-shopper-id,:seller-id


Documentation

The Retrieve Shopper request enables you to retrieve details about a saved shopper, including their contact info, payment info, and more.

Request Content

Retrieve based on Shopper ID in BlueSnap
Enter the shopper-id into the web service URL, in the format:
services/2/shoppers/{shopper-id}

For example:
services/2/shoppers/2345678

Retrieve based on Seller Shopper ID
Enter the unique ID that you assigned to the shopper (the seller-shopper-id), and your seller ID in BlueSnap (seller-id) into the web service URL, in the format:
services/2/shoppers/{seller-shopper-id},{seller-id}

For example:
services/2/shoppers/456789123,397248

Response Details

If successful, the response HTTP status code is 200 OK.
The response contains the retrieved shopper resource (see shopper).
For details about possible errors, see: General Errors and Shopper Errors.


Examples

Request Examples

curl -v -X GET https://sandbox.bluesnap.com/services/2/shoppers/19575994 \ -H 'Content-Type: application/xml' \ -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='
curl -v -X GET https://sandbox.bluesnap.com/services/2/shoppers/1234abcd,388632 \ -H 'Content-Type: application/xml' \ -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='

Response Examples

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <shopper xmlns="http://ws.plimus.com"> <shopper-info> <shopper-id>19575994</shopper-id> <seller-shopper-id>1234abcd</seller-shopper-id> <shopper-contact-info> <title>Mr</title> <first-name>ECP Shopper first name</first-name> <last-name>ECP Shopper last name</last-name> <email>email@email.com</email> <address1>123 Oxford</address1> <city>London</city> <state>NY</state> <zip>54321</zip> <country>us</country> <phone>1800808080</phone> <fax>1800808080</fax> </shopper-contact-info> <shipping-contact-info/> <invoice-contacts-info> <invoice-contact-info> <default>true</default> <title>Mr</title> <first-name>ECP Shopper first name</first-name> <last-name>ECP Shopper last name</last-name> <email>email@email.com</email> <address1>123 Oxford</address1> <city>London</city> <state>NY</state> <zip>54321</zip> <country>us</country> <phone>1800808080</phone> <fax>1800808080</fax> </invoice-contact-info> </invoice-contacts-info> <payment-info> <credit-cards-info/> <ecps-info> <ecp-info> <billing-contact-info> <first-name>first</first-name> <last-name>last name</last-name> <address1>123 Oxford</address1> <city>ny</city> <state>NY</state> <zip>90210</zip> <country>us</country> </billing-contact-info> <ecp> <account-type>CONSUMER_CHECKING</account-type> <public-account-number>99993</public-account-number> <public-routing-number>75151</public-routing-number> </ecp> </ecp-info> <ecp-info> <billing-contact-info> <first-name>ECP Billing first name</first-name> <last-name>ECP Billing last name</last-name> <address1>123 Oxford</address1> <city>New York</city> <state>NY</state> <zip>54321</zip> <country>us</country> <company-name>ECP Company</company-name> </billing-contact-info> <ecp> <account-type>CORPORATE_CHECKING</account-type> <public-account-number>99992</public-account-number> <public-routing-number>75150</public-routing-number> </ecp> </ecp-info> </ecps-info> <sepa-direct-debits-info/> <balance/> </payment-info> <store-id>8540</store-id> <shopper-currency>USD</shopper-currency> <locale>en</locale> <permitted-future-charges>false</permitted-future-charges> </shopper-info> </shopper>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <shopper xmlns="http://ws.plimus.com"> <shopper-info> <shopper-id>19575994</shopper-id> <seller-shopper-id>1234abcd</seller-shopper-id> <shopper-contact-info> <title>Mr</title> <first-name>ECP Shopper first name</first-name> <last-name>ECP Shopper last name</last-name> <email>email@email.com</email> <address1>123 Oxford</address1> <city>London</city> <state>NY</state> <zip>54321</zip> <country>us</country> <phone>1800808080</phone> <fax>1800808080</fax> </shopper-contact-info> <shipping-contact-info/> <invoice-contacts-info> <invoice-contact-info> <default>true</default> <title>Mr</title> <first-name>ECP Shopper first name</first-name> <last-name>ECP Shopper last name</last-name> <email>email@email.com</email> <address1>123 Oxford</address1> <city>London</city> <state>NY</state> <zip>54321</zip> <country>us</country> <phone>1800808080</phone> <fax>1800808080</fax> </invoice-contact-info> </invoice-contacts-info> <payment-info> <credit-cards-info/> <ecps-info> <ecp-info> <billing-contact-info> <first-name>first</first-name> <last-name>last name</last-name> <address1>123 Oxford</address1> <city>ny</city> <state>NY</state> <zip>90210</zip> <country>us</country> </billing-contact-info> <ecp> <account-type>CONSUMER_CHECKING</account-type> <public-account-number>99993</public-account-number> <public-routing-number>75151</public-routing-number> </ecp> </ecp-info> <ecp-info> <billing-contact-info> <first-name>ECP Billing first name</first-name> <last-name>ECP Billing last name</last-name> <address1>123 Oxford</address1> <city>New York</city> <state>NY</state> <zip>54321</zip> <country>us</country> <company-name>ECP Company</company-name> </billing-contact-info> <ecp> <account-type>CORPORATE_CHECKING</account-type> <public-account-number>99992</public-account-number> <public-routing-number>75150</public-routing-number> </ecp> </ecp-info> </ecps-info> <sepa-direct-debits-info/> <balance/> </payment-info> <store-id>8540</store-id> <shopper-currency>USD</shopper-currency> <locale>en</locale> <permitted-future-charges>false</permitted-future-charges> </shopper-info> </shopper>

Back to Top
Language
Credentials
:
Click Try It! to start a request and see the response here!