Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 4.67 KB

File metadata and controls

32 lines (26 loc) · 4.67 KB

DeleteCreditNoteResponse

Credit Note deleted

Example Usage

import { DeleteCreditNoteResponse } from "@apideck/unify/models/components";

let value: DeleteCreditNoteResponse = {
  statusCode: 200,
  status: "OK",
  service: "xero",
  resource: "credit-notes",
  operation: "delete",
  data: {
    id: "12345",
  },
};

Fields

Field Type Required Description Example
statusCode number ✔️ HTTP Response Status Code 200
status string ✔️ HTTP Response Status OK
service string ✔️ Apideck ID of service provider xero
resource string ✔️ Unified API resource name credit-notes
operation string ✔️ Operation performed delete
data components.UnifiedId ✔️ A object containing a unique identifier for the resource that was created, updated, or deleted.
raw Record<string, any> Raw response from the integration when raw=true query param is provided