This endpoint creates general settings for a specific site.
The general settings to apply to the site.
The serial number of the point of sale device to activate.
Example:"SN1234567890"
The unique merchant identifier for the point of sale device.
Example:"POS-12345"
The model of the point of sale device.
Enum:"CastlesSaturn1000""ZebraTC510K"
Example:"CastlesSaturn1000"
The protocol used by the point of sale device.
Value:"HTTP"
Example:"HTTP"
- Production environmenthttps://api-services.pxp.io/api/v1/point-of-sales/{site}/general-settings
- Sandbox environmenthttps://api-services.test.pxp.io/api/v1/point-of-sales/{site}/general-settings
curl -i -X POST \
https://api-services.pxp.io/api/v1/point-of-sales/SITE-1/general-settings \
-H 'Content-Type: application/json' \
-d '{
"serialNumber": "SN1234567890",
"merchantPointOfSaleId": "POS-12345",
"deviceModel": "CastlesSaturn1000",
"communicationProtocol": "HTTP",
"communicationEndpoint": "http://pos.example.com"
}'Successfully created the general settings.
The status of the point of sale device.
Enum:"New""Pending""Active""Disabled"
Example:"Active"
The unique merchant identifier for the point of sale device.
Example:"POS-12345"
Response
{ "status": "Active", "site": "SITE-1", "merchantPointOfSaleId": "POS-12345", "pointOfSaleId": 123456789 }