Admin api stores
Create an event for a shopper
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
storeId*integer
Id of a physical store. The id is required when retailer want to make a call to specified store.
Request Body
application/json
uuid*string
Format
uuidtimestamp*integer
unix timestamp (in seconds) when this event occured
products*array<>
metadata?
shopperId*string
Identifier of the Shopper
Response Body
application/json
application/json
curl -X POST "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/stores/0/events/handoff" \ -H "Content-Type: application/json" \ -d '{ "uuid": "04178fa1-0b07-4e3f-b3ca-6c60d528cf82", "timestamp": 1611928852, "products": [ { "productReference": "1234567890128", "quantity": 1 } ], "shopperId": "string" }'{
"uuid": "04178fa1-0b07-4e3f-b3ca-6c60d528cf82",
"sourceId": "string"
}Empty
Empty
{
"message": "Invalid request body",
"type": "E_INVALID_BODY",
"errors": [
{
"error": "\"email\" is required",
"rule": "any.required",
"field": "\"email\""
}
]
}How is this guide?