The PackageLineItem JSON object defines an item within a Package that is part of a  Shipment of an order in 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

Definition

Example

Object
{
    int dscoItemId?;        # The DSCO unique ID of the item, one of
                            # dscoItemId, sku, partnerSku, upc or ean is required
    string sku?;            # The SKU of the item, one of
                            # dscoItemId, sku, partnerSku, upc or ean is required
    string partnerSku?;     # Added in V2 - The partner SKU of the item, one of
                            # dscoItemId, sku, partnerSku, upc or ean is required
    string upc?;            # Added in V2 - The partner SKU of the item, one of
                            # dscoItemId, sku, partnerSku, upc or ean is required
    string ean?;            # Added in V2 - The partner SKU of the item, one of
                            # dscoItemId, sku, partnerSku, upc or ean is required
    int quantity;           # The number of this item in the package
    int lineNumber?;            # Added in V2
    int originalLineNumber?;    # Added in V2
    int originalOrderQuantity?; # Added in V2
    
    array{string} retailerItemIds?;   #Added in V2
    string departmentId?;             #Added in V2
    string departmentName?;           #Added in V2
    string merchandisingAccountId?;   #Added in V2
    string merchandisingAccountName?; #Added in V2
};
{
    "dscoItemId": 8276,
    "sku": "aa832934",
    "quantity": 3
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.