purchase

Create purchase code

post/purchase

Request

  • Base URL
    https://database.copped-inc.com
  • Auth
    API key in header Password

Request body

planinteger required

Plans

The plan determines the type of subscription a user purchases. This affects permissions and billing for example. Valid plans are:

  • 1 Friends & Family
  • 2 Basic
  • 3 Developer - equals admin permissions

0 means the user doesn't have an active subscription anymore.

stockinteger required

How many subscriptions may be purchased using this link

instance_limitinteger required

Response

Purchase link created successfully

linkstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.