The Shipping JSON object defines whom and where an order will be shipped to as data within an Order in the DSCO system.
Please review the ShipData document if you haven't already.
- 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 attention?; string firstName; string lastName; string company?; string address1; string address2?; string city; string region; string postal; string country?; string phone?; string email?; string carrier?; # The company who will ship # This attribute is deprecated as of January 2018 # and retailers should use Order.retailerShipCarrier # when creating an order and suppliers should use # Order.shipCarrier when receiving an order string method?; # The ship method used to ship # This attribute is deprecated as of January 2018 # and retailers should use Order.retailerShipMethod # when creating an order and suppliers should use # Order.shipMethod when receiving an order string storeNumber?; # The store number to ship to };
Example
{ "attention": "To Mr. G", "firstName": "John", "lastName": "Doe", "company": "Acme Industrial", "address1": "1st South St.", "address2": "Suite 100", "city": "New York", "region": "New York", "postal": "10007", "country": "US", "phone": "222.342.2322", "email": "jdoe@acme.com", "carrier": "US Postal", "method": "GROUND" }
Comments
Please sign in to leave a comment.