v1

latestOpenAPI 3.1.02026-08-06911,228852.2 KB
PMS

Update a PMS provider

Modifies the values of an existing PMS provider.

Only PMS providers created by the authenticated OAuth client can be updated.

put/pms/v1/providers/{id}

Path parameters

idinteger required

The unique identifier for the provider.

Example:3012455645

Request body

namestring required

The name of the PMS provider.

endpointstring required

The endpoint of the PMS provider. This is where Lightspeed will send PMS requests.

apiKeystring required

The API key for the PMS provider.

featuresPmsApiProviderFeature[] required

The optional features that the PMS provider supports. See the Integration Guide for more details.

Example request

{
  "name": "My PMS Provider",
  "endpoint": "http://integration.com/pms/endpoint",
  "apiKey": "fake-secret",
  "features": [
    "MIRRORING"
  ]
}

Response

Provider updated

idinteger

The unique identifier for the provider.

namestring

The name of the PMS provider.

apiKeystring

The API key for the PMS provider.

businessLocationIdinteger

The unique identifier for the business location.

endpointstring

The endpoint of the PMS provider. This is where Lightspeed will send PMS requests.

featuresPmsApiProviderFeature[]

The optional features that the PMS provider supports. See the Integration Guide for more details.

Example response

{
  "id": 3012455645,
  "apiKey": "fake-secret",
  "businessLocationId": 45454565682155,
  "endpoint": "http://integration.com/pms/endpoint",
  "features": [
    "MIRRORING"
  ]
}