The ItemWarehouse JSON object defines a warehouse associated with 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 code;               # The unique ID of the warehouse
    int quantity;              # The number of the item in the warehouse
    double cost?;              # The cost of the item in the warehouse
    string retailerCode?;      # Added in V2 - The retailer-provided ID
                               # of the supplier's warehouse
    string dscoId?;            # Added in V2 - The DSCO ID representing the 
                               # supplier's warehouse


    "dscoId": "234fasfas",
    "code": "wh1",
    "retailerCode": "aabbcc",
    "quantity": 232,
    "cost": "23.99",
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.