Usage of SquareConnect::CustomersApi.search_customers

1

I want to search customers by name SquareConnect::CustomersApi.search_customers,

but respose returned all customer profiles.

 

The codes below are almost the same as codes of "https://developer.squareup.com/docs/api/connect/v2/2018-09-18#endpoint-searchcustomers".

access_token=Constants::ACCESS_TOKEN
SquareConnect.configure do |config|
  config.access_token = access_token
end
api = SquareConnect::CustomersApi.new
api.search_customers({
  query: {
    filter: {
      family_name: {
        values: ["test"],
        rule: SquareConnect::CustomerInclusionExclusion::INCLUDE
      }
    }
  }
})

It there something wrong?

879件の閲覧回数
メッセージ1/2
不適切なコンテンツを報告
1 Bベストアンサー
Admin

ベストアンサー

Hi @yasunao_izawa!

 

Thanks for reaching out! Unfortunately, it is not possible to return a specific name using the CustomersAPI. This feature will return all customers and is not able to filter it out by individuals. 

 

Sorry for the inconvenience. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to pass your request off to our Product team.

 

Thank you. 

yus
Beta Specialist, Square Inc
Join the Beta Community
Evaluate | Influence | Engage

ベストアンサーを見る >

857件の閲覧回数
メッセージ2/2
不適切なコンテンツを報告
1 返信
Admin

ベストアンサー

Hi @yasunao_izawa!

 

Thanks for reaching out! Unfortunately, it is not possible to return a specific name using the CustomersAPI. This feature will return all customers and is not able to filter it out by individuals. 

 

Sorry for the inconvenience. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to pass your request off to our Product team.

 

Thank you. 

yus
Beta Specialist, Square Inc
Join the Beta Community
Evaluate | Influence | Engage
858件の閲覧回数
メッセージ2/2
不適切なコンテンツを報告