Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 4.17 KB

createsupplierresponse.md

File metadata and controls

31 lines (25 loc) · 4.17 KB

CreateSupplierResponse

Supplier created

Example Usage

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

let value: CreateSupplierResponse = {
  statusCode: 200,
  status: "OK",
  service: "xero",
  resource: "payments",
  operation: "add",
  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 payments
operation string ✔️ Operation performed add
data components.UnifiedId ✔️ A object containing a unique identifier for the resource that was created, updated, or deleted.