Skip to content

Pairings

Info

Pair service with product.

PUT /pairings

Request parameters

Name Type Location Description
flinkey-API-Key string header Required. API key which provides access to this API.
Authorization string header Required. The bearer token.
Customer-ID integer header Required. The database ID of the customer.

Request body

{
  "type": "object",
  "properties": {
    "serviceId": {
      "type": "number",
      "format": "int32"
    },
    "uniqueId": {
      "type": [
        "string",
        "null"
      ]
    },
    "serialNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "productId": {
      "type": [
        "number",
        "null"
      ],
      "format": "int32"
    }
  },
  "required": [
    "serviceId"
  ]
}

Response

204 NO CONTENT

DELETE /pairings

Request parameters

Name Type Location Description
flinkey-API-Key string header Required. API key which provides access to this API.
Authorization string header Required. The bearer token.
Customer-ID integer header Required. The database ID of the customer.

Request body

{
  "type": "object",
  "properties": {
    "serviceId": {
      "type": "number",
      "format": "int32"
    },
    "uniqueId": {
      "type": [
        "string",
        "null"
      ]
    },
    "serialNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "productId": {
      "type": [
        "number",
        "null"
      ],
      "format": "int32"
    }
  },
  "required": [
    "serviceId"
  ]
}

Response

204 NO CONTENT