AlphaAlpha Docs

Get stock transfers for product

GET
/products/{productId}/transfers
AuthorizationBearer <token>

In: header

Path Parameters

productId*string

Query Parameters

pageNumber*integer
Formatint32
pageSize?integer
Formatint32
sortBy?string
direction?string
Value in"ASC" | "DESC"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/products/string/transfers?pageNumber=0"
{
  "content": [
    {
      "batchAllocations": [
        {
          "batchNumber": "string",
          "expirationDate": "2019-08-24T14:15:22Z",
          "locationId": "string",
          "productId": "string",
          "quantity": 0.1
        }
      ],
      "cancelledProducts": {
        "isNotEmpty": true,
        "products": [
          {
            "productId": "string",
            "quantity": 0.1,
            "unit": "string"
          }
        ]
      },
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "deliveryDate": "2019-08-24T14:15:22Z",
      "deliveryMethod": "REGULAR",
      "destinationStockSiteId": "string",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "id": "string",
      "incomingStockTransferId": "string",
      "isFullyCancelled": true,
      "note": "string",
      "number": "string",
      "picklistIds": [
        "string"
      ],
      "priority": "LOW",
      "products": [
        {
          "baseUnitConversion": 0.1,
          "baseUnitQuantity": 0.1,
          "pricePerBaseUnit": 0.1,
          "pricePerUnit": 0.1,
          "productId": "string",
          "quantity": 0.1,
          "totalPrice": 0.1,
          "unit": "string"
        }
      ],
      "reservedProducts": [
        {
          "productId": "string",
          "quantity": 0.1,
          "siteId": "string"
        }
      ],
      "status": "DRAFT",
      "stockSiteId": "string",
      "subsidiaryId": "string",
      "tenantId": "string",
      "transferNumber": "string",
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}