Commerce Engine is now in beta. We're working hard to make it better for you.
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>"
}
}
}
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>"
}
}
}
API key for your store
OK
The response is of type object
.
Was this page helpful?