---
updatedAt: 2026-04-27T22:25:47.000Z
agentTools:
  projectIndex: https://zm.docs.digitax.tech/llms.txt
---

# Get a business supplier

Retrieves information about a supplier given their ID on DigiTax.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "DigiTax Zambia API Endpoints",
    "description": "DigiTax Zambia Public API",
    "version": "3",
    "termsOfService": "https://docs.digitax.tech/page/terms",
    "contact": {
      "name": "DigiTax",
      "url": "https://digitax.tech",
      "email": "support@namiri.tech"
    },
    "license": {
      "name": "Apache 2.0"
    }
  },
  "servers": [
    {
      "url": "https://api.digitax.tech/zm/v1",
      "description": "Production"
    }
  ],
  "paths": {
    "/suppliers/{supplier_id}": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "summary": "Get a business supplier",
        "description": "Retrieves information about a supplier given their ID on DigiTax.",
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "supplier_id",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Supplier ID on DigiTax",
              "example": "supplier_01J56FWS9KV3KAS0RHD4QJ1QCT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Supplier"
                }
              }
            }
          },
          "default": {
            "description": "Error response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "description": "Describes a rejected request or processing error.",
        "required": [
          "message",
          "code"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A message explaining the error.",
            "example": "not a valid currency code"
          },
          "code": {
            "type": "string",
            "description": "The HTTP status code represented as a string.",
            "example": "400"
          },
          "metadata": {
            "type": "object",
            "description": "Additional error details, when available.",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "Supplier": {
        "type": "object",
        "description": "A supplier recorded for the authenticated business.",
        "required": [
          "id",
          "supplier_tpin"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The DigiTax ID of the supplier.",
            "example": "supplier_01J56FWS9KV3KAS0RHD4QJ1QCT"
          },
          "supplier_name": {
            "type": "string",
            "description": "The supplier's name.",
            "example": "Elite Books"
          },
          "email": {
            "type": "string",
            "description": "The supplier's email address.",
            "example": "elite@books.com"
          },
          "phone": {
            "type": "string",
            "description": "The supplier's phone number.",
            "example": "+260712345678"
          },
          "supplier_tpin": {
            "type": "string",
            "description": "The supplier's taxpayer identification number (TPIN).",
            "example": "1234562718"
          }
        }
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  }
}
```