Subscription types - OBSOLETE API

List Subscription types

URL

https://dev.v3manager.com/demo/api/subscription

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/subscription"

Count Subscription types

URL

https://dev.v3manager.com/demo/api/subscription/count

HTTP Method

GET

Sum Subscription types

URL

https://dev.v3manager.com/demo/api/subscription/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/subscription/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/subscription/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Subscription type by id

URL

https://dev.v3manager.com/demo/api/subscription/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/subscription/22"

Create or update Subscription types

URL

https://dev.v3manager.com/demo/api/subscription

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
expiration Expiration duration No Membership expiration in a case of unique payment
customers Customers int No
createUserName Created by string No
createUser Created by int Yes
description Description text No
beneficiaryTag Beneficiary tag int No
beneficiaryTagName Beneficiary tag string No
customerTagName Will assign this tag string No
customerTag Will assign this tag int No
updated Update date datetime Yes
created Creation date datetime Yes
image Image image No
name Name string No
period Periodicity select No
productName Product string No
product Product int No
apportionment Prorate bool No
id ID int Yes
online Online sale bool No
Values for period
Value Name
0 Single payment
1 Monthly
20 Bimonthly
30 Quarterly
60 Biannual
120 Annual