Admin api sessions
Put scanned products to the session
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
sessionId*string
A unique token to identify a shopping session. Note, sessionToken and sessionId are same concept in AIFI system.
Request Body
application/json
products*array<>
Response Body
application/json
application/json
curl -X PUT "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/sessions/d3a00526-1864-4f6e-bb2d-46e3ab7fa780/products-scanned" \ -H "Content-Type: application/json" \ -d '{ "products": [ { "productReference": "1234567890128", "quantity": 1 } ] }'{
"products": [
{
"productReference": "1234567890128",
"quantity": 1,
"referenceType": "barcode"
}
]
}Empty
Empty
Empty
{
"message": "Invalid request body",
"type": "E_INVALID_BODY",
"errors": [
{
"error": "\"email\" is required",
"rule": "any.required",
"field": "\"email\""
}
]
}How is this guide?