Starts a search for businesses that match the details you send, so you can review the matches and pick the right establishment.id and legal_entity.id. To let Coris pick the match and return a full profile, use Create a Merchant Profiler request. Send one of these:
business_namewith aRegistrationaddressdba_namewith anEstablishmentaddressfirst_nameandlast_namewith an addresswebsitewithonlineset totrue
Lifecycle: POST returns 201 and a request_id. Poll Get business search results: 425 means not ready, and 200 means complete. If you send callback_url, Coris posts the results when they are done, as Handle async requests explains.
sequenceDiagram accTitle: Search businesses sequence diagram accDescr: Search businesses. You send POST /business/search/. Coris replies 201 request_id. You send GET ?request_id=... Coris replies 425 no data yet. You send GET ?request_id=... Coris replies 200 complete. Coris sends POST callback_url, if sent. participant You participant Coris You->>Coris: POST /business/search/ Coris-->>You: 201 request_id You->>Coris: GET ?request_id=... Coris-->>You: 425 no data yet You->>Coris: GET ?request_id=... Coris-->>You: 200 complete Coris->>You: POST callback_url, if sent
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Coris rejected callback_url. Use a public HTTPS URL. The body is a plain-text message.
422The details do not form a valid search. The name and address_type may not match, the address may lack city and state or a postal code, or zip_code and postal_code may differ. Read the plain-text body, fix it and resend.