Get stock report

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/stock-report

Returns a list of stock report entries based on the specified filters.

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

Query parameters

  • pageNumber integer

    Page Number

    Default value is 1.

  • sortingField string

    Field to sort by

  • direction string

    Sorting direction

    Values are ASC or DESC. Default value is ASC.

  • sizePerPage integer

    Size per page

    Default value is 60.

  • articleId string

    Article ID filter.

    Multi-value supported. Example: value1;value2

  • date string

    Report date filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • 01/01/2026..31/12/2026
    • >=01/01/2026
    • <=01/01/2026
    • <>01/01/2026

    Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.

  • articleName string

    Article name filter

  • measurement string

    Unit of measurement filter

    Values are UNIT, ML, DL, L, HL, G, KG, T, H, M, M_2, M_3, KM, or DAY.

  • articleIdToDisplay string

    Article code filter

  • totalQuantity string

    Total quantity filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • totalCost string

    Total cost filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • outQuantity string

    Outgoing quantity filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • inQuantity string

    Incoming quantity filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • quantityProjection string

    Projected quantity filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • departmentId string

    Department ID filter

    Multi-value supported. Example: value1;value2

  • categoryId string

    Article category ID filter

    Multi-value supported. Example: value1;value2

  • officeId string

    Office ID filter.

    Multi-value supported. Example: value1;value2

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • articleId integer(int64)
    • date string(date-time)
    • articleName object
      Hide articleName attributes Show articleName attributes object
      • en string
      • fr string
      • de string
      • it string
    • measurement string

      Values are UNIT, ML, DL, L, HL, G, KG, T, H, M, M_2, M_3, KM, or DAY.

    • organizationId integer(int64)
    • articleIdToDisplay string
    • totalQuantity number
    • totalCost number
    • outQuantity number
    • inQuantity number
    • quantityProjection number
    • departmentId number
    • categoryId number
    • officeId 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/stock-report
curl \
 --request GET 'https://wyzio.app/api-v1/stock-report'
Response examples (200)
[
  {
    "articleId": 42,
    "date": "2026-05-04T09:42:00Z",
    "articleName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "measurement": "UNIT",
    "organizationId": 42,
    "articleIdToDisplay": "string",
    "totalQuantity": 42.0,
    "totalCost": 42.0,
    "outQuantity": 42.0,
    "inQuantity": 42.0,
    "quantityProjection": 42.0,
    "departmentId": 42.0,
    "categoryId": 42.0,
    "officeId": 42
  }
]