Memberships

A Membership represents a membership belonging to one or more Customers.

Schema

Attributes

  • The ID of the membership

  • A string describing what kind of action needs to take place

    Possible values are no_mandate, setup_unpaid, mandate_revoked, payment_failed, payment_disputed, payment_outstanding and site_id

  • The basket ID which was used to purchase this membership, if applicable.

  • end_date
    Nullable

    The date which the membership ends

  • An external reference for this membership.

  • The unique membership number of the lead member. This is always a 10 digit numeric string. Since this field only relates to the lead member, this is now deprecated. Instead, find the membership for the relevant customer in the members array.

  • The date which the membership will next be billed

  • next_charge
    Nullable

    A summary of the next charge that's due for this membership.

    This property is only populated when the membership was retrieved using the `getCustomerMemberships endpoint.

  • Details about the payment method attached to this membership. This payment method is used to take payment on the monthly billing period. If a payment method hasn't been set up, this will be null.

  • The ID of the site this membership belongs to

  • Where the membership was created

    Possible values are self_signup, app, import and unknown

  • The date which the membership starts

  • Possible values are active, needs_dd_mandate, needs_attention, reserved, inactive, expired and upcoming

  • A URL to a page where the member can provide their payment details.

  • The datetime which the membership was created

""
listMemberships

List Memberships

This endpoint lists the Memberships which are associated to the provided site.

Query parameters

  • Filters memberships belonging to the specified customer

  • page
    Optional

    The page to retrieve results from

  • per_page
    Optional

    The number of results to return per page

Responses

  • 200

    The Memberships were successfully retrieved

GET/customers/memberships
200
example response
{
  "data": [
    {
      "id": "25c32820-8af0-0ff3-bd48-560509bb42c1",
      "attention_reason": "no_mandate",
      "basket_id": "69ba84194019c101480000e8",
      "customer": {
        "id": "595cc58a-cd78-651a-53af-c367ef72262d",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1891-08-23",
        "brand_id": "47905e71-10e4-3ff2-2dc2-2b17f100d22a",
        "site_id": "9604af3d-2754-2f6b-5270-6a25d425dd86",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "bdb87b46-d47f-efee-5e8e-0b4aaa6a9948",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "0d99c4bb-c00b-15d8-d62f-e86b53015aa1",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "662eb937-94a1-3e97-c6c9-a8b182624604",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "d86d758f-fd3c-bb4c-de1e-bd710d56839f",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1919-10-06T02:41:06.0Z",
        "created_at": "1892-03-04T10:04:57.0Z",
        "updated_at": "1911-04-15T22:56:53.0Z",
        "deleted_at": "1932-02-22T17:01:50.0Z",
        "last_active_at": "1920-11-09T01:43:48.0Z",
        "email_verified_at": "1940-05-05T07:12:39.0Z",
        "last_check_in": {
          "checked_in_at": "1910-06-07T11:53:31.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "84139d9e-a1b8-e850-4fe1-4cabf07d49f2",
          "file_name": "super-cool-photo.jpg",
          "mime_type": "image/jpeg",
          "original_url": "https://example.com/media/super-cool-photo.jpg",
          "size": 84256,
          "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
        },
        "external_ref": "veniam anim fugiat culpa"
      },
      "end_date": "1897-10-27T06:57:44.0Z",
      "external_ref": "consectetur adipisicing",
      "members": [
        {
          "customer_id": "d8aa1747-ff86-4007-f6db-66e7c15290e0",
          "is_lead": false,
          "membership_number": "1234567890"
        },
        {
          "customer_id": "4571be06-b9a2-75c4-489c-5d4dd7e5ba2d",
          "is_lead": false,
          "membership_number": "1234567890"
        },
        {
          "customer_id": "78eb7d41-18fb-efa3-8705-6902f378505c",
          "is_lead": true,
          "membership_number": "1234567890"
        }
      ],
      "membership_number": "1234567890",
      "next_billing_date": "1927-11-12T17:19:26.0Z",
      "next_charge": {
        "id": "7c00c4d5-d8c7-bcf0-5807-6750193f9dad",
        "amount": 3995,
        "currency": "GBP",
        "status": "processing",
        "billing_period_from": "1908-03-29",
        "billing_period_to": "1928-06-21"
      },
      "payment_method": {
        "id": "consectetur",
        "card_brand": "amex"
      },
      "rate": {
        "id": "1210a953-2d2b-a58f-c9a5-4d4a12c4561b",
        "membership_type_id": "7d4704c6-3569-5d08-5c7a-032e9970a44e",
        "name": "Standard rate",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "billing_frequency": "P1M",
        "processors": [],
        "default_duration": "P1Y",
        "private": true,
        "created_at": "1962-05-15T17:46:01.0Z",
        "updated_at": "1945-05-06T08:51:40.0Z"
      },
      "site_id": "bacb4f06-079f-e509-7c71-dd7ea319079c",
      "source": "import",
      "start_date": "1907-01-07T20:26:40.0Z",
      "status": "expired",
      "status_updated_at": "1933-03-16T16:09:05.0Z",
      "type": {
        "id": "fa411c44-69f4-35e8-03e7-347fb82955d5",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "consectetur",
        "brand_id": "16a0d618-a613-4c06-2624-b88e2208f2b9",
        "offline_payments": false,
        "disable_confirmation_email": false,
        "private": true,
        "visibility": "public",
        "minimum_start_date": "1920-11-22T22:38:01.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "623ae74a-1ec3-a14f-f34a-19eb78c988ee",
            "membership_type_id": "ff494fb6-cd02-b213-6439-ddaceb2ba5f0",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "qui elit sunt proident nulla",
              "nulla cillum",
              "voluptate labore adipisicing cupidatat nulla"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1969-08-23T21:47:33.0Z",
            "updated_at": "1892-04-07T22:17:29.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1950-02-14T10:24:32.0Z",
        "updated_at": "1962-10-20T12:08:57.0Z",
        "deleted_at": "1947-02-26T16:50:31.0Z"
      },
      "payment_details_url": "cupidatat sunt consequat",
      "created_at": "1897-05-13T18:14:49.0Z"
    }
  ],
  "meta": {
    "from": 1,
    "to": 2,
    "total": 2,
    "current_page": 1,
    "last_page": 2,
    "per_page": 15,
    "path": "http://example.com/api"
  },
  "links": {
    "first": "http://example.com?page=1",
    "next": "https://example.com?page=3",
    "prev": "https://example.com?page=1",
    "last": "https://example.com?page=4"
  }
}
getMembership

Show a membership

Use this endpoint to retrieve a Membership by its ID.

Path parameters

Responses

  • 200

    The Membership was successfully retrieved

  • 404

    The resource couldn't be found

GET/customers/memberships/{membershipId}
200
example response
{
  "data": {
    "id": "4b5462b2-b7c4-fcd5-6202-c1dab8a0b9e9",
    "attention_reason": "payment_outstanding",
    "basket_id": "69ba84194019c101480000e9",
    "customer": {
      "id": "06fab507-415f-119c-c1ed-ba85529a50b7",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1921-08-30",
      "brand_id": "c592bd71-3f3f-60db-c1d4-ad0348c39f40",
      "site_id": "70b82729-4515-7862-252f-984e6ec46183",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "cd1c065c-1b44-084a-4f75-32ff0460e37e",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "e8f43127-ba1b-8961-45d2-ed577c25a0f9",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "5c554b58-5782-ddd5-9b61-2c8a60ca2f56",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "51ae2494-6721-f984-e8a9-44a8ed13c94d",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "cc10b7cf-a7e2-967a-c62c-f116f99334bc",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1891-04-15T01:49:02.0Z",
      "created_at": "1942-09-30T18:04:44.0Z",
      "updated_at": "1915-01-08T01:51:11.0Z",
      "deleted_at": "1935-07-02T01:44:12.0Z",
      "last_active_at": "1890-05-09T14:47:06.0Z",
      "email_verified_at": "1933-01-03T04:27:39.0Z",
      "last_check_in": {
        "checked_in_at": "1901-12-04T20:38:10.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "eea598f3-3d52-e064-aa1c-2751381bdf73",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "original_url": "https://example.com/media/super-cool-photo.jpg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
      },
      "external_ref": "ullamco do"
    },
    "end_date": "1919-12-27T21:30:05.0Z",
    "external_ref": "in",
    "members": [
      {
        "customer_id": "5ca56481-6c9f-4f64-8b94-91bc420da3a5",
        "is_lead": false,
        "membership_number": "1234567890"
      }
    ],
    "membership_number": "1234567890",
    "next_billing_date": "1907-05-01T03:49:11.0Z",
    "next_charge": {
      "id": "6e5dce54-75cb-d5ae-a785-ae4cffd916d5",
      "amount": 3995,
      "currency": "GBP",
      "status": "processing",
      "billing_period_from": "1930-04-05",
      "billing_period_to": "1965-08-08"
    },
    "payment_method": {
      "id": "fugiat incididunt"
    },
    "rate": {
      "id": "3e3703c1-2e90-ba87-fdeb-a4431814fbe1",
      "membership_type_id": "4530fb27-d8de-6686-c34e-b173e74d0a48",
      "name": "Standard rate",
      "currency": "GBP",
      "price": 5000,
      "joining_fee": 1000,
      "billing_frequency": "P1M",
      "processors": [
        "mollit labore reprehenderit dolor in",
        "occaecat et in dolore in",
        "do magna aute ut cupidatat",
        "laboris"
      ],
      "default_duration": "P1Y",
      "private": true,
      "created_at": "1935-04-01T08:47:49.0Z",
      "updated_at": "1921-08-31T07:50:06.0Z"
    },
    "site_id": "693fd7d8-7bc7-b78f-a380-c3150a5a8b62",
    "source": "self_signup",
    "start_date": "1926-09-08T17:36:43.0Z",
    "status": "reserved",
    "status_updated_at": "1966-06-25T14:40:53.0Z",
    "type": {
      "id": "6abce6f4-3e6e-8d96-3f4a-80ab2f7d88b2",
      "name": "Gold tier",
      "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
      "terms": "laborum ad aliquip",
      "brand_id": "763f9de2-33da-e5fe-ccca-9dd944a6a5b0",
      "offline_payments": false,
      "disable_confirmation_email": true,
      "private": false,
      "visibility": "public",
      "minimum_start_date": "1943-04-11T21:44:54.0Z",
      "min_members": 2,
      "max_members": 4,
      "rates": [
        {
          "id": "ee3822da-f113-1f54-c9e8-bf0d381dc27e",
          "membership_type_id": "b0fc0197-a4b4-e102-b461-6c448d9a9546",
          "name": "Standard rate",
          "currency": "GBP",
          "price": 5000,
          "joining_fee": 1000,
          "billing_frequency": "P1M",
          "processors": [
            "esse Duis"
          ],
          "default_duration": "P1Y",
          "private": true,
          "created_at": "1916-07-19T02:15:40.0Z",
          "updated_at": "1947-12-09T20:24:38.0Z"
        },
        {
          "id": "f9bde2b7-fd45-47aa-55dd-2dd6d0210bbc",
          "membership_type_id": "ab0f3b8f-43c2-5c78-a573-4d5547d08cc8",
          "name": "Standard rate",
          "currency": "GBP",
          "price": 5000,
          "joining_fee": 1000,
          "billing_frequency": "P1M",
          "processors": [
            "aliqua",
            "sunt sint Duis ea ut",
            "sunt voluptate minim irure",
            "dolor in enim ullamco",
            "occaecat et nostrud fugiat"
          ],
          "default_duration": "P1Y",
          "private": true,
          "created_at": "1964-05-24T19:39:30.0Z",
          "updated_at": "1911-02-08T10:20:25.0Z"
        },
        {
          "id": "3eeefe7f-5046-b700-2ccb-7b962f03329b",
          "membership_type_id": "ef87f63f-1aba-0e04-47c8-ae512213f927",
          "name": "Standard rate",
          "currency": "GBP",
          "price": 5000,
          "joining_fee": 1000,
          "billing_frequency": "P1M",
          "processors": [
            "est ad pariatur",
            "dolor",
            "cupidatat non voluptate magna",
            "elit aliquip consequat",
            "et ad magna"
          ],
          "default_duration": "P1Y",
          "private": true,
          "created_at": "1960-09-17T16:29:47.0Z",
          "updated_at": "1961-08-03T21:35:27.0Z"
        }
      ],
      "revenue_schedule": "FREQ=WEEKLY",
      "created_at": "1936-09-19T10:38:57.0Z",
      "updated_at": "1924-05-20T11:34:23.0Z",
      "deleted_at": "1892-04-26T06:33:28.0Z"
    },
    "payment_details_url": "est",
    "created_at": "1925-07-24T23:22:25.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionAddMembershipChargePayment

Record a manual payment against a charge

This endpoint allows a manual (off-Trybe) payment to be recorded against a membership charge.

Path parameters

Request body

  • The ID of the custom payment type this payment should be recorded as

  • amount
    Nullable

    The amount of the payment

Responses

  • 200

    A charge against a membership.

  • 404

    The resource couldn't be found

POST/shop/membership-charges/{chargeId}/payment
200
example response
{
  "data": {
    "id": "c89905ed-0388-9933-06a6-5ce40f62644e",
    "membership": {
      "id": "80dfee7d-7d03-e3c5-9978-b1b9fbb2325f",
      "membership_number": "00000014",
      "type_name": "Gold Membership",
      "customer_id": "3807a5f2-124f-3a54-ce91-e4934e48a519",
      "customer_name": "Jane Jones"
    },
    "processor": "adyen",
    "processor_data": {
      "cardholder_name": "Mrs J Jones"
    },
    "amount": 3995,
    "original_amount": 3995,
    "currency": "gbp",
    "tax": 1000,
    "status": "succeeded",
    "description": "deserunt Lorem",
    "can_download_receipt": false,
    "amount_refunded": 9953732,
    "refunded": true,
    "refunds": [
      {
        "id": "9dc52130-239b-f459-0a63-4a7e6873c2f6",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "5ba868b3-51a6-beee-6597-1584bcb7a8aa",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1965-10-02T01:40:30.0Z",
        "updated_at": "1913-12-20T05:49:43.0Z"
      },
      {
        "id": "55cfbd24-77d3-f861-74ed-6b29522d8880",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "65fdca9d-2556-0454-6382-ff02ae3e833c",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1918-09-22T12:19:59.0Z",
        "updated_at": "1948-07-16T01:11:20.0Z"
      }
    ],
    "site_id": "b83da3a0-2cd1-0193-24c0-a9ebd30698c4",
    "billing_period_from": "1903-10-19",
    "billing_period_to": "1935-07-13",
    "processing_at": "1954-05-11T09:27:06.0Z",
    "created_at": "1957-02-20T04:17:34.0Z",
    "updated_at": "1899-01-09T01:58:23.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionProcessMembershipCharge

Manually process a charge for a membership

This endpoint allows a membership charge to be processed manually.

Path parameters

Responses

  • 200

    A charge against a membership.

  • 404

    The resource couldn't be found

POST/shop/membership-charges/{chargeId}/process
200
example response
{
  "data": {
    "id": "210fec87-0153-a39e-d0c6-0528699d6e93",
    "membership": {
      "id": "c76b3df5-3eb7-34ad-3726-1b8da13c0c14",
      "membership_number": "00000014",
      "type_name": "Gold Membership",
      "customer_id": "468e1168-dd47-9597-231c-1eefac0e91c4",
      "customer_name": "Jane Jones"
    },
    "processor": "adyen",
    "processor_data": {
      "cardholder_name": "Mrs J Jones"
    },
    "amount": 3995,
    "original_amount": 3995,
    "currency": "gbp",
    "tax": 1000,
    "status": "succeeded",
    "description": "cupidatat fugiat enim culpa",
    "can_download_receipt": true,
    "amount_refunded": 91284195,
    "refunded": false,
    "refunds": [
      {
        "id": "86505df7-5b96-4bbd-4f35-68042b7c7456",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "3bd9ec90-8e4c-6278-85c5-1971e7e45417",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1895-07-04T12:25:17.0Z",
        "updated_at": "1961-02-02T18:35:51.0Z"
      }
    ],
    "site_id": "2e9398d8-fb35-fa75-3224-ee7279bbd2a4",
    "billing_period_from": "1956-10-15",
    "billing_period_to": "1936-12-03",
    "processing_at": "1949-09-02T15:34:01.0Z",
    "created_at": "1911-12-16T19:09:17.0Z",
    "updated_at": "1969-04-23T01:42:06.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionRetryMembershipCharge

Manually retry a charge for a membership

This endpoint allows a membership charge to be retried manually.

Path parameters

Responses

  • 200

    A charge against a membership.

  • 404

    The resource couldn't be found

POST/shop/membership-charges/{chargeId}/retry
200
example response
{
  "data": {
    "id": "2b8d451d-6db3-55f8-310a-959d8cb4580a",
    "membership": {
      "id": "ccdcdd41-ea6e-1062-ed04-4121c99ff7c4",
      "membership_number": "00000014",
      "type_name": "Gold Membership",
      "customer_id": "52965ec2-5a73-a1bb-f863-88a4bc56a226",
      "customer_name": "Jane Jones"
    },
    "processor": "adyen",
    "processor_data": {
      "last_4": 4001,
      "processor_type": "Cash",
      "processor_type_id": "69ba84194019c101480000ea"
    },
    "amount": 3995,
    "original_amount": 3995,
    "currency": "gbp",
    "tax": 1000,
    "status": "succeeded",
    "description": "sint sunt minim tempor",
    "can_download_receipt": true,
    "amount_refunded": -30240767,
    "refunded": false,
    "refunds": [
      {
        "id": "889d1eac-a65e-57bb-cf4c-d0c33f0479c8",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "2576152c-2c03-425c-a8f1-4d5455cd42ca",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1947-06-03T21:06:39.0Z",
        "updated_at": "1950-09-10T19:51:35.0Z"
      }
    ],
    "site_id": "10b5a185-f8ab-e91a-3d2f-01c6e1a2d446",
    "billing_period_from": "1891-12-02",
    "billing_period_to": "1901-01-01",
    "processing_at": "1950-11-05T11:51:43.0Z",
    "created_at": "1959-08-23T21:18:21.0Z",
    "updated_at": "1911-03-02T17:35:44.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
createMembershipSms

Send an SMS message for a membership

This endpoint sends an SMS message to a membership's lead member. Currently supports sending billing details request messages.

Path parameters

Request body

  • message_type
    Required

    The type of message to send.

    Possible values are billing_details_request

  • If true, send the SMS even if the membership already has a payment method. Defaults to false.

Responses

  • 200

    The SMS message was successfully sent

  • 404

    The resource couldn't be found

  • 422

    The request didn't pass validation

POST/shop/memberships/{membershipId}/sms
200
example response
{
  "data": {
    "id": "69ba841a4019c10148000412",
    "organisation_id": "514be74a-c005-1961-ca12-090d4eb6fc52",
    "site_id": "218fb52f-48fb-d190-9e6f-9194ef04d7c2",
    "customer_id": "8bc02370-9d53-bb8b-fed5-c1e31cbc6c3b",
    "membership_id": "63485238-cec1-d49a-8fac-86128f6b0908",
    "from": "Trybe",
    "to": "+447123456789",
    "message": "pariatur nostrud",
    "message_type": "billing_details_request",
    "message_delivered": true,
    "created_at": "2024-02-02T12:01:01.0Z",
    "sent_at": "2024-02-02T12:01:01.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
422
example response
{
  "errors": {
    "adipisicing_482": [],
    "in_65": [
      "sit tempor",
      "commodo ea",
      "non",
      "dolor eiusmod nisi anim"
    ],
    "anim_678": [
      "laborum veniam magna do",
      "non Excepteur laborum dolor"
    ]
  },
  "message": "The request didn't pass validation"
}
createMembershipSmsPreview

Preview an SMS message for a membership

This endpoint previews an SMS message for a membership.

Path parameters

Request body

  • message_type
    Required

    The type of the SMS message.

    Possible values are billing_details_request

  • If true, preview the SMS even if the membership already has a payment method. Defaults to false.

Responses

  • 200

    The preview of the SMS message was successfully retrieved

  • 404

    The resource couldn't be found

POST/shop/memberships/{membershipId}/sms/preview
200
example response
{
  "data": {
    "message": "Your Premium Membership membership is almost ready! Please provide payment details for your membership payments. Set up here: https://example.com/confirm\n",
    "site_id": "d9225ab3-4bab-1a45-34a8-c2b917ca069d",
    "organisation_id": "3ada3574-1ea5-d4d9-2dc0-17390e82cb34"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}