Langsung ke konten utama
GET
/
v3
/
stores
/
{store_id}
/
customers
/
me
/
subscription-items
/
{id}
/
downgrade
List subscription downgrade options
curl --request GET \
  --url https://api.scalev.com/v3/stores/{store_id}/customers/me/subscription-items/{id}/downgrade \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "currency": "IDR",
      "id": 123,
      "images": [
        "<string>"
      ],
      "interval_count": 123,
      "name": "<string>",
      "price": 123,
      "product_name": "<string>",
      "unique_id": "<string>",
      "validity_period": 123
    }
  ],
  "is_paginated": false
}

Otorisasi

Authorization
string
header
wajib

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parameter Path

id
string
wajib
store_id
string
wajib

Store unique_id.

Respons

List of downgrade variants

Non-paginated list payload for v3.

data
VariantSubscription · object[]
wajib
is_paginated
enum<boolean>
wajib
Opsi yang tersedia:
false
Contoh:

false