0

How can I create a system/backend that will generate a discount code then allow that code to be distributed/retrieved to/from a 3rd party system?

locoboy
  • 38,002
  • 70
  • 184
  • 260
  • If you don't need a GUI, but want another program (web or otherwise) to be able to query your app to retrieve the discount code. how about using a web service? That would be universally accessible. – DOK Jan 09 '12 at 18:46

1 Answers1

1

You need to create a web application and expose its functionality via API. Then protect the API with auth (for example OAuth), write documentation and provide it to 3rd party.

I suggest reading on RESTful APIs and using Ruby on Rails.

Zepplock
  • 28,655
  • 4
  • 35
  • 50