Establishments

Establishments

GET /establishments/[establishmentId]

Retrieves details for a specific establishment by its ID. Useful for loading configuration, display information, and branding assets.

Endpoint

GET/establishments/{establishmentId}

Parameters

AtributoDescripcionTipoUbicaciónRequerido
establishmentIdstringpath

Responses

200

Establishment retrieved successfully.

{
  "establishmentId": "string"
  "defaultCurrency": "string"
  "description": "string"
  "email": "string"
  "location": "string"
  "monthlyAllocatedCoins": "integer"
  "name": "string"
  "paymentPlanId": "string"
  "status": "string"
  "totalAvailableCoins": "integer"
  "imageUrl": "string"
  "thumbnailUrl": "string"
  "isIntegration": "boolean"
  "style": "object"
}

400

Invalid establishment ID format.

404

Establishment not found.

500

Internal error while retrieving the establishment.

PUT /establishments/[establishmentId]

Updates the configuration for a specific establishment including branding, location, coin ratio, visual appearance settings, and more.

Endpoint

PUT/establishments/{establishmentId}

Request Body

{
  "name": "string" // required
  "email": "string" // required
  "imageUrl": "string" // required
  "thumbnailUrl": "string" // required
  "description": "string" // required
  "location": "string" // required
  "defaultCurrency": "string" // required
  "coinRatio": "integer"
  "status": "string" // required
  "parentCasinoId": "string"
  "accountManagerId": "string"
  "backgroundPrimary": "string"
  "foregroundPrimary": "string"
  "backgroundSecondary": "string"
  "foregroundSecondary": "string"
  "backgroundSidebarPrimary": "string"
  "backgroundSidebarSecondary": "string"
  "marketplaceBackground": "string"
  "marketplaceForegroundPrimary": "string"
  "marketplaceForegroundSecondary": "string"
  "marketplaceBackgroundCard": "string"
  "marketplaceForegroundCardPrimary": "string"
  "marketplaceForegroundCardSecondary": "string"
  "marketplaceForegroundCardTertiary": "string"
  "font": "string"
  "locale": "string" // required
}
AtributoTipoRequeridoDescripción
namestring
emailstring
imageUrlstring
thumbnailUrlstring
descriptionstring
locationstring
defaultCurrencystring
coinRatiointegerNo
statusstring
parentCasinoIdstringNo
accountManagerIdstringNo
backgroundPrimarystringNo
foregroundPrimarystringNo
backgroundSecondarystringNo
foregroundSecondarystringNo
backgroundSidebarPrimarystringNo
backgroundSidebarSecondarystringNo
marketplaceBackgroundstringNo
marketplaceForegroundPrimarystringNo
marketplaceForegroundSecondarystringNo
marketplaceBackgroundCardstringNo
marketplaceForegroundCardPrimarystringNo
marketplaceForegroundCardSecondarystringNo
marketplaceForegroundCardTertiarystringNo
fontstringNo
localestring

Parameters

AtributoDescripcionTipoUbicaciónRequerido
establishmentIdstringpath

Responses

200

Establishment updated successfully.

{
  "$metadata": "object"
  "Attributes": "object"
}

400

Invalid or incomplete update data.

500

Failed to update establishment due to internal error.