customer was created or updated
Authorization
bearerAuth In: header
Request Body
application/json
Customer information
ISO formatted creation time of the event, that caused this webhook to be sent
date-timeISO formatted time, in which this webhook was sent
date-timeResponse Body
application/json
curl -X POST "https://oasis-api.public.sandbox.oasis.aifi.com/api/push/customer-created" \ -H "Content-Type: application/json" \ -d '{ "customer": { "externalId": "string", "metadata": { "arbitraryKey": "arbitraryValue" }, "id": "string", "role": "customer" }, "timeOfOrigin": "2019-08-24T14:15:22Z", "timeOfIssue": "2019-08-24T14:15:22Z", "customerPersonalInfo": { "email": "user@example.com", "firstName": "string", "lastName": "string", "phone": "string", "phoneNumber": "string" } }'"string"How is this guide?
customer left a checkout zone POST
AiFi system shall call this webhook when a customer left a checkout zone in a given store. This webhook is intended to be only visual: no response is parsed and no action is taken regardless of the response. **Note**: as an integrator the URL you specify for checkout zone webhooks will be re-used for all checkout zone actions. For example if you specify "http://example-retailer-api.com/webhook" then "http://example-retailer-api.com/webhook/left" will be called in this case.
notify external provider on entry-code validation failure POST
AiFi system shall call this webhook when entry-code validation fails due to some reason. Request is sent as a fire-and-forget hence retailer's response will not be used at all. **Note**: As an integrator the URL you specify for this webhook is going to be exactly the URL that will be called. For example if you specify "http://example-retailer-api.com/webhook" then exactly "http://example-retailer-api.com/webhook" will be called.