Syncing member details

Request

GET https://yoursite.memberful.com/admin/members/42007.json?auth_token=XXXXXX
Accept: application/json

Response

Status: 200 OK
Content-Type: application/json
{
  "member": {
    "address": {
      "street": "Street",
      "city": "City",
      "postal_code": "Postal code",
      "country": "City"
    },
    "created_at": 1508168895,
    "credit_card": {
      "exp_month": 1,
      "exp_year": 2040
    },
    "custom_field": "Custom field value",
    "email": "john.doe@example.com",
    "first_name": "John",
    "full_name": "John Doe",
    "id": 0,
    "last_name": "Doe",
    "phone_number": "555-12345",
    "stripe_customer_id": "cus_00000",
    "unrestricted_access": false,
    "username": "john_doe"
  },
  "products": [
    {
      "product": {
        "id": 0,
        "name": "Sample download",
        "price": 1000,
        "slug": "0-sample-download",
        "for_sale": true
      }
    }
  ],
  "subscriptions": [
    {
      "active": true,
      "created_at": 1402281249,
      "expires": true,
      "expires_at": 1433817249,
      "in_trial_period": false,
      "renew_at_end_of_period": true,
      "subscription": {
        "id": 0,
        "price": 1000,
        "name": "Sample plan",
        "slug": "0-sample-plan",
        "renewal_period": "monthly",
        "interval_unit": "month",
        "interval_count": 1,
        "for_sale": true
      },
      "trial_end_at": null,
      "trial_start_at": null
    }
  ],
  "purchased_subscriptions": [
    {
      "active": true,
      "created_at": 1402281249,
      "expires": true,
      "expires_at": 1433817249,
      "in_trial_period": false,
      "renew_at_end_of_period": true,
      "subscription": {
        "id": 0,
        "price": 1000,
        "name": "Sample plan",
        "slug": "0-sample-plan",
        "renewal_period": "monthly",
        "interval_unit": "month",
        "interval_count": 1,
        "for_sale": true
      },
      "trial_end_at": null,
      "trial_start_at": null
    }
  ]
}

General

How to

CMS Integrations

Email Newsletters

Discussion Forums

WordPress

Video

API