Authorizations
Access token
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/devices \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"devices": {
"id": "<string>",
"name": "<string>",
"device_type": "pos-terminal",
"external_device_id": "<string>",
"vendor": "<string>",
"model_number": "<string>",
"mac_address": "<string>",
"location_id": "<string>",
"location_name": "<string>",
"claimed_by": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com"
},
"status": "available",
"is_busy": true
}
}
}
List all available devices.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/devices \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"devices": {
"id": "<string>",
"name": "<string>",
"device_type": "pos-terminal",
"external_device_id": "<string>",
"vendor": "<string>",
"model_number": "<string>",
"mac_address": "<string>",
"location_id": "<string>",
"location_name": "<string>",
"claimed_by": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com"
},
"status": "available",
"is_busy": true
}
}
}
Access token
Was this page helpful?