Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Subscriptions
  • Get Started
  • Create Your First App
  • App Events
  • Settings
    • App Setting Details
      GET
    • Update App Settings
      POST
  • Subscriptions
    • App Subscription Details
      GET
    • Update Subscription Balance
      POST
  1. Subscriptions

App Subscription Details

Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
GET
https://api.salla.dev/admin/v2
/apps/{app_id}/subscriptions
Subscriptions
Last modified:2024-12-24 06:42:02
This endpoint allows you to fetch details of App Subscriptions per Salla Store.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
app_id
integer 
required
Salla Application ID. Salla Partners > My Apps > Your App

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/apps//subscriptions'

Responses

🟢200Success
application/json
Body
status
number 
optional
Response Status Code
Example:
200
success
boolean 
optional
Whether or not the response is successful
Default:
true
data
array[object (Subscription Detail Response) {19}] 
optional
id
string 
optional
Salla App ID
Example:
2032004508
app_name
string 
optional
Salla App Name
Example:
BitoShip
description
string 
optional
Salla App Description
Example:
BitoShip Description
app_type
enum<string> 
optional
Salla App Type
Allowed values:
appshipping
Example:
shipping
categories
array[string]
optional
Salla App Categories
Allowed values:
Shipping' & 'FulfillmentAccounting & FinanceMarketingAnalyticsEmailGeolocationSite OptimizationSMSChatOthers
plan_type
enum<string> 
optional
App Plan Types
Allowed values:
freeoncerecurringon_demand
Example:
recurring
plan_name
string 
optional
Plan Name
Example:
Yearly
plan_period
string  | null 
optional
Plan Period in months
Example:
12
start_date
string  | null 
optional
Plan Start Date
Example:
2022-12-31
end_date
string  | null 
optional
Plan End Date
Example:
2023-12-31
initialization_cost
integer  | null 
optional
This refers to the one-time cost associated with setting up a new subscription. This cost can include things like the cost of hardware, software, and installation
Example:
10
price_before_discount
integer  | null 
optional
Original Price Before Discount
Example:
5
price
integer  | null 
optional
Original Plan Price
Example:
200
tax
number  | null 
optional
Tax Percentage
Example:
0.15
tax_value
number  | null 
optional
Tax Value
Example:
30
total
number  | null 
optional
Total Price Amount (tax included)
Example:
230
subscription_balance
number  | null 
optional
The subscription balance is the amount of balance that a Merchant owes for the App’s service.
Example:
50
coupon
object  | null 
optional
features
array [object {2}] 
optional
Examples
{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": "657032372",
      "app_name": "App 1.2",
      "description": "App 1.2 App 1.2 App 1.2 App 1.2 App 1.2 App 1.2 App 1.2",
      "app_type": "app",
      "categories": [
        "Others"
      ],
      "plan_type": "recurring",
      "plan_name": "Free",
      "plan_period": null,
      "start_date": null,
      "end_date": null,
      "initialization_cost": 0,
      "price_before_discount": 0,
      "price": 0,
      "tax": 0,
      "tax_value": 0,
      "total": 0,
      "subscription_balance": null,
      "coupon": null,
      "features": []
    }
  ]
}
🟠403Unauthorized
Modified at 2024-12-24 06:42:02
Previous
Subscriptions
Next
Update Subscription Balance