Authorizations
Access token
Path Parameters
device id
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/devices/{id}/claim \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"user": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"channel": {
"id": "<string>",
"name": "<string>"
},
"device": {
"id": "<string>",
"name": "<string>"
},
"location": {
"id": "<string>",
"name": "<string>"
},
"roles": [
{
"location_id": "<string>",
"location_name": "<string>",
"role_id": "<string>",
"role_name": "<string>"
}
]
}
}
}
Claim device
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/devices/{id}/claim \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"user": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"channel": {
"id": "<string>",
"name": "<string>"
},
"device": {
"id": "<string>",
"name": "<string>"
},
"location": {
"id": "<string>",
"name": "<string>"
},
"roles": [
{
"location_id": "<string>",
"location_name": "<string>",
"role_id": "<string>",
"role_name": "<string>"
}
]
}
}
}
Access token
device id
Was this page helpful?