Skip to content

Instantly share code, notes, and snippets.

@nomoney4me
Last active November 27, 2019 01:43
Show Gist options
  • Save nomoney4me/a1cc29f66acf59fa882a530bf906361b to your computer and use it in GitHub Desktop.
Save nomoney4me/a1cc29f66acf59fa882a530bf906361b to your computer and use it in GitHub Desktop.
{
"carrier": "FedEx",
"carrier_code": "FDXE",
"action": "SubmitShipment",
"params": {
"account_number": "",
"meter_number": "",
"key": "",
"password": "",
"packages": [{
"weight": 1,
"length": 1,
"width": 1,
"height": 1
}],
"shipper": "RocketShipIt",
"ship_addr1": "411 Laurel St Suite A200",
"ship_addr2": "",
"ship_city": "Des Moines",
"ship_state": "IA",
"ship_code": "50314",
"ship_country": "US",
"ship_phone": "1231231234",
"to_name": "John Doe",
"to_addr1": "2500 California Plaza",
"to_addr2": "",
"to_city": "Omaha",
"to_state": "NE",
"to_code": "68178",
"to_phone": "1231231234",
"packaging_type": "YOUR_PACKAGING",
"length_unit": "IN",
"to_country": "US",
"ship_date": "2019-11-30",
"weight_unit": "LB",
"dropoff_type": "REGULAR_PICKUP",
"image_type": "PNG",
"test": true
}
}
{ meta: { code: 200, error_message: '' },
data:
{ errors:
[ { code: '80040B1A',
description:
'API Authorization failure. User <redacted> is not authorized to use API DeliveryConfirmationV4.',
type: 'Error' },
{ code: '',
description:
'expected element type <DeliveryConfirmationV4.0Response> but have <Error>',
type: '' } ],
charges: 0,
tracking_number: '',
shipment_id: '',
packages: null,
documents: null }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment