Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Easiest way to get access to customer's contact list of phone numbers

Does Q2 provide a way to access a user's contact list?

Posted 3 years ago
Votes Newest

Answers


Hi, Draden.

For getting a list of phone numbers for Customers, using the PhoneNumber DBObject would be a safe bet. The methods get() and get_customer_phone_numbers() should do what you want.

Documentation: https://docs.q2developer.com/api_references/q2_sdk/db/db_objects/phone_number.html?highlight=phone#module-q2_sdk.hq.db.phone_number

Posted 3 years ago
93 Views
1 Answer
3 years ago
3 years ago