Find the answer to your question
For a Charity Item, why does get Item return a CharityID and a CharityNumber? What does CharityNumber correspond to? What should I do with the CharityNumber?
eBay uses MissionFish for its Giving Works Program. The CharityIDs in the eBay database is different from that of the MissionFish. Hence in the GetItem call for a charity item, you get both the Ids. Here is a snippet of the GetItem response for the Charity Container:
<CharityName>Archbishop Spalding High School</CharityName>
<Mission>Providing a unique environment where students are challenged to develop their academic, spiritual and athletic abilities and to engage in community service and responsible citizenship.</Mission>
CharityID corresponds to the number in the eBay database and CharityNumber corresponds to the MissionFish database. For the purpose of eBay API calls, you can ignore CharityNumber, as it is used by MissionFish for doing the mapping for the donation.
When you list your item, you need to use the eBay CharityID in the AddItem request.
Here is a sample AddItem request to list a Charity Item:
<?xml version="1.0" encoding="utf-8"?>
To Get a list of all the Charities and the CharityIDs, you can make a call to GetCharities
For more information on Charities, please see the section Identifying Listings that Benefit Nonprofits in the documentation.