For the complete documentation index, see llms.txt. This page is also available as Markdown.

Productstock

Product stock

Get customer warehouse stock balance

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

successful operation

application/json

ProductStockResponse

created_atstring · dateOptional

Event creation timestamp in ISO8601 format

Example: 2019-08-12T14:36:00+00:00
get/product/stock
GET /rest/product/stock HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "created_at": "2019-08-12T14:36:00+00:00",
  "data": [
    {
      "productgroups": [
        {
          "name": "Kuopio",
          "totalamount": "99.54",
          "products": [
            {
              "productId": "1234567",
              "name": "LAAKERIT",
              "code": "BRS621L1KJ628A",
              "amount": "120",
              "count": "10"
            }
          ]
        }
      ]
    }
  ]
}

Last updated

Was this helpful?