Downloading Discounts using API (REST) or Web Services (SOAP)

I asked this question 4 years ago and never got an answer.

Is it possible to download all available discount codes for a Team Raiser?
DiscountType and Amount come in the TeamRaiserRegistration record.
DiscountID can be pulled from Payment.Discount record.
getParticipationTypes allows you to see if there are any discount codes linked the participation type, validateDiscount allows you to check if a specific code is valid, but you need to know the code.

I cannot find an endpoint that would return a list of discount codes, with their ID and name, so I can store them in the data warehouse and link the discount code to discount ID for reporting dashboards.

Any tips appreciated!

Answers

  • Hi @Szymon Zaleski - I see it has been a few days and no response from the community. Four years ago when you asked the question, did you open a support ticket as well or just ask the community? I can flag this up through my team to see if there is any assistance we can provide. There's also a SKY Developer general discussion area that might be a good place to post as well!

  • @Szymon Zaleski confirmed with my team that you'll need to open a support ticket here. If you get an answer from support, feel free to return here and share it with the community!

  • Szymon Zaleski
    edited April 20

    Thanks, @Crystal Bruce, I appreciate the recommendation, but I am afraid this is likely something more suited for the idea bank, rather than support case. I submitted the case nevertheless, I will let you know if they are able to come up with a solution, meanwhile I'll leave this one open in case someone has an idea how to solve it.

Categories