Skip to main content
GET
/
getAvailability
Obtener disponibilidad
curl --request GET \
  --url https://api.example.com/getAvailability \
  --header 'Authorization: Bearer <token>'
{
  "status": "open",
  "suspendedUntil": "2023-11-07T05:31:56Z",
  "closedUntil": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Operation

status
enum<string>

El estado del canal de ventas.

Available options:
open,
suspended,
closed,
unknown,
error
suspendedUntil
string<date-time>

Si es que el canal de ventas está suspendido, la fecha hasta la cual está suspendido.

closedUntil
string<date-time>

Si es que el canal de ventas está cerrado, la fecha hasta la cual está cerrado.