PROD

This service gives you the customer information based on the email.

Resource information
AuthenticationRequired
Scopecustomer
HTTP MethodGET
ResponseJSON
Version1

Resource URL

https://mapaprop.app/api/action/customer-v1/{email}

Parameters

KeyTypeRequiredDescription
emailstringyesA valid email address

Sample code

GET /api/action/customer-v1/some@email.com HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer {access_token}

Response

A customer object with the customer details.

ObjectFieldTypeRequiredDescription
ResponsenamestringyesThe name of the customer (agency)
agencyIdstringyesThe agency ID of the customer. Same format used across Feeds API (e.g. for submit-question)
addressstringyesThe address of the customer

Error codes

ErrorCause
NOT_FOUNDNo active customer exists for that email

Sample code

{
    "agencyId": "ECID0033201EN",
    "name": "Savio Realty",
    "address": "4555 West Friendly Avenue"
}