Get list of stock movements

GET /api-v1/stock-movement-line

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Query parameters

  • direction string

    Sorting direction

    Values are ASC or DESC. Default value is ASC.

  • pageNumber integer(int32)

    Page Number

    Default value is 1.

  • sizePerPage integer(int32)

    Size per page

    Default value is 60.

  • sortingField string

    Field to sort by

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • articleId object
      Hide articleId attributes Show articleId attributes object
      • de string
      • en string
      • fr string
      • it string
    • articleRealId integer
    • cost number
    • currencyCode string
    • date string(date-time)
    • entityCreatorContactId integer
    • id integer
    • measurement string

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

    • movementDirection string

      Values are IN or OUT.

    • organizationId integer
    • ownerId integer
    • ownerType string

      Values are PURCHASE_INVOICE, SALES_INVOICE, or ORDER.

    • quantity number
    • quantityLeft number
    • type string

      Values are MANUAL or SHIPMENT.

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/stock-movement-line
curl \
 --request GET 'https://wyzio.app/api-v1/stock-movement-line' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "articleId": {
      "de": "string",
      "en": "string",
      "fr": "string",
      "it": "string"
    },
    "articleRealId": 42,
    "cost": 42.0,
    "currencyCode": "string",
    "date": "2025-05-04T09:42:00Z",
    "entityCreatorContactId": 42,
    "id": 42,
    "measurement": "UNIT",
    "movementDirection": "IN",
    "organizationId": 42,
    "ownerId": 42,
    "ownerType": "PURCHASE_INVOICE",
    "quantity": 42.0,
    "quantityLeft": 42.0,
    "type": "MANUAL"
  }
]