For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
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?
Solved! Go to the solution
This is an accepted solution.
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
}
}
]
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
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
}
}
]
To learn more visit the Shopify Help Center or the Community Blog.