The InvoiceShipInfo JSON object defines the shipping info for an invoice 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

Object
{
    int numberOfUnitsShipped?;
    string unitOfMeasurementCode?;
    double weight?;
    string weightUnits?;
    isodate date?;
    string trackingNumber?;
    string carrier?;
    string method?;
    string serviceLevelCode?;
    string transportationMethodCode?;
    string referenceNumberQualifier?;
    int dscoPackageId?;                # Added in V2
    
    string warehouseCode?;          #Added in V2 - supplier-provided
    string warehouseRetailerCode?;  #Added in V2 - retailer code for 
                                    # supplier's warehouse
    string warehouseDscoId?;        # Added in V2 - Dsco ID of supplier's
                                    # warehouse

    string ssccBarcode?;  #Added in V2
};

Example

{
    "numberOfUnitsShipped": 1,
    "weight": 2.3,
    "weightUnits": "ounces",
    "trackingNumber": "2342j234222"
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.