For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extensions

Extensions

List extensions for a tenant

get
/tenants/{tenantUid}/extensions

List extensions for a tenant

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUMDescription
ASCSort in ascending order
DESCSort in descending order
Possible values:
Responses
200

Example response

application/json
get/tenants/{tenantUid}/extensions
GET /v2/tenants/{tenantUid}/extensions HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "tenantExtensionUid": "text",
      "name": "text",
      "active": true,
      "extensionCode": "FLOWGIFTCARD",
      "hasStoreExtensionSettings": true,
      "tenantParameters": [
        {
          "key": "text",
          "value": "text",
          "type": "STRING",
          "allowedValues": [
            "text"
          ],
          "validationRegex": "text",
          "name": "text",
          "required": true
        }
      ],
      "statusMessages": [
        "text"
      ],
      "availableStoreParameters": [
        {
          "key": "text",
          "value": "text",
          "type": "STRING",
          "allowedValues": [
            "text"
          ],
          "validationRegex": "text",
          "name": "text",
          "required": true
        }
      ]
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Get tenant extension details

get
/tenants/{tenantUid}/extensions/{tenantExtensionUid}

Get details for a tenant extension.

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantExtensionUidstringRequired

Reference to a tenant extension.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json

TenantExtensionResponseSchema

tenantExtensionUidstringRequiredPattern: ^[A-Za-z0-9-_]+
namestringRequired
activebooleanRequired
extensionCodestring · enumRequiredPossible values:
hasStoreExtensionSettingsbooleanRequired

Indicate if the extension needs to be activated and configured pr store

statusMessagesstring[]Required
get/tenants/{tenantUid}/extensions/{tenantExtensionUid}
GET /v2/tenants/{tenantUid}/extensions/{tenantExtensionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "tenantExtensionUid": "text",
  "name": "text",
  "active": true,
  "extensionCode": "FLOWGIFTCARD",
  "hasStoreExtensionSettings": true,
  "tenantParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ],
  "statusMessages": [
    "text"
  ],
  "availableStoreParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ]
}

Update tenant extension details

put
/tenants/{tenantUid}/extensions/{tenantExtensionUid}

Update details for a tenant extension.

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantExtensionUidstringRequired

Reference to a tenant extension.

Pattern: ^[A-Za-z0-9-_]+
Body
namestringOptional
activebooleanRequired
Responses
200

Example response

application/json

TenantExtensionResponseSchema

tenantExtensionUidstringRequiredPattern: ^[A-Za-z0-9-_]+
namestringRequired
activebooleanRequired
extensionCodestring · enumRequiredPossible values:
hasStoreExtensionSettingsbooleanRequired

Indicate if the extension needs to be activated and configured pr store

statusMessagesstring[]Required
put/tenants/{tenantUid}/extensions/{tenantExtensionUid}
PUT /v2/tenants/{tenantUid}/extensions/{tenantExtensionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 80

{
  "name": "text",
  "active": true,
  "tenantParameters": [
    {
      "key": "text",
      "value": "text"
    }
  ]
}
200

Example response

{
  "tenantExtensionUid": "text",
  "name": "text",
  "active": true,
  "extensionCode": "FLOWGIFTCARD",
  "hasStoreExtensionSettings": true,
  "tenantParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ],
  "statusMessages": [
    "text"
  ],
  "availableStoreParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ]
}

Delete a tenant extension

delete
/tenants/{tenantUid}/extensions/{tenantExtensionUid}

Deletes a tenant extension.

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantExtensionUidstringRequired

Reference to a tenant extension.

Pattern: ^[A-Za-z0-9-_]+
Responses
204

No Content

No content

delete/tenants/{tenantUid}/extensions/{tenantExtensionUid}
DELETE /v2/tenants/{tenantUid}/extensions/{tenantExtensionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

List store extensions for a tenant extension

get
/tenants/{tenantUid}/extensions/{tenantExtensionUid}/stores

List store extensions for a tenant extension

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantExtensionUidstringRequired

Reference to a tenant extension.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUMDescription
ASCSort in ascending order
DESCSort in descending order
Possible values:
tenantExtensionActiveQuerybooleanOptional

filter on active status for a store extension.

tenantExtensionStoreNameQuerystringOptional

filter on store name for a store extension

Responses
200

Example response

application/json
get/tenants/{tenantUid}/extensions/{tenantExtensionUid}/stores
GET /v2/tenants/{tenantUid}/extensions/{tenantExtensionUid}/stores HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "storeExtensionUid": "text",
      "active": true,
      "storeUid": "text",
      "storeName": "text"
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

List extensions for a store

get
/tenants/{tenantUid}/stores/{storeUid}/extensions

List extensions for a store

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUMDescription
ASCSort in ascending order
DESCSort in descending order
Possible values:
Responses
200

Example response

application/json
get/tenants/{tenantUid}/stores/{storeUid}/extensions
GET /v2/tenants/{tenantUid}/stores/{storeUid}/extensions HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "storeExtensionUid": "text",
      "active": true,
      "storeParameters": [
        {
          "key": "text",
          "value": "text",
          "type": "STRING",
          "allowedValues": [
            "text"
          ],
          "validationRegex": "text",
          "name": "text",
          "required": true
        }
      ],
      "tenantExtension": {
        "extensionCode": "FLOWGIFTCARD",
        "active": true,
        "tenantExtensionUid": "text",
        "name": "text"
      },
      "statusMessages": [
        "text"
      ],
      "capabilities": [
        "VALIDATE_CREDENTIALS"
      ]
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Add a new extension to a store

post
/tenants/{tenantUid}/stores/{storeUid}/extensions

Add a new extension to a store

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
Body
activebooleanRequired

Activate/Deactivate the extension on the store

tenantExtensionUidstringRequiredPattern: ^[A-Za-z0-9-_]+
storeExtensionUidstringOptionalPattern: ^[A-Za-z0-9-_]+
Responses
201

Example response

application/json

StoreExtensionResponseSchema

storeExtensionUidstringRequiredPattern: ^[A-Za-z0-9-_]+
activebooleanRequired
statusMessagesstring[]Required
post/tenants/{tenantUid}/stores/{storeUid}/extensions
POST /v2/tenants/{tenantUid}/stores/{storeUid}/extensions HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "active": true,
  "storeParameters": [
    {
      "key": "text",
      "value": "text"
    }
  ],
  "tenantExtensionUid": "text",
  "storeExtensionUid": "text"
}
201

Example response

{
  "storeExtensionUid": "text",
  "active": true,
  "storeParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ],
  "tenantExtension": {
    "extensionCode": "FLOWGIFTCARD",
    "active": true,
    "tenantExtensionUid": "text",
    "name": "text"
  },
  "statusMessages": [
    "text"
  ],
  "capabilities": [
    "VALIDATE_CREDENTIALS"
  ]
}

Get store extension details

get
/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}

Get details for a store extension.

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeExtensionUidstringRequired

Reference to a store extension.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json

StoreExtensionResponseSchema

storeExtensionUidstringRequiredPattern: ^[A-Za-z0-9-_]+
activebooleanRequired
statusMessagesstring[]Required
get/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}
GET /v2/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "storeExtensionUid": "text",
  "active": true,
  "storeParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ],
  "tenantExtension": {
    "extensionCode": "FLOWGIFTCARD",
    "active": true,
    "tenantExtensionUid": "text",
    "name": "text"
  },
  "statusMessages": [
    "text"
  ],
  "capabilities": [
    "VALIDATE_CREDENTIALS"
  ]
}

Update store extension details

put
/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}

Update details for a store extension

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeExtensionUidstringRequired

Reference to a store extension.

Pattern: ^[A-Za-z0-9-_]+
Body
activebooleanRequired

Activate/Deactivate the extension on the store

Responses
200

Example response

application/json

StoreExtensionResponseSchema

storeExtensionUidstringRequiredPattern: ^[A-Za-z0-9-_]+
activebooleanRequired
statusMessagesstring[]Required
put/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}
PUT /v2/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "active": true,
  "storeParameters": [
    {
      "key": "text",
      "value": "text"
    }
  ]
}
200

Example response

{
  "storeExtensionUid": "text",
  "active": true,
  "storeParameters": [
    {
      "key": "text",
      "value": "text",
      "type": "STRING",
      "allowedValues": [
        "text"
      ],
      "validationRegex": "text",
      "name": "text",
      "required": true
    }
  ],
  "tenantExtension": {
    "extensionCode": "FLOWGIFTCARD",
    "active": true,
    "tenantExtensionUid": "text",
    "name": "text"
  },
  "statusMessages": [
    "text"
  ],
  "capabilities": [
    "VALIDATE_CREDENTIALS"
  ]
}

Delete a store extension

delete
/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}

Deletes a store extension.

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeExtensionUidstringRequired

Reference to a store extension.

Pattern: ^[A-Za-z0-9-_]+
Responses
204

No Content

No content

delete/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}
DELETE /v2/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

Validate store extension credentials

post
/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}/validate-credentials

Validates that the store extension's saved credentials are correct by calling the underlying provider.

Required permissions: EXTENSION

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
storeExtensionUidstringRequired

Reference to a store extension.

Pattern: ^[A-Za-z0-9-_]+
Responses
204

Credentials are valid

No content

post/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}/validate-credentials
POST /v2/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}/validate-credentials HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

Credentials are valid

No content

List payment terminals for a store extension

get
/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}/payment-terminals

Lists payment terminals available through the store extension.

Required permissions: EXTENSION,TILL

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
storeExtensionUidstringRequired

Reference to a store extension.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

OK

application/json
get/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}/payment-terminals
GET /v2/tenants/{tenantUid}/stores/{storeUid}/extensions/{storeExtensionUid}/payment-terminals HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "items": [
    {
      "id": "text"
    }
  ]
}

Last updated