# GET /commerce/charity/v1/charity_org/get_charity_org_by_legacy_id stops working

Calls to GET /commerce/charity/v1/charity_org/get_charity_org_by_legacy_id on eBay API stopped working on January 16, 2023.

On January 16, 2023, the Charity API removed the GET /commerce/charity/v1/charity_org/get_charity_org_by_legacy_id endpoint. Calls made to this endpoint fail after that date.

## What to use instead

Use getCharityOrgs (GET /commerce/charity/v1/charity_org) with the registration_ids or q filters, or call getCharityOrg using the charity_org_id.

- API: eBay API (api.ebay.com)
- Kind: Endpoint removal
- Takes effect: January 16, 2023
- Calls after that day: fail
- Calls it hits: `GET /commerce/charity/v1/charity_org/get_charity_org_by_legacy_id`
- Source: [Announcement](https://developer.ebay.com/develop/api/charity-api/release-notes)
- Verified: November 6, 2026, against eBay API's own pages
- Page: https://www.okapi.bot/providers/ebay-api/breaking-changes/get-commerce-charity-v1-charity-org-get-charity-org-by-legacy-id-stops-working/

## eBay API's words

> Effective January 16, 2023, the getCharityOrgByLegacyId method has been deprecated and removed from the Charity API.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
