Skip to main content
Published: January 22 2007, 2:25:00 PMUpdated: August 02 2022, 5:32:14 PM

How can I remove / modify PaymentMethods and the ShipToLocations for a listed item?

Summary

To drop the PaymentMethods, you need to send in the PaymentMethods that you wish to retain in the ReviseItem call. The methods that are not listed in the ReviseItem call, will be dropped. Similarly, for ShipToLocations, if you send in just the ones that you want to retain in the ReviseItem call, the locations not listed will be dropped.
 


 

Detailed Description

Lets walk through an example to see how we can remove some PaymentMethods and ShipToLocations for an Item.  Lets say we list an item with the following AddItem call:
 

<?xml version="1.0" encoding="utf-8"?>

<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">

  <Version>1123</Version>

  <ErrorLanguage>en_US</ErrorLanguage>

  <WarningLevel>High</WarningLevel>

  <Item>

    <Country>US</Country>

    <Currency>USD</Currency>

    <Description>test to remove ShipToLocation and PaymentMethods</Description>

    <ListingDuration>GTC</ListingDuration>

    <ListingType>FixedPriceItem</ListingType>

    <Location>San Jose, CA</Location>

    <PaymentMethods>PersonalCheck</PaymentMethods>

    <PaymentMethods>PayPal</PaymentMethods>

    <PaymentMethods>MOCC</PaymentMethods>

    <PayPalEmailAddress>test@test.com</PayPalEmailAddress>

    <PrimaryCategory>

      <CategoryID>357</CategoryID>

    </PrimaryCategory>

    <Quantity>1</Quantity>

    <ShippingDetails>

      <ShippingServiceOptions>

        <ShippingService>USPSPriority</ShippingService>

        <ShippingServiceCost currencyID="USD">10.0</ShippingServiceCost>

        <ShippingServicePriority>1</ShippingServicePriority>

        <ExpeditedService>false</ExpeditedService>

        <ShippingTimeMin>2</ShippingTimeMin>

        <ShippingTimeMax>3</ShippingTimeMax>

      </ShippingServiceOptions>

      <InternationalShippingServiceOption>

        <ShippingService>USPSGlobalExpress</ShippingService>

        <ShippingServiceCost currencyID="USD">10.0</ShippingServiceCost>

        <ShippingServicePriority>1</ShippingServicePriority>

        <ShipToLocation>GB</ShipToLocation>

      </InternationalShippingServiceOption>

    </ShippingDetails>

    <ShipToLocations>CA</ShipToLocations>

    <ShipToLocations>MX</ShipToLocations>

    <ShipToLocations>GB</ShipToLocations>

    <ShipToLocations>DE</ShipToLocations>

    <Site>US</Site>

    <StartPrice currencyID="USD">1.0</StartPrice>

    <Title>test to remove ShipToLocation and PaymentMethods</Title>

  </Item>

  <RequesterCredentials>

    <eBayAuthToken>*****</eBayAuthToken>

  </RequesterCredentials>

</AddItemRequest>

With this we have the following Payment methods accepted:

  • PayPal
  • Personal check
  • Money order/Cashiers check
     

And the following Shipping locations:

  • United States
  • Canada
  • Mexico
  • United Kingdom
  • Germany

Note:  We have specified only GB in the international shipping service container.

Now lets say we want to remove Personal Check and Mexico from our listing.
We do that by sending in the following ReviseItem request:

<?xml version="1.0" encoding="utf-8"?>

<ReviseItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">

  <Version>1123</Version>

  <ErrorLanguage>en_US</ErrorLanguage>

  <WarningLevel>High</WarningLevel>

  <Item>

    <ItemID>110014540731</ItemID>

    <PaymentMethods>MOCC</PaymentMethods>

    <PaymentMethods>PayPal</PaymentMethods>

    <PayPalEmailAddress>test@test.com</PayPalEmailAddress>

    <ShipToLocations>CA</ShipToLocations>

    <ShipToLocations>DE</ShipToLocations>

  </Item>

  <RequesterCredentials>

    <eBayAuthToken>*****</eBayAuthToken>

  </RequesterCredentials>

</ReviseItemRequest>

You will see that it has dropped the payment method personal check and ship to location of Mexico.

Even though we have not mentioned GB in the ReviseItem call, it is picked up implicitly because we have it specified in our international shipping service option. If you need to drop all the other ShipToLocations, then you can specify the ShipToLocations as GB. If you want to drop GB, then you will need to follow the recommendation of this Knowledge Base article:
How do I remove or modify only my InternationalShippingServiceOption(s), but not my "domestic" shipping services?


Version Info

The example above was based on the versions specified below:

API Schema Version1123

 


Additional Resources

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!