Get supplier details without organization filter

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
GET /api-v1/contact/{id}/single-supplier

Returns supplier information for the specified contact without applying organization-based filtering.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Path parameters

  • id integer(int64) Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • businessUnitId integer(int64)
    • paymentAccountId integer(int64)
    • balanceSheetAccountId integer(int64)
    • currencyId integer(int64)
    • paymentTerms string

      Numeric value represented as string

    • feeSplitType string

      Values are CHARGED_TO_THE_BENEFICIARY, FIFTY_FIFTY_SPLIT, or CHARGED_TO_THE_ORDERER.

    • contactId integer(int64)
    • vatNumber string
    • vatType string

      Values are NO_VAT, NATIVE, or IMPORT_OF_SERVICE.

    • vatTypeCodeId integer(int64)
    • vatRateId integer(int64)
    • businessUnitName string
    • paymentAccountName object
      Hide paymentAccountName attributes Show paymentAccountName attributes object
      • en string
      • fr string
      • de string
      • it string
    • PLAccountName object
      Hide PLAccountName attributes Show PLAccountName attributes object
      • en string
      • fr string
      • de string
      • it string
    • balanceSheetAccountName object
      Hide balanceSheetAccountName attributes Show balanceSheetAccountName attributes object
      • en string
      • fr string
      • de string
      • it string
    • officeId integer(int64)
    • delayDiscounts array[object]
      Hide delayDiscounts attributes Show delayDiscounts attributes object
      • id integer(int64)
      • delayDays integer(int32)
      • discountPercent number
    • countryId integer(int64)
    • banks array[object]
      Hide banks attributes Show banks attributes object
      • id integer(int64)
      • name string Required

        Minimum length is 1.

      • accountNumber string
      • qrIban string
      • isrCustomerNumber string
      • bankCustomerNumber string

        Format should match the following pattern: ^([1-9][0-9]*)*$.

      • swiftBic string
      • bankName string
      • remark string
      • position integer(int32)
      • useForReconciliation boolean
      • chartOfAccounts integer(int64)
      • accountHolderAddress object
        Hide accountHolderAddress attributes Show accountHolderAddress attributes object
        • id integer(int64)
        • name string Required

          Minimum length is 1.

        • line1 string
        • line2 string
        • city string
        • region object
          Hide region attributes Show region attributes object
          • id integer(int64)
          • name string
          • code string
          • taxMode string

            Values are ANNUALLY or MONTHLY.

        • countryCode2 string
        • postCode string
        • toTheAttentionOf string
        • position integer(int32)
        • houseNumber string
        • countryId integer(int64) Required
        • service string
        • readOnly boolean
      • customHolder boolean
    • addresses array[object]
      Hide addresses attributes Show addresses attributes object
      • id integer(int64)
      • name string Required

        Minimum length is 1.

      • line1 string
      • line2 string
      • city string
      • region object
        Hide region attributes Show region attributes object
        • id integer(int64)
        • name string
        • code string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • countryCode2 string
      • postCode string
      • toTheAttentionOf string
      • position integer(int32)
      • houseNumber string
      • countryId integer(int64) Required
      • service string
      • readOnly boolean
    • placcountName object
      Hide placcountName attributes Show placcountName attributes object
      • en string
      • fr string
      • de string
      • it string
    • placcountId integer(int64)
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/contact/{id}/single-supplier
curl \
 --request GET 'https://wyzio.app/api-v1/contact/{id}/single-supplier'
Response examples (200)
{
  "id": 42,
  "businessUnitId": 42,
  "paymentAccountId": 42,
  "balanceSheetAccountId": 42,
  "currencyId": 42,
  "paymentTerms": "100.55",
  "feeSplitType": "CHARGED_TO_THE_BENEFICIARY",
  "contactId": 42,
  "vatNumber": "string",
  "vatType": "NO_VAT",
  "vatTypeCodeId": 42,
  "vatRateId": 42,
  "businessUnitName": "string",
  "paymentAccountName": {
    "en": "string",
    "fr": "string",
    "de": "string",
    "it": "string"
  },
  "PLAccountName": {
    "en": "string",
    "fr": "string",
    "de": "string",
    "it": "string"
  },
  "balanceSheetAccountName": {
    "en": "string",
    "fr": "string",
    "de": "string",
    "it": "string"
  },
  "officeId": 42,
  "delayDiscounts": [
    {
      "id": 42,
      "delayDays": 42,
      "discountPercent": 42.0
    }
  ],
  "countryId": 42,
  "banks": [
    {
      "id": 42,
      "name": "string",
      "accountNumber": "string",
      "qrIban": "string",
      "isrCustomerNumber": "string",
      "bankCustomerNumber": "string",
      "swiftBic": "string",
      "bankName": "string",
      "remark": "string",
      "position": 42,
      "useForReconciliation": true,
      "chartOfAccounts": 42,
      "accountHolderAddress": {
        "id": 42,
        "name": "string",
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": {
          "id": 42,
          "name": "string",
          "code": "string",
          "taxMode": "ANNUALLY"
        },
        "countryCode2": "string",
        "postCode": "string",
        "toTheAttentionOf": "string",
        "position": 42,
        "houseNumber": "string",
        "countryId": 42,
        "service": "string",
        "readOnly": true
      },
      "customHolder": true
    }
  ],
  "addresses": [
    {
      "id": 42,
      "name": "string",
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": {
        "id": 42,
        "name": "string",
        "code": "string",
        "taxMode": "ANNUALLY"
      },
      "countryCode2": "string",
      "postCode": "string",
      "toTheAttentionOf": "string",
      "position": 42,
      "houseNumber": "string",
      "countryId": 42,
      "service": "string",
      "readOnly": true
    }
  ],
  "placcountName": {
    "en": "string",
    "fr": "string",
    "de": "string",
    "it": "string"
  },
  "placcountId": 42
}