Skip to main content

stockLevel

idinteger
typestringrequired
Constant value: stockLevel
attributes object

An array of stock levels of the indicated sku and warehouse combination.

levels object[]
  • Array [
  • availableinteger
    damagedinteger
    economicinteger
    expectedinteger
    expiredinteger
    freeinteger
    orderedinteger
    outboundinteger
    overdueinteger
    physicalinteger

    Physical stock represents the total number of items of the sku at any of the locations at Paxon.

    quarantinedinteger
    stockinteger

    Depending on the product specific setting, the value of stock is assigned the value of economic or available.

    toScrapinteger
    unavailableinteger
    warehousewarehouseCode

    Provides the warehouseCode of the warehouse the stock is located in.

    Possible values: [BW, DD, FL, FP, GN, NR]

  • ]
  • skuproductSku

    SKU (stock keeping unit) of a product used to identify products.

    Possible values: >= 2 characters and <= 80 characters, Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$

    Examples:
    Example: VDB-400
    relationships object
    product object

    Represents a relationship to a product resource.

    data object

    Represents a self-link of a product resource.

    idinteger

    The id is an internally assigned id of a product.

    Example: 540935
    typestringrequired
    Constant value: product
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/products/540935
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/stockLevels/540935
    stockLevel
    {
    "id": 0,
    "type": "stockLevel",
    "attributes": {
    "sku": "VDB-400",
    "levels": [
    {
    "warehouse": "BW",
    "stock": 0,
    "free": 0,
    "economic": 0,
    "available": 0,
    "physical": 0,
    "quarantined": 0,
    "unavailable": 0,
    "expected": 0,
    "damaged": 0,
    "toScrap": 0,
    "overdue": 0,
    "expired": 0,
    "outbound": 0,
    "ordered": 0
    }
    ]
    },
    "relationships": {
    "product": {
    "data": {
    "id": 540935,
    "type": "product",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/products/540935"
    }
    }
    }
    },
    "links": {
    "self": "https://shopapi.activeants.nl/v3/stockLevels/540935"
    }
    }