function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tolga SunarTolga Sunar 

Loyalty Management API's "Get Ledger History" returns Resource Not Found

This is the documentation of API call: https://developer.salesforce.com/docs/atlas.en-us.loyalty.meta/loyalty/connect_resources_transaction_ledger.htm

I am doing everything certainly by the book, yet this API returns this:
{
        "errorCode": "NOT_FOUND",
        "message": "The requested resource does not exist"
    }
This API endpoint is fairly new, since it's been available since Summer 23 (v58). I am suspecting some mistake in the deployment of this API.

Anyone managed to get successful response from that API? 
SwethaSwetha (Salesforce Developers) 
HI Tolga,
I see you also posted on https://salesforce.stackexchange.com/questions/404295/loyalty-management-apis-get-ledger-history-returns-resource-not-found


I checked the documentation you mentioned. Can you share the endpoint URI that you are trying with that is throwing this error?

Thanks
Tolga SunarTolga Sunar
Hey Swetha,

URI: https://<mydomain name>--<sandbox name>.sandbox.my.salesforce.com/services/data/v58.0/connect/loyalty/programs/<loyalty program name>/members/<member number>/transaction-ledger-summary

Base URL, member number and loyalty program name parameters cannot be the cause, because with the very same parameters I am able to successfully get response from Loyalty Management API's Member Details service: https://developer.salesforce.com/docs/atlas.en-us.loyalty.meta/loyalty/connect_resources_member_profile.htm