curl --location 'https://api-sandbox.saaslogic.io/v1/plans/search' \
--header 'Authorization: Bearer ' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"productIds": [
"8edf1695-0bd1-45c5-9a55-2ce6b6fec9ef"
],
"productNames": [
"Subscription Management Platform"
],
"statuses": [
"Published",
"Draft"
]
}'[
{
"planId": "plan-ref-0001",
"planName": "Pro Plan",
"description": "A short description",
"currencyISOCode": "USD",
"isPostPaid": false,
"isUsageBased": false,
"isVisibleToCustomer": false,
"targetCustomerTypes": [
"Business",
"Individual",
"Sub-Merchant"
],
"isTrialEnabled": false,
"serviceAddress": {
"address": "100 W. Old Wilson Bridge Road, \nOhio 43085, USA",
"countryCode": "USA",
"stateCode": "OH",
"city": "Worthington",
"zip": "43085"
},
"sellingCountryIsoCodes": [
"USA"
],
"oneTimeCharges": [
{
"label": "Setup fee",
"price": 99.00
}
],
"recurringCharges": [
{
"billingFrequency": "Monthly",
"fixedCharges": [
{
"label": "Standard",
"price": 29.99
}
],
"resourceBasedCharges": [
{
"resourceName": "API Calls",
"uomName": "Number",
"isPercentage": false,
"tiers": [
{
"rangeFrom": 0.0,
"rangeTo": 1000.0,
"price": 1.00
}
]
}
]
}
],
"includedResources": [
{
"resourceName": "Storage",
"uomName": "GB",
"value": 10.0,
"isPerUnit": true,
"dependsOnResource": "API Calls"
}
],
"features": [
"test management"
],
"tierCalculationType": "Volume",
"status": "Draft",
"productName": "Subscription Management Platform",
"shareType": "Direct"
}
]