Arketa

App · 13 actions

See a studio's classes, clients and purchases, and book, cancel or check in class reservations.

Actions

ActionWhat it does
Book a new client into a classReserve a spot in a class for someone new: Arketa adds them as a client.
Book an existing client into a classReserve a spot in a class for a client already in Arketa, using one of their purchases.
Cancel a reservationCancel a client's reservation in a class, with or without a refund.
Check in a reservationMark a client as arrived for the class they reserved.
Get a classGet one class: its time, room, capacity and how many have booked.
Get a clientGet one client's name, contact details and birthday.
List class reservationsList the reservations made for one class.
List classesList classes, optionally for one location and between two times.
List clientsList the studio's clients, optionally only those changed in a time range.
List locationsList the studio's locations, with their addresses.
List purchasesList clients' memberships, class packs and drop-ins, with what each has left.
List referralsList who referred whom, and the reward each got.
List roomsList the rooms of one location.

Book a new client into a class

Reserve a spot in a class for someone new: Arketa adds them as a client.

Inputs

Class IDclass_idtextRequired
The class, by ID.
First namefirst_nametextRequired
The client's first name.
Last namelast_nametextRequired
The client's last name.
EmailemailtextRequired
The client's email address.
Phonephonetext
The client's phone number, such as +14155550123.
Purchase IDpurchase_idtext
A purchase that pays for the class, by ID. Leave empty if the class needs none.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "item": {
      "checked_in": true,
      "checked_in_at": "example",
      "class_id": "example",
      "client": {
        "email": "example",
        "first_name": "example",
        "last_name": "example",
        "phone": "example"
      },
      "client_id": "example",
      "created_at": "example",
      "id": "example",
      "spot_id": "example",
      "spot_name": "example",
      "status": "BOOKED",
      "updated_at": "example"
    }
  }
}

Book an existing client into a class

Reserve a spot in a class for a client already in Arketa, using one of their purchases.

Inputs

Class IDclass_idtextRequired
The class, by ID.
Client IDclient_idtextRequired
The client to book, by ID.
Purchase IDpurchase_idtextRequired
The client's purchase (membership or class pack) that pays for the class, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "item": {
      "checked_in": true,
      "checked_in_at": "example",
      "class_id": "example",
      "client": {
        "email": "example",
        "first_name": "example",
        "last_name": "example",
        "phone": "example"
      },
      "client_id": "example",
      "created_at": "example",
      "id": "example",
      "spot_id": "example",
      "spot_name": "example",
      "status": "BOOKED",
      "updated_at": "example"
    }
  }
}

Cancel a reservation

Cancel a client's reservation in a class, with or without a refund.

Inputs

Class IDclass_idtextRequired
The class, by ID.
Reservation IDreservation_idtextRequired
The reservation, by ID.
Late cancellationis_late_canceltrue/false
On to record it as a late cancellation, under the studio's late-cancel rules.
Issue refundissue_refundtrue/false
On to give back what the client paid for the class.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "item": {
      "success": true,
      "updated_at": "example"
    }
  }
}

Check in a reservation

Mark a client as arrived for the class they reserved.

Inputs

Class IDclass_idtextRequired
The class, by ID.
Reservation IDreservation_idtextRequired
The reservation, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "item": {
      "success": true,
      "updated_at": "example"
    }
  }
}

Get a class

Get one class: its time, room, capacity and how many have booked.

Inputs

Class IDclass_idtextRequired
The class, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "item": {
      "canceled": true,
      "deleted": true,
      "description": "example",
      "duration": 1,
      "id": "example",
      "instructor_name": "example",
      "location_id": "example",
      "max_capacity": 1,
      "name": "example",
      "room_id": "example",
      "start_time": "example",
      "total_booked": 1,
      "updated_at": "example"
    }
  }
}

Get a client

Get one client's name, contact details and birthday.

Inputs

Client IDclient_idtextRequired
The client, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "item": {
      "created_at": "example",
      "date_of_birth": "example",
      "email": "example",
      "first_name": "example",
      "gender": "male",
      "id": "example",
      "last_name": "example",
      "phone": "example",
      "removed": true,
      "updated_at": "example"
    }
  }
}

List class reservations

List the reservations made for one class.

Inputs

Class IDclass_idtextRequired
The class, by ID.
Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "checked_in": true,
        "checked_in_at": "example",
        "class_id": "example",
        "client": {
          "email": "example",
          "first_name": "example",
          "last_name": "example",
          "phone": "example"
        },
        "client_id": "example",
        "created_at": "example",
        "id": "example",
        "spot_id": "example",
        "spot_name": "example",
        "status": "BOOKED",
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

List classes

List classes, optionally for one location and between two times.

Inputs

Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.
Locationlocation_idtext
Only classes at this location.
Starts afterstart_datedate and time
Only classes that start at or after this time.
Ends beforeend_datedate and time
Only classes that end before this time.
IDsidslist
Fetch only these records, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "canceled": true,
        "deleted": true,
        "description": "example",
        "duration": 1,
        "id": "example",
        "instructor_name": "example",
        "location_id": "example",
        "max_capacity": 1,
        "name": "example",
        "room_id": "example",
        "start_time": "example",
        "total_booked": 1,
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

List clients

List the studio's clients, optionally only those changed in a time range.

Inputs

Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.
Updated afterupdated_at_mindate and time
Only records changed at or after this time.
Updated beforeupdated_at_maxdate and time
Only records changed at or before this time.
IDsidslist
Fetch only these records, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "date_of_birth": "example",
        "email": "example",
        "first_name": "example",
        "gender": "male",
        "id": "example",
        "last_name": "example",
        "phone": "example",
        "removed": true,
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

List locations

List the studio's locations, with their addresses.

Inputs

Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.
Updated afterupdated_at_mindate and time
Only records changed at or after this time.
Updated beforeupdated_at_maxdate and time
Only records changed at or before this time.
IDsidslist
Fetch only these records, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "address": {
          "city": "example",
          "country": "example",
          "line1": "example",
          "line2": "example",
          "postal_code": "example",
          "state": "example"
        },
        "deleted": true,
        "description": "example",
        "id": "example",
        "name": "example",
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

List purchases

List clients' memberships, class packs and drop-ins, with what each has left.

Inputs

Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.
Updated afterupdated_at_mindate and time
Only records changed at or after this time.
Updated beforeupdated_at_maxdate and time
Only records changed at or before this time.
IDsidslist
Fetch only these records, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "client_id": "example",
        "end_date": "example",
        "id": "example",
        "name": "example",
        "offering_id": "example",
        "price": 1,
        "remaining_uses": 1,
        "start_date": "example",
        "status": "ACTIVE",
        "type": "subscription",
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

List referrals

List who referred whom, and the reward each got.

Inputs

Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.
Updated afterupdated_at_mindate and time
Only records changed at or after this time.
Updated beforeupdated_at_maxdate and time
Only records changed at or before this time.
IDsidslist
Fetch only these records, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "id": "example",
        "referral_date": "example",
        "referred_user_id": "example",
        "referred_user_reward": {
          "type": "amount",
          "value": 1
        },
        "referring_user_id": "example",
        "referring_user_reward": {
          "type": "amount",
          "value": 1
        },
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

List rooms

List the rooms of one location.

Inputs

Locationlocation_idtextRequired
The location whose rooms to list.
Limitlimitnumber
How many records to return, from 1 to 100. Arketa returns 10 when this is empty.From 1 to 100.
Start after IDstart_aftertext
To read the next page, the **nextStartAfterId** from the page before.
Updated afterupdated_at_mindate and time
Only records changed at or after this time.
Updated beforeupdated_at_maxdate and time
Only records changed at or before this time.
IDsidslist
Fetch only these records, by ID.

Outputs

dataobject
The response from Arketa.
Example output
{
  "data": {
    "items": [
      {
        "description": "example",
        "id": "example",
        "location_id": "example",
        "name": "example",
        "spot_map": {},
        "updated_at": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "nextStartAfterId": "example"
    }
  }
}

On this page