Buscar Caixas por ID

Buscando Caixas por ID

Caso já saiba o ID do caixa e deseje consultar seus dados, informe o ID via GET na rota Url/segments/{segmentId}/cashiers/{id}.

O SegmentID deverá ser informado, saiba mais em Login via API. O uso de seu Bearer Token também será necessário.

Para obter o ID do caixa, veja Listar Caixas.

Listar Caixas

GET {Url}/segments/{segmentId}/cashiers

Path Parameters

Name
Type
Description

segmentId*

string

ID de Segmento

companies

string

ID das empresas que listarão os caixas

id*

array

ID dos caixas

{
  "_id": "string",
  "createdAt": "2020-01-01T00:00:00Z",
  "updatedAt": "2020-01-01T00:00:00Z",
  "segment": "string",
  "company": {
    "_id": "string",
    "createdAt": "2020-01-01T00:00:00Z",
    "updatedAt": "2020-01-01T00:00:00Z",
    "segment": "string",
    "type": "private",
    "document": "string",
    "name": "string",
    "tag": "string",
    "logoUrl": "string",
    "crtId": "string",
    "addresses": [
      {
        "_id": "string",
        "country": "string",
        "state": "string",
        "city": "string",
        "neighborhood": "string",
        "street": "string",
        "number": "string",
        "complement": "string",
        "postalCode": "string"
      }
    ],
    "contacts": [
      {
        "contact": "string",
        "type": "whatsapp"
      }
    ],
    "integration": {
      "praNotas": {
        "authorization": "string",
        "homologation": true,
        "certificate": "string",
        "status": "string",
        "count": 0,
        "serie": "string",
        "csc": "string",
        "cscId": "string"
      },
      "pagaRapido": {
        "authorization": "string",
        "subscription": "string"
      },
      "praSaques": {
        "token": "string"
      }
    },
    "activityBranch": {
      "_id": "string",
      "name": "string",
      "examples": "string",
      "value": "retail"
    },
    "stockSettings": {
      "stockLocalDevice": {
        "_id": "string",
        "createdAt": "2020-01-01T00:00:00Z",
        "updatedAt": "2020-01-01T00:00:00Z",
        "name": "string",
        "company": null,
        "acronym": "string",
        "segment": "string"
      },
      "stockLocalCatalog": {
        "_id": "string",
        "createdAt": "2020-01-01T00:00:00Z",
        "updatedAt": "2020-01-01T00:00:00Z",
        "name": "string",
        "company": null,
        "acronym": "string",
        "segment": "string"
      }
    }
  },
  "origin": "app",
  "device": {
    "_id": "string",
    "createdAt": "2020-01-01T00:00:00Z",
    "updatedAt": "2020-01-01T00:00:00Z",
    "installationId": "string",
    "manufacturer": "string",
    "deviceModel": "string",
    "serial": "string",
    "acquirer": "string",
    "os": "string",
    "systemVersion": "string",
    "appVersion": "string",
    "status": "active",
    "lastSigninAt": {},
    "lastSigninBy": "string",
    "createdBy": "string"
  },
  "event": {
    "_id": "string",
    "createdAt": "2020-01-01T00:00:00Z",
    "updatedAt": "2020-01-01T00:00:00Z",
    "segment": "string",
    "company": {
      "_id": "string",
      "createdAt": "2020-01-01T00:00:00Z",
      "updatedAt": "2020-01-01T00:00:00Z",
      "segment": "string",
      "type": "private",
      "document": "string",
      "name": "string",
      "tag": "string",
      "logoUrl": "string",
      "crtId": "string",
      "addresses": [
        {
          "_id": "string",
          "country": "string",
          "state": "string",
          "city": "string",
          "neighborhood": "string",
          "street": "string",
          "number": "string",
          "complement": "string",
          "postalCode": "string"
        }
      ],
      "contacts": [
        {
          "contact": "string",
          "type": "whatsapp"
        }
      ],
      "integration": {
        "praNotas": {
          "authorization": "string",
          "homologation": true,
          "certificate": "string",
          "status": "string",
          "count": 0,
          "serie": "string",
          "csc": "string",
          "cscId": "string"
        },
        "pagaRapido": {
          "authorization": "string",
          "subscription": "string"
        },
        "praSaques": {
          "token": "string"
        }
      },
      "activityBranch": {
        "_id": "string",
        "name": "string",
        "examples": "string",
        "value": "retail"
      },
      "stockSettings": {
        "stockLocalDevice": {
          "_id": "string",
          "createdAt": "2020-01-01T00:00:00Z",
          "updatedAt": "2020-01-01T00:00:00Z",
          "name": "string",
          "company": null,
          "acronym": "string",
          "segment": "string"
        },
        "stockLocalCatalog": {
          "_id": "string",
          "createdAt": "2020-01-01T00:00:00Z",
          "updatedAt": "2020-01-01T00:00:00Z",
          "name": "string",
          "company": null,
          "acronym": "string",
          "segment": "string"
        }
      }
    },
    "name": "string",
    "startDate": {},
    "endDate": {},
    "prepaid": true
  },
  "user": {
    "_id": "string",
    "createdAt": "2020-01-01T00:00:00Z",
    "updatedAt": "2020-01-01T00:00:00Z",
    "name": "string",
    "avatarUrl": "string",
    "phoneNumber": "string",
    "document": "string",
    "email": "string",
    "status": "active",
    "access": [
      {
        "segment": "string",
        "companies": [
          "string"
        ],
        "group": "string"
      }
    ],
    "screensJourneyConfirmations": [
      "string"
    ],
    "hasConfirmedPageJourneySecondStep": true
  },
  "status": "open",
  "blockedAt": {},
  "closedAt": {},
  "transactions": [
    {
      "_id": "string",
      "createdAt": "2020-01-01T00:00:00Z",
      "updatedAt": "2020-01-01T00:00:00Z",
      "segment": "string",
      "company": "string",
      "device": "string",
      "cardFlag": "string",
      "cashier": "string",
      "order": "string",
      "transactionType": "payment",
      "paymentType": "money",
      "externalPaymentType": "string",
      "cardType": "credit",
      "amount": 0,
      "acquirerTransactionId": "string",
      "canceled": true,
      "observation": "string",
      "status": "string",
      "externalId": "string"
    }
  ],
  "orders": [
    [
      null
    ]
  ],
  "orderAmountMax": 0,
  "orderAmountAvg": 0,
  "moneyPaymentsSum": 0,
  "moneyChangeSum": 0,
  "cardPaymentsSum": 0,
  "boletoPaymentsSum": 0,
  "depositTransactionsSum": 0,
  "withdrawTransactionsSum": 0,
  "moneyReceivedAmount": 0,
  "cardReceivedAmount": 0
}

Last updated

Was this helpful?