Skip to main content

Create a new phase

POST 

/organizations/:organizationId/projects/:projectId/platforms/android/subscriptions/:productId/base-plans/:basePlanId/offers/:offerId/phases

Create a new phase

Request

Path Parameters

    organizationId stringrequired
    projectId stringrequired
    productId stringrequired
    basePlanId stringrequired
    offerId stringrequired

Body

required
    type stringrequired

    Possible values: [introductory_price, regular, trial, free_trial, discounted_recurring_payment, single_payment]

    Type of the phase

    duration stringrequired

    Duration of the phase

    priceOverride stringrequired

    Possible values: [fixed_amount, percentage_discount, absolute_discount]

    Override type for the phase price

    billingPeriods numberrequired

    Number of billing periods for which the override applies

    prices object[]

    Prices and availability for different countries

  • Array [
  • country stringrequired

    The country code

    priceAmountMicros int64required

    The price

  • ]

Responses

Successfully created phase.

Schema
    id stringrequired

    The unique identifier for the phase.

    type PhaseTyperequired

    Possible values: [introductory_price, regular, trial, free_trial, discounted_recurring_payment, single_payment]

    The type of the phase.

    duration stringrequired

    Duration of the phase

    priceOverride stringrequired

    Possible values: [fixed_amount, percentage_discount, absolute_discount]

    Override type for the phase price

    billingPeriods numberrequired

    Number of billing periods for which the override applies

    prices object[]

    Prices and availability for different countries

  • Array [
  • country stringrequired

    The country code

    priceAmountMicros int64required

    The price

  • ]
Loading...