Push remote register

start remote register

POST
/api/push/remote-register

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

storeId*integer

AiFi store id

store*
storeExternalId*|

Retailer store id

timeOfOrigin*string

ISO formatted creation time of the event, that caused this webhook to be sent

Formatdate-time
timeOfIssue*string

ISO formatted time, in which this webhook was sent

Formatdate-time
token*string

A unique token to identify a shopping session. Note, sessionToken and sessionId are same concept in AIFI system.

tokenType?string

Registration token type

Default"SESSION_ID"
Value in"NONE" | "STRIPE" | "PAYTER" | "ADYEN" | "FREEDOM_PAY" | "GENERIC" | "SESSION_ID"
checkInDeviceId*|

This property will contain a null value if the endpoint /api/admin/v2/customers/remote-register was used. However, it's guaranteed to have a proper value if the endpoint /api/admin/v2/stores/{storeId}/check-in/{checkInDeviceId}/remote-register was used

customer*

Customer information

customerPersonalInfo*

Response Body

curl -X POST "https://oasis-api.public.sandbox.oasis.aifi.com/api/push/remote-register" \  -H "Content-Type: application/json" \  -d '{    "storeId": 0,    "store": {      "oasisApiStoreId": 0,      "aifiUniqueStoreId": "string"    },    "storeExternalId": "string",    "timeOfOrigin": "2019-08-24T14:15:22Z",    "timeOfIssue": "2019-08-24T14:15:22Z",    "token": "d3a00526-1864-4f6e-bb2d-46e3ab7fa780",    "checkInDeviceId": 0,    "customer": {      "externalId": "string",      "metadata": {        "arbitraryKey": "arbitraryValue"      },      "id": "string",      "role": "customer"    },    "customerPersonalInfo": {      "email": "user@example.com",      "firstName": "string",      "lastName": "string",      "phone": "string",      "phoneNumber": "string"    }  }'
Empty

How is this guide?

AiFI AI Chat

Beta

Powered by AiFi

Ask docs or API questions to get grounded answers.