Phasio Manufacturer Document Template Controller API

Endpoints for managing document templates for invoices, orders, and consignment labels

Operations 5

GET /api/manufacturer/v1/document-template Get all document templates for operator #
POST /api/manufacturer/v1/document-template Create document template #
PATCH /api/manufacturer/v1/document-template Update document template #
GET /api/manufacturer/v1/document-template/operator Get document template by language and type #
DELETE /api/manufacturer/v1/document-template/{documentTemplateId} Delete document template #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/phasio-manufacturer-document-template-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

phasio-manufacturer-document-template-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal Manufacturer Document Template Controller API
  description: This is the API documentation for the Phasio application.
  version: '1.0'
servers:
- url: https://m-api.eu.phas.io
  description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: Manufacturer Document Template Controller
  description: Endpoints for managing document templates for invoices, orders, and consignment labels
paths:
  /api/manufacturer/v1/document-template:
    get:
      tags:
      - Manufacturer Document Template Controller
      summary: Get all document templates for operator
      description: Retrieves all document templates associated with the current operator
      operationId: getByOperator
      responses:
        '200':
          description: Document templates successfully retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DocumentTemplateDto'
        '401':
          description: Unauthorized - operator not found
    post:
      tags:
      - Manufacturer Document Template Controller
      summary: Create document template
      description: Creates a new document template for a specific language and template type
      operationId: create_15
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDocumentTemplateDto'
        required: true
      responses:
        '200':
          description: Document template successfully created
          content:
            application/json:
              schema:
                type: integer
                format: int64
        '400':
          description: Invalid document template data
        '401':
          description: Unauthorized - operator not found
    patch:
      tags:
      - Manufacturer Document Template Controller
      summary: Update document template
      description: Updates the content of an existing document template
      operationId: update_4
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDocumentTemplateDto'
        required: true
      responses:
        '204':
          description: Document template successfully updated
        '400':
          description: Invalid update data or document template not found
  /api/manufacturer/v1/document-template/operator:
    get:
      tags:
      - Manufacturer Document Template Controller
      summary: Get document template by language and type
      description: Retrieves a specific document template for the current operator by language and template type
      operationId: get_24
      parameters:
      - name: language
        in: query
        description: Language of the document template
        required: true
        schema:
          type: string
      - name: type
        in: query
        description: Type of the document template
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Document template successfully retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateDto'
        '404':
          description: Document template not found
        '401':
          description: Unauthorized - operator not found
  /api/manufacturer/v1/document-template/{documentTemplateId}:
    delete:
      tags:
      - Manufacturer Document Template Controller
      summary: Delete document template
      description: Deletes an existing document template
      operationId: delete_17
      parameters:
      - name: documentTemplateId
        in: path
        description: ID of the document template to delete
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '204':
          description: Document template successfully deleted
        '400':
          description: Invalid document template ID or deletion failed
components:
  schemas:
    UpdateDocumentTemplateDto:
      type: object
      description: Document template update details
      properties:
        documentTemplateId:
          type: integer
          format: int64
        content:
          type: string
      required:
      - content
      - documentTemplateId
    CreateDocumentTemplateDto:
      type: object
      description: Document template creation details
      properties:
        language:
          type: string
        type:
          type: string
        consignmentLabelSize:
          type: string
        name:
          type: string
        pageWidth:
          type: number
          format: double
        pageHeight:
          type: number
          format: double
      required:
      - language
      - type
    DocumentTemplateDto:
      type: object
      properties:
        documentTemplateId:
          type: integer
          format: int64
        content:
          type: string
        language:
          type: string
        type:
          type: string
        consignmentLabelSize:
          type: string
        name:
          type: string
        pageWidth:
          type: number
          format: double
        pageHeight:
          type: number
          format: double
      required:
      - content
      - documentTemplateId
      - language
      - type
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT