Hey ![]()
I have a question regarding cycleDiscounts [SubscriptionCyclePriceAdjustment!]!.
I’m trying to setup subscriptions in a way so that:
- first order has a 10% discount
- recurring orders have 0% discount (no discount)
This is my current pricingPolicy setup for one of my subscription contracts:
{
"pricingPolicy": {
"basePrice": {
"amount": "100.0",
"currencyCode": "USD"
},
"cycleDiscounts": [
{
"adjustmentType": "PERCENTAGE",
"adjustmentValue": {
"percentage": 10
},
"afterCycle": 0,
"computedPrice": {
"amount": "90.0",
"currencyCode": "USD"
}
},
{
"adjustmentType": "PERCENTAGE",
"adjustmentValue": {
"percentage": 0
},
"afterCycle": 1,
"computedPrice": {
"amount": "100.0",
"currencyCode": "USD"
}
}
]
}
}
For some reason my first three orders all receive the 10% discount:
{
"orders": {
"edges": [
{
"node": {
"id": "gid://shopify/Order/6308677451875",
"subtotalPrice": "90.00",
"currencyCode": "USD",
"createdAt": "2025-06-20T12:24:03Z" // billingCycle: 0
}
},
{
"node": {
"id": "gid://shopify/Order/6310083395683",
"subtotalPrice": "90.00",
"currencyCode": "USD",
"createdAt": "2025-06-21T16:30:26Z" // billingCycle: 1
}
},
{
"node": {
"id": "gid://shopify/Order/6311319896163",
"subtotalPrice": "90.00",
"currencyCode": "USD",
"createdAt": "2025-06-22T17:15:07Z" // billingCycle: 2
}
}
]
}
}
Recurring orders are created using subscriptionBillingCycleBulkCharge [GraphQL] mutation.
Has anyone had a similar problem? I’m not sure what’s wrong with my setup ![]()