The InvoiceShipFromTo JSON object defines the ship from/to address 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
{
    string firstName?;
    string lastName?;
    string company?;
    string address1?;
    string address2?;
    string country?;
    string region?;
    string postal?;
    string city?;
    string locationCode?;
    string attention?;     # Added in V2
    string email?;         # Added in V2
    string phone?;         # Added in V2
    string storeNumber?;   # Added in V2
};

Example

{
    "firstName": "John",
    "lastName": "Doe",
    "poNumber": "abcdefygsa",
    "address1": "23 Washington Place",
    "country": "USA"
    "postal": "02108"
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.