How to update a developer rate plan via API?

Not applicable

Any help is appreciated.

Thanks,

Jeevan

Solved Solved
0 4 161
1 ACCEPTED SOLUTION

Hi ,

You should read this page Documentation to understand business limits.

If you want to update anything in monetization the receipt is :

a) do GET call

b) modify the json, do PUT with modified body to the same URL from step #a

View solution in original post

4 REPLIES 4

Hi ,

You should read this page Documentation to understand business limits.

If you want to update anything in monetization the receipt is :

a) do GET call

b) modify the json, do PUT with modified body to the same URL from step #a

Hi akhimich,

To be more specific, Assume I have two rate plans PLAN A and PLAN B.
I have created a user with PLAN A using below API

URL: https://api.enterprise.com/v1/mint/organizations/<org>/developers/<email>/developer-rateplans

payload = {

developer: {id: <email>},

ratePlan: {id: PLAN A},

suppressWarning: true

};

REQUEST_TYPE = POST

Now I want to update the developer from PLAN A to PLAN B.

How to achieve this?

Thanks,

Jeevan

I see, developer "accept" rate plan.

You can read all here

Repeat the same POST step for PLAN B.

@akhimich Thank you. it worked as expected.