Get application status

Get application status in an Ecwid store.

How it works

Free apps:

  • Ecwid will always return ACTIVE unless application is uninstalled.

Paid apps using external billing:

  • Ecwid will always return ACTIVE unless application is uninstalled.

Paid apps using Ecwid billing:

  • Ecwid will return ACTIVE if application is successfully installed and paid by a user.
  • Ecwid will return SUSPENDED if there was an issue with prolongating subscription of this app.

Paid apps using Ecwid billing with free trial:

  • Ecwid will return TRIAL if this Ecwid store uses free trial of your application at the moment.
  • Ecwid will return ACTIVE if application is successfully installed and paid by a user.
  • Ecwid will return SUSPENDED if there was an issue with prolongating subscription of this app.

What is Ecwid billing and how do I use it?

Ecwid billing is a feature that allows to accept payments for applications. It works out of the box, so no additional development is required to use it. You can specify free trial period for new installs and active users pay on a monthly basis. To find out more details and how to use it, please visit: https://api-docs.ecwid.com/reference/billing

Headers

NameTypeDescription
AuthorizationstringApp token for the store with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with the oAuth token.

Response

A JSON object of type 'Application' with the following fields:

Application

FieldTypeDescription
subscription<SubscriptionDetails>Subscription details for the application
subscriptionStatusstringApplication status in Ecwid store. One of ACTIVE, SUSPENDED or TRIAL

SubscriptionDetails

FieldTypeDescription
startDatestringApp subscription start timestamp
expirationDatestringApp subscription end timestamp
statusstringApplication status in Ecwid store. One of ACTIVE, SUSPENDED or TRIAL

HTTP codes

HTTP StatusMeaning
415Unsupported content-type: expected application/json or text/json
Language
Authorization
Query