OI Payments Docs
API ReferenceInvoices

Upsert Template

PUT
/api/v1/invoices/template

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

curl -X PUT "https://example.com/api/v1/invoices/template" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "logoUrl": "string",
    "companyName": "string",
    "companyAddress": "string",
    "contactDetails": "string",
    "footerNote": "string",
    "accentColor": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "meta": {
    "success": true,
    "message": "string",
    "errorCode": "RESOURCE_NOT_FOUND",
    "timestamp": "2019-08-24T14:15:22Z"
  },
  "pagination": {
    "page": 0,
    "size": 0,
    "totalElements": 0,
    "totalPages": 0
  }
}