# Application Status Data for Any Location

Retrieves the application's installation status in a specific location. Use it after the installation callback to confirm that the status is `active`.
For the complete owner grant → partner confirmation → status check flow, see [Install & test your app before moderation](marketplace-quickstart.md).

Endpoint: GET /marketplace/salon/{location_id}/application/{application_id}
Version: 1.0.0
Security: BearerPartner

## Security:

  - `BearerPartner` (unknown)
    http bearer Bearer {PartnerToken}

## Path parameters:

  - `location_id` (number, required)
    Location ID

  - `application_id` (number, required)
    Application ID

## Header parameters:

  - `Accept` (string, required)
    e.g. application/vnd.api.v2+json

## Response 200:

  - `200` (unknown)
    Info about application location link

## Response 200 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: true

  - `data` (object)

  - `data.connection_status` (object)
    Installation status

  - `data.connection_status.status` (string)
    Application installation status in the location. Pending - waiting for activation from the partner, Freezed - frozen due to non-payment, Active - active
    Enum: "pending", "freezed", "active"

  - `data.connection_status.created_at` (string)
    Date of link creation

  - `data.payments` (array)
    Payments list

  - `data.payments.payment_sum` (number)
    The payment amount for the period.

  - `data.payments.id` (number)
    Payment ID.

  - `data.payments.payment_date` (string)
    The date of payment.

  - `data.payments.is_refunded` (boolean)
    Was there a refund?

  - `data.payments.period_from` (string)
    Subscription start date

  - `data.payments.period_to` (string)
    Subscription end date

  - `data.logs` (array)
    Application status change log in location

  - `data.logs.changed_at` (string)
    Status change date

  - `data.logs.status_from` (string)
    Previous app status in location

  - `data.logs.status_to` (string)
    New application status in the location

  - `data.logs.source` (string)
    Status Change Source

  - `meta` (object | array)
    Additional response data (empty object or empty array)
    Example: {}

## Response 401:

  - `401` (unknown)
    No partner token given.

## Response 401 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object)
    Additional response data.

  - `meta.message` (string)
    Error message.
    Example: Authentication needed.

## Response 403:

  - `403` (unknown)
    No application access

## Response 403 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object)
    Additional response data.

  - `meta.message` (string)
    Error message.
    Example: Access denied.

## Response 404:

  - `404` (unknown)
    Application isn't installed

## Response 404 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object | array)
    Additional response data (empty object or empty array)
    Example: {}

