crisphive
顧客顧客一覧の取得

顧客一覧の取得

現在のビジネスに属する顧客の、ページネーションおよび検索が可能な一覧を返します。

引数

qstringquery任意
氏名、UID、電話番号、メールアドレスで検索します
tierarray<string>query任意
ティアで絞り込みます: regular|vip(複数指定可)
statusstringquery任意
ステータスで絞り込みます: active|inactive
preferred_technician_idstringquery任意
希望テクニシャンの UUID で絞り込みます
sortstringquery任意
並び順: created_at_desc|created_at_asc|name_asc|name_desc|uid_asc|uid_desc(デフォルト: created_at_desc)
pageintegerquery任意
ページ番号(デフォルト 1)
limitintegerquery任意
ページサイズ(デフォルト 15、最大 1000)
sincestringquery任意
ショートポーリング用の RFC3339 カーソルです。前回のレスポンスの next_since をそのまま指定してください
GET/v1/customers
curl -X GET "https://api.crisphive.com/v1/customers" \
  -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT"

レスポンス