Admin api retailer

Update retailer config

PATCH
/api/admin/v2/retailer/config

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

domainName?string

Domain name

powerbiGuid?|

Powerbi guid (GUID) string token, pass null to clear it

Response Body

application/json

application/json

curl -X PATCH "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/retailer/config" \  -H "Content-Type: application/json" \  -d '{}'
{
  "domainName": "string",
  "powerbiGuid": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
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.