Update a POS terminal
PUT ~/terminals/:doshiiId
Headers
Field | Type | Description |
---|---|---|
Authorization | String |
Bearer authentication token prefixed with |
Content-Type | String |
Request content type, must be 'application/json' |
vendor | String |
The POS vendor name retrieved from Doshii dashboard |
Parameters
Field | Type | Description |
---|---|---|
:doshiiId | String |
Hashed id for this POS terminal |
nameoptional | String |
The name of the POS terminal |
refoptional | String |
The internal reference used by the POS |
areaoptional | String |
The area in the venue in which the POS terminal is located |
descriptionoptional | String |
Description of the POS terminal |
Response
Field | Type | Description |
---|---|---|
doshiiId | String |
Hashed id for this POS terminal |
name | String |
The name of the POS terminal |
ref | String |
The internal reference used by the POS |
area | String |
The area in the venue in which the POS terminal is located |
description | String |
Description of the POS terminal |
locationId | String |
The location hashed Id |
updatedAt | String |
Date when the record is last updated |
createdAt | String |
Date when the record is created |
uri | String |
The object details url |
Examples
Request
{
"name": "bar1",
"area": "bar",
"ref": "1235",
"description": "Terminal at end of bar"
}
Response
{
"doshiiId": "bEK3ryO7",
"name": "bar1",
"area": "bar",
"ref": "1235",
"description": "Terminal at end of bar",
"locationId": "4gJpXq9B",
"createdAt": "2018-04-27T05:56:09.156Z",
"updatedAt": "2018-04-27T06:14:09.156Z",
"uri": "https://sandbox.doshii.co/pos/v3/terminals/bEK3ryO7"
}
Comments
0 comments
Please sign in to leave a comment.