Поділитися через


Unsubscribe from and deactivate a test plan

When you’re done testing a plan, you can unsubscribe from and deactivate the plan.

Unsubscribe from a plan

Install or use a tool that can send HTTP requests to test your solution, for example:

  1. Publishers can unsubscribe a customer from the system, using the Cancel Subscription API.

  2. Using a tool that can send HTTP requests to test your solution, send a DELETE API action against subscriptionId.

  3. Once unsubscribe is successful, you will receive Status Code 202 Accepted.

    Screenshot of the DELETE API action with status 200.

Deactivate a test plan

Use these steps to deactivate a test plan after you’re done testing the plan.

Note

If there is only one plan in your offer, you must create another plan before you can deactivate the test plan.

  1. Sign in to Partner Center.

  2. On the Home page, select the Marketplace offers tile.

    Illustrates the Marketplace offers tile on the Partner Center Home page.

  3. On the Marketplace Offers page, select the offer that contains the plan you want to deactivate.

  4. In the left-nav, select Plan overview.

    Screenshot of the preview links under the Go live button.

  5. For the plan you want to deactivate, in the Action column, select Stop distribution.

    Screenshot of the Stop distribution link in the Action column.

  6. To confirm that you want to deactivate the plan, in the dialog box that appears, enter the Plan ID and select the Stop selling button.

    Screenshot of the dialog box to confirm you want to Stop selling a plan.

Once you deactivate the plan, it will be no longer available in the marketplaces.