Created
October 31, 2022 06:39
-
-
Save stanwu/29500e2d634886df387b9f4fe64a4cb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const req = { | |
ClientDetail: { | |
}, | |
RequestedShipment: { | |
DropOffType: 'REQUEST_COURIER', | |
Ship: { | |
Shipper: { | |
StreetLines: '1-16-24, Minami-gyotoku', | |
City: 'Ichikawa-shi, Chiba', | |
PostalCode: '272-0138', | |
CountryCode: 'JP', | |
}, | |
Recipient: { | |
StreetLines: '63 RENMIN LU, QINGDAO SHI', | |
City: 'QINGDAO SHI', | |
PostalCode: '266033', | |
CountryCode: 'CN', | |
}, | |
}, | |
Packages: { | |
RequestedPackages: { | |
attributes: { | |
number: 1, | |
}, | |
Weight: { | |
Value: 2, | |
}, | |
Dimensions: { | |
Length: 13, | |
Width: 12, | |
Height: 9, | |
}, | |
}, | |
}, | |
ShipTimestamp: getIsoDateTimeGmt(), | |
UnitOfMeasurement: 'SU', | |
Content: 'NON_DOCUMENTS', | |
DeclaredValue: 200, | |
DeclaredValueCurrecyCode: 'USD', | |
PaymentInfo: 'DDP', | |
Account: auth.accountNumber, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment