Customer API

List customers

POST /apps/any/queries/read__qpt__list_customers
POST /apps/any/queries/read__qpt__list_customers {'limit': '2', 'offset': '0'}
Response:

{ "objects": [ { "addr_address_1": "123 Street", "addr_address_2": "", "addr_city": "123 City", "addr_city_state": "123 City AK", "addr_postal_code": "12457", "addr_sub_state": "", "cnum_number": "(555) 475-4147", "cust_attrs": { "astroloyalty": { "refused_to_join": true } }, "cust_birthday_ymd": null, "cust_info": "LuNaPP2", "cust_is_mfd": false, "cust_last_purchase_date": "2023-03-28", "cust_loyalty_acct_code": "", "cust_preferred_loc_entity_id": 4, "cust_vert_msg": { "applications": [ { "app_id": 7, "messages": [ "Bonus Bucks Balance: 0.00" ] } ] }, "cust_warning": "", "eml_email": "rjones@pinogy.com", "ent_business_name": "", "ent_first_name": "123", "ent_last_name": "Smith", "ent_name": "123 Smith", "entity_id": 882, "loc_report_code": "PS", "person_name": "123 Smith", "postal_region_id": 4626, "prgn_full_name": "Alaska", "prgn_iso_code": "AK", "role_ids": [ -3, 1011 ], "role_names": "Military,Customer" }, { "addr_address_1": "4 My Way", "addr_address_2": "", "addr_city": "Our Town", "addr_city_state": "Our Town VA", "addr_postal_code": "20170", "addr_sub_state": "", "cnum_number": "5551234567", "cust_attrs": { "astroloyalty": { "astro_customer_id": "9290090" }, "deals_media": { "refused_to_join": true } }, "cust_birthday_ymd": null, "cust_info": "Max black lab. Sally yellow lab.", "cust_is_mfd": false, "cust_last_purchase_date": "2023-08-23", "cust_loyalty_acct_code": "VIP54234", "cust_preferred_loc_entity_id": 4, "cust_vert_msg": { "applications": [ { "app_id": 7, "messages": [ "Bonus Bucks Balance: 0.00" ] } ] }, "cust_warning": "Do not accept checks", "eml_email": "einstein@pinogy.com", "ent_business_name": "", "ent_first_name": "AAron", "ent_last_name": "BeeBee", "ent_name": "AAron BeeBee", "entity_id": 160, "loc_report_code": "PS", "person_name": "AAron BeeBee", "postal_region_id": 4677, "prgn_full_name": "Virginia", "prgn_iso_code": "VA", "role_ids": [ -3 ], "role_names": "Customer" } ], "total": 433 }