The ItemInventory JSON object defines inventory data for an item of the  Dsco system.

- Make sure you're familiar with JSON before continuing.
- The JSON objects are defined using Orderly.  Optional attrs end with a "?" all others are required.

- isodate fields use one of these ISO 8601 format: 2014-01-01T10:30:00.000+01:00, 2014-01-01T10:30:00.000+0100, 2014-01-01T10:30:00.000Z
- Dsco reserves the right to add new attributes at any time so Partners should ensure their validators won't break should this happen


    string sku;                # The sku of the item
    string upc?;               # The upc of the item
    string ean?;               # The ean of the item
    string mpn?;               # The mpn of the item
    string isbn?;              # The isbn of the item
    string gtin?;              # The gtin of the item
    string partnerSku?         # Added in V2 - The sku specific to the retailer/supplier relationship
                               # this will only be populated when requested by a
                               # retailer where the supplier has provided a partnerSku
                               # value for relationship with the retailer requesting the 
                               # ItemInventory object
    int quantityAvailable;     # The number of this item available
    string title?;             # The item's title     
    double cost?;              # The item's cost
    string status[in-stock,    # The item's status
    array{ref PartnerSkuMap} partnerSkuMap;  # Added in V2 - The map of retailer-specific unique identifiers for 
                                             # the given ItemInventory object
                                             # will not be present when retailers
                                             # request this object
    isodate estimatedAvailabilityDate?; # The date the item may be avail.
    int quantityOnOrder?;               # The number on order
    string currencyCode?;               # The currency code of item
    array {ref ItemWarehouse} warehouses?;   # The list of warehouses that house this item
    int dscoItemId?;
    string dscoSupplierName?;
    int dscoSupplierId?;
    string tradingPartnerId?;           # Only populated when requested by retailer
    string tradingPartnerName?;         # Only populated when requested by retailer
    isodate dscoCreateDate?;            
    isodate dscoLastQuantityUpdateDate?;
    isodate dscoLastCostUpdateDate?;
    isodate dscoLastUpdateDate?;


    "sku": "asfs92342klsdfsf",
    "quantityAvailable": 232,
    "title": "My lovely item",
    "cost": "23.99",
    "status": "in-stock",
    "estimatedAvailabilityDate": "2014-01-01T10:15:00+01:00",
    "quantityOnOrder": 100,
    "currencyCode": "USD",
    "dscoItemId": 232,
    "dscoSupplierName": "Acme supplier",
    "dscoSupplierId": "9822",
    "dscoCreateDate": "2014-01-01T10:15:00+01:00",
    "dscoLastQuantityUpdateDate": "2014-01-01T10:15:00+01:00",
    "dscoLastCostUpdateDate": "2014-01-01T10:15:00+01:00",
    "dscoLastUpdateDate": "2014-01-01T10:15:00+01:00"
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.