POST
/
pos
/
auth
/
pair-device
Pair POS device
curl --request POST \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/auth/pair-device \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "pairing_code": "<string>"
}'
{
  "message": "<string>",
  "success": "<string>",
  "content": {
    "device": {
      "id": "<string>",
      "name": "<string>",
      "device_type": "POS Terminal",
      "external_device_id": "<string>",
      "manufacturer": "<string>",
      "model_number": "<string>",
      "mac_address": "<string>",
      "location_id": "<string>",
      "location_name": "<string>"
    }
  }
}

Authorizations

X-Api-Key
string
header
required

API key for your store

Body

application/json

Response

200 - application/json

OK

The response is of type object.