Get all Customers

Get a list of customers

GET https://api.moltin.com/v2/customers

Query Parameters

NameTypeDescription

filter

string

Filter the results.

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API. Grant type must be client_credentials.

{
    "data": [
        {
            "type": "customer",
            "id": "2479c9b3-615d-4ebc-a99d-87ffc67d1955",
            "name": "Ron Swanson",
            "email": "ron@swanson.com",
            "password": true
        },
        {
            "type": "customer",
            "id": "7746d533-fd64-446f-ae8c-f8e07f3ed9fd",
            "name": "Ron Swanson_",
            "email": "ron_@swanson.com",
            "password": true
        }
    ],
    "meta": {
        "page": {
            "limit": 10,
            "offset": 0,
            "current": 1,
            "total": 1
        },
        "results": {
            "total": 2
        }
    }
}

You can use pagination with this resource. See: Settings for details.

curl -X GET https://api.moltin.com/v2/customers \
     -H "Authorization: Bearer XXXX"

Last updated