Skip to main content
Published: January 05 2009, 11:27:00 AMUpdated: November 28 2020, 5:03:43 PM

How can I list my item benefitting a charity, if I only know the Mission Fish Charity Number?

Summary

If you know the Mission Fish Charity Number, you can set the Item.Charity.CharityNumber in the AddItem request.   The Charity container either takes the Mission Fish CharityNumber or the corresponding eBay CharityID.


Detailed Description

 Lets say, you want to list an item benefitting the a charity that you found on the Mission Fish site:
http://donations.ebay.com/charity/charity.jsp?NP_ID=5713

On that page, you will only see the Mission Fish Charity Number, which is 5713.  This is different from the corresponding eBay CharityID.  To list an item, set the Charity.CharityNumber with this number as below:


<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <WarningLevel>High</WarningLevel>
  <Item>
    <Country>US</Country>
    <Currency>USD</Currency>
    <Charity>
      <CharityNumber>5713</CharityNumber>
      <DonationPercent>20</DonationPercent>
    </Charity>
    <Description>description</Description>
    <DispatchTimeMax>3</DispatchTimeMax>
    <ListingType>FixedPriceItem</ListingType>
    <ListingDuration>Days_7</ListingDuration>
    <PostalCode>95125</PostalCode>
    <PaymentMethods>PayPal</PaymentMethods>
    <PayPalEmailAddress>test@test.com</PayPalEmailAddress>
    <PrimaryCategory>
      <CategoryID>2312</CategoryID>
    </PrimaryCategory>
    <Quantity>10</Quantity>
    <StartPrice>1</StartPrice>
    <Title>Title</Title>
    <ShippingDetails>
      <ShippingServiceOptions>
        <ShippingServicePriority>1</ShippingServicePriority>
        <ShippingService>UPS2ndDay</ShippingService>
        <ShippingServiceCost>5</ShippingServiceCost> 
        <ShippingServiceAdditionalCost>1</ShippingServiceAdditionalCost>
        </ShippingServiceOptions>
    </ShippingDetails>
    <ReturnPolicy>
      <ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
      <RefundOption>MoneyBack</RefundOption>
      <ReturnsWithinOption>Days_30</ReturnsWithinOption>
      <Description>Text description of return policy details</Description>
      <ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
    </ReturnPolicy>
  </Item>
  <RequesterCredentials>
    <eBayAuthToken>*****</eBayAuthToken>
  </RequesterCredentials>
</AddItemRequest>

Alternately, you can make a call to GetCharities and find out the eBay CharityID and set Charity.CharityID with that number in the AddItem request.


Additional Information

API Documentation:  Identifying Listings that Benefit Nonprofits

 

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