Skip to main content
GET
/
pos
/
regenerate
/
{branchId}
Regenerar puntos de venta
curl --request GET \
  --url https://sandbox.cucu.bo/api/v1/pos/regenerate/{branchId} \
  --header 'Content-Type: <content-type>' \
  --header 'cucukey: <cucukey>'
{
  "message": "REGENERATE POS",
  "errors": "<unknown>",
  "success": true,
  "data": [
    {
      "posId": 1,
      "name": "POS DEFAULT",
      "siatCode": 0,
      "siatBranchCode": 0,
      "branchId": 1,
      "siatDescription": "POS DEFAULT",
      "cuis": "<string>",
      "cufd": "<string>",
      "isSync": false
    }
  ]
}

Headers

Content-Type
string
default:application/json
required

Debe ser siempre 'application/json'

Example:

"application/json"

cucukey
string
default:Token eyJhbGciOiJIUzUxMiJ9...
required

Token obtenido del login. Formato: 'Token '

Example:

"Token abc123def456"

Path Parameters

branchId
integer
required

ID de la sucursal cuyos POS se regenerarán

Response

Puntos de venta regenerados exitosamente

message
string
Example:

"REGENERATE POS"

errors
null
success
boolean
Example:

true

data
object[]