# 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.

- 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)
- Page: https://www.okapi.bot/providers/ebay-api/breaking-changes/get-commerce-charity-v1-charity-org-get-charity-org-by-legacy-id-stops-working/

## What to use instead

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

## eBay API's words

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