Invoice template API

get listing

GET /api/rest/admin/billing/invoice-template

Parameters

Name Description
filter[id] id filter
filter[name] name filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MjUsInN1YiI6MjZ9.GlrC7ouQazXuBKbTWij73eucfXK79gXgOeg7rpV3WQE
Host: example.org
Cookie: 

Route

GET /api/rest/admin/billing/invoice-template

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"cf30fa032c0eceeaeebbc09ed6a8dd32"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 020110c1-4d34-4004-8d61-5820fbb25b92
X-Runtime: 0.009544
Content-Length: 632

Status

200 OK

Body

{
  "data": [
    {
      "id": "3",
      "type": "invoice-templates",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/invoice-templates/3"
      },
      "attributes": {
        "name": "invoice_template1",
        "filename": "filename.odt"
      }
    },
    {
      "id": "4",
      "type": "invoice-templates",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/invoice-templates/4"
      },
      "attributes": {
        "name": "invoice_template2",
        "filename": "filename.odt"
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/billing/invoice-templates?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/billing/invoice-templates?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}