Admin api stores

Update the specific shopper

POST
/api/admin/v2/stores/{storeId}/shoppers/identity-matching

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

registeredShopperId*string

Identifier of the shopper belonging to registered session

registeredSessionId*string

SessionId for the registered shopper

visitorShopperId*string

Identifier of the shopper belonging to visitor session

visitorSessionId*string

SessionId for the visitor shopper that was matched with a registered shopper

Response Body

application/json

curl -X POST "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/stores/0/shoppers/identity-matching" \  -H "Content-Type: application/json" \  -d '{    "registeredShopperId": "768593402456789",    "registeredSessionId": "cdf95c70-53e6-4f41-9edd-a288d834c16f",    "visitorShopperId": "766789212312312",    "visitorSessionId": "fdb04f43-f274-4692-a0f5-dc6ea16ba10e"  }'
Empty
Empty
{
  "message": "Invalid request body",
  "type": "E_INVALID_BODY",
  "errors": [
    {
      "error": "\"email\" is required",
      "rule": "any.required",
      "field": "\"email\""
    }
  ]
}

How is this guide?

AiFI AI Chat

Beta

Powered by AiFi

Ask docs or API questions to get grounded answers.