Free trial for subscriptions

I built a subscriptions app that uses Shopify GraphQL, and now I got a requirement to have a free trial period for some subscriptions that we want to sell at my company.

Ideally I would like to have a selling plan that has the first payment at 0$, or has the first payment delayed.

How can I do something like that?

Hi,

You could achieve this by setting the fixed pricing policy with PRICE 0 or PERCENTAGE 100 and recurring pricing policy with PERCENTAGE 0 or FIXED AMOUNT 0.

Reference on definition of each adjustment type

pricingPolicies: [
        {
          fixed: {
            adjustmentType: PRICE
            adjustmentValue : {
              fixedValue: 0
            },
          }
        },
        {
          recurring: {
            adjustmentType: FIXED_AMOUNT
            adjustmentValue: {
              fixedValue: 0
            }
            afterCycle: 1
          }
        }
      ]

# or

pricingPolicies: [
        {
          fixed: {
            adjustmentType: PRICE
            adjustmentValue : {
              fixedValue: 0
            },
          }
        },
        {
          recurring: {
            adjustmentType: PERCENTAGE
            adjustmentValue: {
              percentage: 0
            }
            afterCycle: 1
          }
        }
      ]

# or

pricingPolicies: [
        {
          fixed: {
            adjustmentType: PERCENTAGE
            adjustmentValue : {
              percentage: 100
            },
          }
        },
        {
          recurring: {
            adjustmentType: FIXED_AMOUNT
            adjustmentValue: {
              fixedValue: 0
            }
            afterCycle: 1
          }
        }
      ]

# or

pricingPolicies: [
        {
          fixed: {
            adjustmentType: PERCENTAGE
            adjustmentValue : {
              percentage: 100
            },
          }
        },
        {
          recurring: {
            adjustmentType: PERCENTAGE
            adjustmentValue: {
              percentage: 0
            }
            afterCycle: 1
          }
        }
      ]

@qc11 Thanks a lot! It worked