When I create a sellingPlan,there is a property named billingType,example in the picture.How can I get the property by the admin API?
Yes,you’re right.But how to map the billingType? Now my plan’s billingPolicy like this,so what’s the billingType? The billingType has three options (Pay As You Go,Prepaid One-Time,Prepaid Auto-renew)
{
“__typename”: “SellingPlanRecurringBillingPolicy”,
“anchors”: [],
“interval”: “WEEK”,
“intervalCount”: 1,
“maxCycles”: null,
“minCycles”: null
}
Thank you for your response.But if the mapping rule like what you mentioned, things become more complicated.As you see ,i created three plans with different billing type.But query for the details,the response like this,i don’t know why?
[{"node":{"name":"prepaid-one-time Subscription","billingPolicy":{"__typename":"SellingPlanRecurringBillingPolicy"}}},{"node":{"name":"pay-as-you-go Subscription","billingPolicy":{"__typename":"SellingPlanRecurringBillingPolicy"}}},{"node":{"name":"prepaid-auto-renew Subscription","billingPolicy":{"__typename":"SellingPlanRecurringBillingPolicy"}}}]

