fulfillmenttools
  • Welcome to the fulfillmenttools Platform Documentation
  • Getting Started
    • Setup your access to fulfillmenttools
    • Make your first API Calls
      • Add your first facility
      • Add your first listing
      • Place your first order
    • Core concepts & terminology
      • Order Flow
    • Postman Collection
    • Client SDKs
    • FAQ
  • Clients
    • Backoffice
      • First steps - Registration
      • Network view
        • Home
        • Orders
          • Unroutable orders
          • Pre-orders & Backorders
          • Order History
        • Inventory Management
          • Stock Overview
          • Channel Inventory
        • Facilities
        • Users
        • Returns
        • DOMS configuration
        • Settings
        • Analytics
          • DOMS Pages
          • Fulfillment Operations Pages
          • Inventory Pages
          • Downloads Page
      • Facility view
        • Home
        • Inbound
        • Tasks
        • Listings
        • Storage Locations
        • Facility
        • Users
    • Inventory app
      • Registration Inventory App
      • App sections
        • Inbound
        • Storage and relocation
    • Operations app
      • Android
        • Manual Registration
        • Android Enterprise Registration
        • Sections
          • Picking
            • Load Units (legacy)
            • Substitute items
            • Weighed or measured products
            • Scanning configuration
            • Picking Methods
              • Batch Picking
              • Multi Order Picking
          • Packing
          • Handover
          • Returns (legacy)
        • Printing
        • Notifications
      • Webapp
        • Packing
      • Overview features Android & Webapp
    • Technical requirements
      • Zebra Hardware Scanner Configuration
      • Honeywell Hardware Scanner Configuration
      • Supported barcodes for camera scanning
      • Requirements for fft applications
      • Zebra printer
    • Returns app
      • Handle unannounced returns
      • Handle announced returns
  • Products
    • Core Functionality
      • Process
        • External actions
      • Add and manage facilities
      • Notification Center
      • Checking on features
      • Tags and Stickers Concept
      • GDPR
      • Remote Configuration
      • Expiry
      • Target time
      • Time calculation for queries of future availabilities (LPS-calculation)
      • Interfacility Transfer
    • Carrier Management
      • Overview
        • Available Carriers
      • Concepts
        • Carrier Country Service Mapping (CCSM)
        • Non-delivery-days
        • Custom Carrier & Headless operation of Carriers
      • Providing needed data
    • Fulfillment Options
      • Fulfillability Check
      • Checkout Options
        • Available fulfillment options based on basket
        • Earliest possible delivery date
        • Available delivery dates within time-period
        • Availability for delivery date
      • Delivery Promise
    • Inventory Management
      • Configurations
      • Entities
        • Listing
        • Stock
          • Stock Properties
        • Storage Location
        • Zone
      • Global Inventory
        • Stock availability
        • Channel Inventory
        • Expected stock
        • Inbound Process
        • Reservations
        • Safety Stock
      • Inventory Control
        • Inventory Traits
        • Measurement Units
        • Outbound Inventory Tracking
        • Storage Location Recommendations
    • Order Fulfillment
      • Headless Order Fulfillment
      • Pick Jobs
      • Zone picking
      • Load Units
      • Custom Service
      • Handover Jobs
      • Add External Documents
      • Configurations
        • Picking Configuration
          • Picking methods
          • Short Pick Reasons
        • Packing Configuration
          • Packing Container Types
        • Print / Document Configuration
        • Tag Configurations
          • Parcel Tag Configuration
        • Handover Configuration
        • Operative Container Types
    • Order Routing
      • Entities
        • Ship-from-Store Orders
        • Click-and-Collect Orders
        • Locked Orders
        • Custom Services Orders
          • Simple Custom Service Order
          • Complex Custom Service Order
      • Fences
      • Ratings
      • Order Split
        • Order split - initial routing
        • Order split after shortpick
        • Item bundles
      • Reroute
      • Shape the routing with the DOMS Toolkit
      • Decision logs
    • Returns Management
      • Returns legacy
        • Available status
      • Returns 2.0
        • Return Reasons
        • Item Conditions
        • Integrating Returns with Events
    • Use Cases
      • Demand-Driven Replenishment
      • Expected stock in availability
      • Multi Order Picking
      • Interfacility transfer
      • Assigned Users
  • Connecting to fulfillmenttools
    • General Topics
      • Use external identity providers to authenticate to fulfillmenttools
        • Microsoft Entra ID / Azure Active Directory (AD)
      • Public Event Export
      • Available Regions
      • Backup Policies
    • GraphQL API
    • RESTful API
      • General Topics
        • API Release Life Cycle
        • Versioning
        • Authorization
        • Customization via Attributes
        • Update Guarantees
        • Rate Limits
        • Resource Timestamps
        • Pagination Interface
        • Localization
        • Custom Attributes
      • OpenAPI Specification
        • Swagger UI
        • OpenAPI 3.0 Spec
    • Eventing
      • Structure of an Event
      • Available Events
      • Tutorial
    • commercetools Connect
    • Integration Tutorial
      • Adding facilities
      • Adding listings to facilities
      • Configuring stocks
      • Carrier configuration
      • Placing orders
      • Checkout Options
      • Distributed Order Management System (Routing)
      • Local fulfillment configuration
  • Incident Reporting
    • How to report incidents in fulfillmenttools
    • How to define incident priorities
  • Release Notes
    • Release Summary – May 2024
    • Release Summary – June 2024
    • Release Summary – July 2024
    • Release Summary – August 2024
    • Release Summary – September 2024
    • Release Summary – October 2024
Powered by GitBook
On this page

Was this helpful?

  1. Products
  2. Inventory Management
  3. Global Inventory

Stock availability

PreviousGlobal InventoryNextChannel Inventory

Last updated 5 months ago

Was this helpful?

This page is outdated. Please go to our new documentation under .

Introduction

Fulfillmenttools can act as the central source for stock information. It calculates and provides:

  • Stock that is physically present in a facility ()

  • Stock that is available to be sold ()

  • Stock that is available to be sold & picked in a store or warehouse ()

  • Stock that is expected to arrive based on deliveries of goods, production, transfers from other facilities, etc. ()

Stock information can be:

  • queried via or

  • derived from the InventoryFacilityStockChangedWebHookEvent

  • viewed in the

As an alternative, you can directly consume and operate on our , i.e., get all stock entities and calculate the availabilities that you need in your software.

Stock on Hand (On hand)

Describes stock which is physically located in a facility. Stock that is, for example, still booked to the facility but is already in transit to another facility is not included.

Available on Stock (AOS)

  • stock that is reserved for orders

  • expired stock (if defined)

Available for Picking (AFP)

  • stock that is reserved for orders

  • expired stock (if defined)

Expected Stock

API Documentation

Request sum of stocks over facilities per product

We recommend to use this endpoint, for example, for listing pages in online shops.

Request stocks per facility for a specific product

We recommend to use this endpoint, for example, for product detail pages in online shops.

Request all stocks

Update all stocks

We recommend to use this endpoint, for example, to perform an inventory synchronisation with your ERP.

Available on stock describes stock which is available for selling (not been earmarked for other purposes). In our platform it refers to stock that is , reduced by:

, i.e., stock that is held back for offline sales

stock that has reached its value (if defined)

Available for picking describes stock which is available (not been earmarked for other purposes), and also ready to be picked. In our platform it refers to all stock that is and , reduced by:

, i.e., stock that is held back for offline sales

stock that has reached its value (if defined)

Incoming stock that is expected to arrive or to be produced. Expected stock can be communicated via the . After an inboundProcess with a purchaseOrder was created, our systems automatically create expected stock for the requested items. Expected stock is visible in the in the Backoffice. Once a purchase order was created, its expected stock can be considered in the shop availability. Go for more information.

accessible
safety stock
accessible
pickable
safety stock
https://docs.fulfillmenttools.com/documentation
Stock Overview in the Backoffice
stocks
Stock on Hand
Available on Stock
Available for Picking
Expected
api/stocks/summaries
api/stockdistribution
inbound process
here

Get the accumulated Stock for each Article

get
Query parameters
sizenumber · min: 1 · max: 100OptionalDefault: 25
startAfterIdstringOptional

The stockSummaries.article.tenantArticleId value should be used for pagination.

facilityRefsstring[]Optional
allowStalebooleanOptional
tenantArticleIdsstring[]Optional
channelRefsstring[] · max: 50Optional

The channels to included under "channelAdjusted" in the stock summary. Provide up to 50 channelRefs, specify "UNALLOCATED for unallocated stock."

Responses
200
Stock summaries was loaded & you were allowed to access it. The result is in the body.
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
get
GET /api/stocks/summaries HTTP/1.1
Host: 
Accept: */*
{
  "stockSummaries": [
    {
      "article": {
        "imageUrl": "text",
        "tenantArticleId": "text",
        "title": "text"
      },
      "details": {
        "availableForPicking": 1,
        "availableOnStock": 1,
        "byTrait": {
          "ACCESSIBLE": 1,
          "PICKABLE": 1
        },
        "channelAdjusted": [
          {
            "availableForPicking": 1,
            "availableOnStock": 1,
            "channelRef": "text"
          }
        ],
        "reserved": 1,
        "safetyStock": 1,
        "stockOnHand": 1,
        "totalAmount": 1
      },
      "includedFacilityRefs": [
        "text"
      ]
    }
  ],
  "total": 1
}

Stock per Facility for a specific tenantArticleId, also includes the Tenant-Wide Summary

get
Path parameters
tenantArticleIdstring · min: 1Required
Query parameters
facilityNamestring · min: 1Optional
facilityIdsstring[]Optional
channelRefsstring[] · max: 50Optional

The channels to included under "channelAdjusted" in each summary and facility stock. Provide up to 50 channelRefs, specify "UNALLOCATED for unallocated stock."

Responses
200
Stock distribution was loaded & you were allowed to access it. The result is in the body.
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
get
GET /api/articles/{tenantArticleId}/stockdistribution HTTP/1.1
Host: 
Accept: */*
{
  "facilityStocks": [
    {
      "availableForPicking": 1,
      "availableOnStock": 1,
      "byTrait": {
        "ACCESSIBLE": 1,
        "PICKABLE": 1
      },
      "channelAdjusted": [
        {
          "availableForPicking": 1,
          "availableOnStock": 1,
          "channelRef": "text"
        }
      ],
      "facilityId": "text",
      "facilityName": "text",
      "facilityServiceTypes": [
        "SHIP_FROM_STORE"
      ],
      "facilityStatus": "ONLINE",
      "price": 1,
      "reserved": 1,
      "safetyStock": 1,
      "stockOnHand": 1,
      "totalAmount": 1
    }
  ],
  "summary": {
    "availableForPicking": 1,
    "availableOnStock": 1,
    "byTrait": {
      "ACCESSIBLE": 1,
      "PICKABLE": 1
    },
    "channelAdjusted": [
      {
        "availableForPicking": 1,
        "availableOnStock": 1,
        "channelRef": "text"
      }
    ],
    "reserved": 1,
    "safetyStock": 1,
    "stockOnHand": 1,
    "totalAmount": 1
  },
  "tenantArticleId": "text"
}

Get stocks

get
Query parameters
facilityRefstringOptional
tenantArticleIdstring[] · max: 500Optional
locationRefstring[] · max: 500Optional
sizenumber · min: 1 · max: 100OptionalDefault: 25
startAfterIdstringOptional
Responses
200
Stocks
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
get
GET /api/stocks HTTP/1.1
Host: 
Accept: */*
{
  "pageInfo": {
    "endCursor": "text",
    "hasNextPage": true,
    "hasPreviousPage": true,
    "startCursor": "text"
  },
  "stocks": [
    {
      "available": 1,
      "availableUntil": "2025-05-31T12:56:22.177Z",
      "conditions": [
        "DEFECTIVE"
      ],
      "created": "2025-05-31T12:56:22.177Z",
      "customAttributes": {},
      "facilityRef": "text",
      "id": "text",
      "lastModified": "2025-05-31T12:56:22.177Z",
      "locationRef": "text",
      "properties": {
        "expiry": "text"
      },
      "receiptDate": "2025-05-31T12:56:22.177Z",
      "reserved": 1,
      "scannableCodes": [
        "text"
      ],
      "scores": [
        "text"
      ],
      "serializedProperties": "text",
      "tenantArticleId": "text",
      "tenantStockId": "text",
      "traitConfig": [
        {
          "enabled": true,
          "trait": "text"
        }
      ],
      "traits": [
        "PICKABLE"
      ],
      "value": 1,
      "version": 1
    }
  ],
  "total": 1
}
  • Introduction
  • Stock on Hand (On hand)
  • Available on Stock (AOS)
  • Available for Picking (AFP)
  • Expected Stock
  • API Documentation
  • GETGet the accumulated Stock for each Article
  • GETStock per Facility for a specific tenantArticleId, also includes the Tenant-Wide Summary
  • GETGet stocks
  • PUTUpdate and create many stocks at once

Update and create many stocks at once

put
Body
Responses
200
Stock upsert result
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
put
PUT /api/stocks HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 304

{
  "stocks": [
    {
      "availableUntil": "2025-05-31T12:56:22.177Z",
      "conditions": [
        "DEFECTIVE"
      ],
      "customAttributes": {},
      "facilityRef": "text",
      "locationRef": "text",
      "properties": {
        "expiry": "text"
      },
      "receiptDate": "2025-05-31T12:56:22.177Z",
      "tenantArticleId": "text",
      "traitConfig": [
        {
          "enabled": true,
          "trait": "text"
        }
      ],
      "value": 1
    }
  ]
}
[
  {
    "status": "UPDATED",
    "stock": {
      "available": 1,
      "availableUntil": "2025-05-31T12:56:22.177Z",
      "conditions": [
        "DEFECTIVE"
      ],
      "created": "2025-05-31T12:56:22.177Z",
      "customAttributes": {},
      "facilityRef": "text",
      "id": "text",
      "lastModified": "2025-05-31T12:56:22.177Z",
      "locationRef": "text",
      "properties": {
        "expiry": "text"
      },
      "receiptDate": "2025-05-31T12:56:22.177Z",
      "reserved": 1,
      "scannableCodes": [
        "text"
      ],
      "scores": [
        "text"
      ],
      "serializedProperties": "text",
      "tenantArticleId": "text",
      "tenantStockId": "text",
      "traitConfig": [
        {
          "enabled": true,
          "trait": "text"
        }
      ],
      "traits": [
        "PICKABLE"
      ],
      "value": 1,
      "version": 1
    }
  }
]
stock overview
availableUntil
availableUntil