Documentatie
Module textPhrase before ModuleName Abonnementen Module textPhrase after ModuleName.

GET customer/hasactivesubscription

Verwendet für

Prüfung, ob ein Kunde ein oder mehrere aktive Abonnements hat.
Nur zutreffend, wenn das Abonnement-Modul aktiv ist.

Authentifizierung

Als Administrator angemeldet.

Parameter

Parameter Beschreibung Erforderlich Beispiel
customer_id Kunden-ID Ja 2
subscription_id Abonnement-ID Nein 12

Ausgabe

Die Felder hängen von der Formularkonfiguration ab

Antwortcodes

  • 200 OK
  • 401 Unauthorized for current customer

Beispiel

Hat Kunde 104 mindestens ein Abonnement?

GET api/rest/customer/hasactivesubscription?customer_id=104 

Antwort:

{
   "hasactivesubscription":true
}