Documentation
This section only applies if the module Subscriptions is active.

GET subscription/{id}

Used for

getting the information of a specific subscription.

Authentication

Requires authentication.

Parameters

Parameter Description Required Example
id ID of the subscription Yes 13
lang Language No dutch

Response codes

  • 200 OK

Example

Getting the information of subscription 13.

GET api/rest/subscription/13?lang=english 
Response: 
{
  "subscription_id": 1,
  "active": null,
  "name": "Test Abo",
  "desc": "Test Abo",
  "long_desc": "Test Abo",
  "long_memo": null,
  "price": "12",
  "currency": "",
  "setupprice": "",
  "setupcurrency": "",
  "account_code": null,
  "account_sign": null,
  "cust_account_code": null,
  "cust_account_sign": null
}
The following right may be necessary in order to use this functionality.