Página de exemplo

Changed on

Subtítulo da página de exemplo

patch/

Request

  • Base URL
    https://api.stage.cora.com.br/v2/invoices
  • URL
    https://api.stage.cora.com.br/v2/invoices/
  • Auth
    OAuth 2

Query parameters

Testestring required

Teste do teste

namestring required
emailstring required

Novo do novo

Request body

Response

200

idstring
statusstring
created_atstring
total_amountinteger
total_paidinteger
occurrence_dateunknown
codestring
pixunknown

Example response

{
  "id": "inv_yOgInV7rSPu90wOp21ekGyQ",
  "status": "OPEN",
  "created_at": "2022-03-09T18:08:38Z",
  "total_amount": 1000,
  "code": "meu_id",
  "customer": {
    "name": "Gol Transportes Aereos Sa",
    "email": "email@email.com",
    "document": {
      "identity": "34052649000178",
      "type": "CNPJ"
    }
  },
  "notifications": {
    "id": "64c88980-ec00-43f7-b119-0cf9ea38da75",
    "channels": [
      "EMAIL"
    ],
    "destination": {
      "name": "Fulano Ciclano Oliveira",
      "email": "email@email.com"
    },
    "schedules": [
      {
        "rule": "NOTIFY_TWO_DAYS_BEFORE_DUE_DATE",
        "status": "CREATED",
        "scheduledTo": "2022-12-10",
        "active": true
      }
    ]
  }
}

Changes