cURL
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 } ] }
Endpoint para regenerar los puntos de venta de una sucursal
Debe ser siempre 'application/json'
"application/json"
Token obtenido del login. Formato: 'Token '
"Token abc123def456"
ID de la sucursal cuyos POS se regenerarán
Puntos de venta regenerados exitosamente
"REGENERATE POS"
true
Show child attributes
1
"POS DEFAULT"
0
false