2

I am trying to use the API 4 to get all the related Price Sets for a given Contribution Page. I am having a hard time with this, being new to the API and the join function. Any help? In API 3, Price Sets were returned with a list of related entities, and I was able to go through all of them to identify those related to the Contribution Page.

1 Answer 1

2

Unfortunately, there isn't a way to get the price set used for the contribution or event page. The link is stored in civicrm_price_set_entity, with entity_table set as civicrm_contribution_page or civicrm_event and entity_id as contribution page or event id.

Or you can apply the patch to support for api3 and api4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.