Calculate rates
Name | Type | Description |
---|---|---|
shipment * | shipment | An instance of shipping freight or cargo |
async | boolean | enable async mode or not (set to false if not provided) |
is_document | boolean | If the shipment is document type. (set to false if not provided) |
shipper_accounts | array of reference | accounts for shipment Object reference |
{
"async": false,
"shipper_accounts": [
{
"id": "42b255fe-d732-4cae-bc2e-8d19ca095ac2"
}
],
"is_document": false,
"shipment": {
"ship_from": {
"contact_name": "Mr.Panda",
"company_name": "Bode, Lind and Powlowski",
"email": "dev@yahoo.com",
"phone": "1-140-225-6414",
"street1": "8918 Borer Ramp",
"city": "Hongkong",
"state": "CA",
"postal_code": "518000",
"country": "HKG",
"type": "business"
},
"ship_to": {
"contact_name": "Dr. Panda",
"phone": "1-140-225-6410",
"email": "panda@panda.com",
"street1": "28292 Daugherty Orchard",
"city": "MELBOURNE",
"country": "AUS",
"postal_code": "3000",
"type": "residential"
},
"parcels": [
{
"description": "iMac (Retina 5K, 27-inch, Late 2014)",
"box_type": "custom",
"weight": {
"value": 9.54,
"unit": "kg"
},
"dimension": {
"width": 65,
"height": 52,
"depth": 21,
"unit": "cm"
},
"items": [
{
"description": "iMac (Retina 5K, 27-inch, Late 2014)",
"origin_country": "USA",
"quantity": 1,
"price": {
"amount": 1999,
"currency": "AUD"
},
"weight": {
"value": 9.54,
"unit": "kg"
},
"sku": "imac2014"
}
]
}
]
}
}
curl --request POST \
--url https://sandbox-api.postmen.com/v3/rates \
--header 'content-type: application/json' \
--header 'postmen-api-key: 8fc7966b-679b-4a57-911d-c5a663229c9e' \
--data '{"async":false,"shipper_accounts":[{"id":"42b255fe-d732-4cae-bc2e-8d19ca095ac2"}],"is_document":false,"shipment":{"ship_from":{"contact_name":"Mr.Panda","company_name":"Bode, Lind and Powlowski","email":"dev@yahoo.com","phone":"1-140-225-6414","street1":"8918 Borer Ramp","city":"Hongkong","state":"CA","postal_code":"518000","country":"HKG","type":"business"},"ship_to":{"contact_name":"Dr. Panda","phone":"1-140-225-6410","email":"panda@panda.com","street1":"28292 Daugherty Orchard","city":"MELBOURNE","country":"AUS","postal_code":"3000","type":"residential"},"parcels":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","box_type":"custom","weight":{"value":9.54,"unit":"kg"},"dimension":{"width":65,"height":52,"depth":21,"unit":"cm"},"items":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","origin_country":"USA","quantity":1,"price":{"amount":1999,"currency":"AUD"},"weight":{"value":9.54,"unit":"kg"},"sku":"imac2014"}]}]}}'
using System;
using System.Net;
using System.IO;
class ExamplePostmen
{
static void Main(string[] args)
{
WebRequest httpWebRequest = WebRequest.Create("https://sandbox-api.postmen.com/v3/rates");
string json = "{\"async\":false,\"shipper_accounts\":[{\"id\":\"42b255fe-d732-4cae-bc2e-8d19ca095ac2\"}],\"is_document\":false,\"shipment\":{\"ship_from\":{\"contact_name\":\"Mr.Panda\",\"company_name\":\"Bode, Lind and Powlowski\",\"email\":\"dev@yahoo.com\",\"phone\":\"1-140-225-6414\",\"street1\":\"8918 Borer Ramp\",\"city\":\"Hongkong\",\"state\":\"CA\",\"postal_code\":\"518000\",\"country\":\"HKG\",\"type\":\"business\"},\"ship_to\":{\"contact_name\":\"Dr. Panda\",\"phone\":\"1-140-225-6410\",\"email\":\"panda@panda.com\",\"street1\":\"28292 Daugherty Orchard\",\"city\":\"MELBOURNE\",\"country\":\"AUS\",\"postal_code\":\"3000\",\"type\":\"residential\"},\"parcels\":[{\"description\":\"iMac (Retina 5K, 27-inch, Late 2014)\",\"box_type\":\"custom\",\"weight\":{\"value\":9.54,\"unit\":\"kg\"},\"dimension\":{\"width\":65,\"height\":52,\"depth\":21,\"unit\":\"cm\"},\"items\":[{\"description\":\"iMac (Retina 5K, 27-inch, Late 2014)\",\"origin_country\":\"USA\",\"quantity\":1,\"price\":{\"amount\":1999,\"currency\":\"AUD\"},\"weight\":{\"value\":9.54,\"unit\":\"kg\"},\"sku\":\"imac2014\"}]}]}}";
httpWebRequest.ContentType = "application/json";
httpWebRequest.Method = "POST";
httpWebRequest.Headers["postmen-api-key"] = "8fc7966b-679b-4a57-911d-c5a663229c9e";
using (StreamWriter streamWriter = new StreamWriter(httpWebRequest.GetRequestStream()))
{
streamWriter.Write(json);
streamWriter.Flush();
streamWriter.Close();
}
HttpWebResponse httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();
using (StreamReader streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
string result = streamReader.ReadToEnd();
Console.WriteLine(result);
}
}
}
import com.squareup.okhttp.*;
public class test {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"async\":false,\"shipper_accounts\":[{\"id\":\"42b255fe-d732-4cae-bc2e-8d19ca095ac2\"}],\"is_document\":false,\"shipment\":{\"ship_from\":{\"contact_name\":\"Mr.Panda\",\"company_name\":\"Bode, Lind and Powlowski\",\"email\":\"dev@yahoo.com\",\"phone\":\"1-140-225-6414\",\"street1\":\"8918 Borer Ramp\",\"city\":\"Hongkong\",\"state\":\"CA\",\"postal_code\":\"518000\",\"country\":\"HKG\",\"type\":\"business\"},\"ship_to\":{\"contact_name\":\"Dr. Panda\",\"phone\":\"1-140-225-6410\",\"email\":\"panda@panda.com\",\"street1\":\"28292 Daugherty Orchard\",\"city\":\"MELBOURNE\",\"country\":\"AUS\",\"postal_code\":\"3000\",\"type\":\"residential\"},\"parcels\":[{\"description\":\"iMac (Retina 5K, 27-inch, Late 2014)\",\"box_type\":\"custom\",\"weight\":{\"value\":9.54,\"unit\":\"kg\"},\"dimension\":{\"width\":65,\"height\":52,\"depth\":21,\"unit\":\"cm\"},\"items\":[{\"description\":\"iMac (Retina 5K, 27-inch, Late 2014)\",\"origin_country\":\"USA\",\"quantity\":1,\"price\":{\"amount\":1999,\"currency\":\"AUD\"},\"weight\":{\"value\":9.54,\"unit\":\"kg\"},\"sku\":\"imac2014\"}]}]}}");
Request request = new Request.Builder()
.url("https://sandbox-api.postmen.com/v3/rates")
.post(body)
.addHeader("postmen-api-key", "8fc7966b-679b-4a57-911d-c5a663229c9e")
.addHeader("content-type", "application/json")
.build();
try {
Response response = client.newCall(request).execute();
System.out.println(response.body().string());
} catch (Exception e) {
System.err.println("Caught IOException: " + e.getMessage());
}
}
}
var request = require("request");
var options = {
method: 'POST',
url: 'https://sandbox-api.postmen.com/v3/rates',
headers: {
'content-type': 'application/json',
'postmen-api-key': '8fc7966b-679b-4a57-911d-c5a663229c9e'
},
body: '{"async":false,"shipper_accounts":[{"id":"42b255fe-d732-4cae-bc2e-8d19ca095ac2"}],"is_document":false,"shipment":{"ship_from":{"contact_name":"Mr.Panda","company_name":"Bode, Lind and Powlowski","email":"dev@yahoo.com","phone":"1-140-225-6414","street1":"8918 Borer Ramp","city":"Hongkong","state":"CA","postal_code":"518000","country":"HKG","type":"business"},"ship_to":{"contact_name":"Dr. Panda","phone":"1-140-225-6410","email":"panda@panda.com","street1":"28292 Daugherty Orchard","city":"MELBOURNE","country":"AUS","postal_code":"3000","type":"residential"},"parcels":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","box_type":"custom","weight":{"value":9.54,"unit":"kg"},"dimension":{"width":65,"height":52,"depth":21,"unit":"cm"},"items":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","origin_country":"USA","quantity":1,"price":{"amount":1999,"currency":"AUD"},"weight":{"value":9.54,"unit":"kg"},"sku":"imac2014"}]}]}}'
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
<?php
$url = 'https://sandbox-api.postmen.com/v3/rates';
$method = 'POST';
$headers = array(
"content-type: application/json",
"postmen-api-key: 8fc7966b-679b-4a57-911d-c5a663229c9e"
);
$body = '{"async":false,"shipper_accounts":[{"id":"42b255fe-d732-4cae-bc2e-8d19ca095ac2"}],"is_document":false,"shipment":{"ship_from":{"contact_name":"Mr.Panda","company_name":"Bode, Lind and Powlowski","email":"dev@yahoo.com","phone":"1-140-225-6414","street1":"8918 Borer Ramp","city":"Hongkong","state":"CA","postal_code":"518000","country":"HKG","type":"business"},"ship_to":{"contact_name":"Dr. Panda","phone":"1-140-225-6410","email":"panda@panda.com","street1":"28292 Daugherty Orchard","city":"MELBOURNE","country":"AUS","postal_code":"3000","type":"residential"},"parcels":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","box_type":"custom","weight":{"value":9.54,"unit":"kg"},"dimension":{"width":65,"height":52,"depth":21,"unit":"cm"},"items":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","origin_country":"USA","quantity":1,"price":{"amount":1999,"currency":"AUD"},"weight":{"value":9.54,"unit":"kg"},"sku":"imac2014"}]}]}}';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_URL => $url,
CURLOPT_CUSTOMREQUEST => $method,
CURLOPT_HTTPHEADER => $headers,
CURLOPT_POSTFIELDS => $body
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
?>
# Make sure to install requests: pip install requests
import requests
url = 'https://sandbox-api.postmen.com/v3/rates'
payload = '''
{
"async": false,
"shipper_accounts": [
{
"id": "42b255fe-d732-4cae-bc2e-8d19ca095ac2"
}
],
"is_document": false,
"shipment": {
"ship_from": {
"contact_name": "Mr.Panda",
"company_name": "Bode, Lind and Powlowski",
"email": "dev@yahoo.com",
"phone": "1-140-225-6414",
"street1": "8918 Borer Ramp",
"city": "Hongkong",
"state": "CA",
"postal_code": "518000",
"country": "HKG",
"type": "business"
},
"ship_to": {
"contact_name": "Dr. Panda",
"phone": "1-140-225-6410",
"email": "panda@panda.com",
"street1": "28292 Daugherty Orchard",
"city": "MELBOURNE",
"country": "AUS",
"postal_code": "3000",
"type": "residential"
},
"parcels": [
{
"description": "iMac (Retina 5K, 27-inch, Late 2014)",
"box_type": "custom",
"weight": {
"value": 9.54,
"unit": "kg"
},
"dimension": {
"width": 65,
"height": 52,
"depth": 21,
"unit": "cm"
},
"items": [
{
"description": "iMac (Retina 5K, 27-inch, Late 2014)",
"origin_country": "USA",
"quantity": 1,
"price": {
"amount": 1999,
"currency": "AUD"
},
"weight": {
"value": 9.54,
"unit": "kg"
},
"sku": "imac2014"
}
]
}
]
}
}
'''
headers = {
'postmen-api-key': '8fc7966b-679b-4a57-911d-c5a663229c9e',
'content-type': 'application/json'
}
response = requests.request('POST', url, data=payload, headers=headers)
print(response.text)
require 'uri'
require 'net/http'
url = URI('https://sandbox-api.postmen.com/v3/rates')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request['postmen-api-key'] = '8fc7966b-679b-4a57-911d-c5a663229c9e'
request['content-type'] = 'application/json'
request.body = '{"async":false,"shipper_accounts":[{"id":"42b255fe-d732-4cae-bc2e-8d19ca095ac2"}],"is_document":false,"shipment":{"ship_from":{"contact_name":"Mr.Panda","company_name":"Bode, Lind and Powlowski","email":"dev@yahoo.com","phone":"1-140-225-6414","street1":"8918 Borer Ramp","city":"Hongkong","state":"CA","postal_code":"518000","country":"HKG","type":"business"},"ship_to":{"contact_name":"Dr. Panda","phone":"1-140-225-6410","email":"panda@panda.com","street1":"28292 Daugherty Orchard","city":"MELBOURNE","country":"AUS","postal_code":"3000","type":"residential"},"parcels":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","box_type":"custom","weight":{"value":9.54,"unit":"kg"},"dimension":{"width":65,"height":52,"depth":21,"unit":"cm"},"items":[{"description":"iMac (Retina 5K, 27-inch, Late 2014)","origin_country":"USA","quantity":1,"price":{"amount":1999,"currency":"AUD"},"weight":{"value":9.54,"unit":"kg"},"sku":"imac2014"}]}]}}'
response = http.request(request)
puts response.read_body
Name | Type | Description |
---|---|---|
id | string | Calculate Rate ID |
status | string | Accepts: calculating ,calculated ,failed . |
rates | array of rate type | The amount of a charge or payment with reference to some basis of calculation. |
created_at | string | A formatted date. |
updated_at | string | A formatted date. |
Response example
{
"meta": {
"code": 200,
"message": "OK",
"details": []
},
"data": {
"created_at": "2019-03-21T08:14:51+00:00",
"id": "e6ff8a69-54ab-492e-85ad-22a4b5c4bf2e",
"updated_at": "2019-03-21T08:14:53+00:00",
"status": "calculated",
"rates": [
{
"service_type": "couriers-please_international_express_import_e",
"service_name": "Couriers Please International Express Import(E)",
"info_message": "1-2 Business Days",
"charge_weight": {
"value": 14.2,
"unit": "kg"
},
"total_charge": {
"amount": 186.04,
"currency": "AUD"
},
"detailed_charges": [
{
"type": "base",
"charge": {
"amount": 160.38,
"currency": "AUD"
}
},
{
"type": "fuel_surcharge",
"charge": {
"amount": 25.66,
"currency": "AUD"
}
}
],
"transit_time": 2,
"shipper_account": {
"id": "42b255fe-d732-4cae-bc2e-8d19ca095ac2",
"slug": "couriers-please",
"description": "couriers-please"
}
}
]
}
}
List all rates
Optional parameters
Name | Type | Description |
---|---|---|
status | string | Rate status Accepts: calculating ,calculated ,failed . |
limit | string | Number of records per page |
created_at_min | string | Start date and time of the record created (format YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS+00:00, default: 24hrs ago) |
created_at_max | string | End date and time of the record created (format YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS+00:00, default: NOW()) |
next_token | string | Next token |
{}
curl --request GET \
--url https://sandbox-api.postmen.com/v3/rates \
--header 'content-type: application/json' \
--header 'postmen-api-key: 8fc7966b-679b-4a57-911d-c5a663229c9e' \
using System;
using System.Net;
using System.IO;
class ExamplePostmen
{
static void Main(string[] args)
{
WebRequest httpWebRequest = WebRequest.Create("https://sandbox-api.postmen.com/v3/rates");
httpWebRequest.ContentType = "application/json";
httpWebRequest.Method = "GET";
httpWebRequest.Headers["postmen-api-key"] = "8fc7966b-679b-4a57-911d-c5a663229c9e";
HttpWebResponse httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();
using (StreamReader streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
string result = streamReader.ReadToEnd();
Console.WriteLine(result);
}
}
}
import com.squareup.okhttp.*;
public class test {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
.url("https://sandbox-api.postmen.com/v3/rates")
.get()
.addHeader("postmen-api-key", "8fc7966b-679b-4a57-911d-c5a663229c9e")
.addHeader("content-type", "application/json")
.build();
try {
Response response = client.newCall(request).execute();
System.out.println(response.body().string());
} catch (Exception e) {
System.err.println("Caught IOException: " + e.getMessage());
}
}
}
var request = require("request");
var options = {
method: 'GET',
url: 'https://sandbox-api.postmen.com/v3/rates',
headers: {
'content-type': 'application/json',
'postmen-api-key': '8fc7966b-679b-4a57-911d-c5a663229c9e'
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
<?php
$url = 'https://sandbox-api.postmen.com/v3/rates';
$method = 'GET';
$headers = array(
"content-type: application/json",
"postmen-api-key: 8fc7966b-679b-4a57-911d-c5a663229c9e"
);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_URL => $url,
CURLOPT_CUSTOMREQUEST => $method,
CURLOPT_HTTPHEADER => $headers,
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
?>
# Make sure to install requests: pip install requests
import requests
url = 'https://sandbox-api.postmen.com/v3/rates'
headers = {
'postmen-api-key': '8fc7966b-679b-4a57-911d-c5a663229c9e',
'content-type': 'application/json'
}
response = requests.request('GET', url, headers=headers)
print(response.text)
require 'uri'
require 'net/http'
url = URI('https://sandbox-api.postmen.com/v3/rates')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request['postmen-api-key'] = '8fc7966b-679b-4a57-911d-c5a663229c9e'
request['content-type'] = 'application/json'
response = http.request(request)
puts response.read_body
Name | Type | Description |
---|---|---|
next_token | string or null | Any of string or null |
limit | number | Number of records per page |
rates | array of a rate record object | A rate record object |
Response example
{
"meta": {
"code": 200,
"message": "OK",
"details": []
},
"data": {
"next_token": "1",
"limit": 1,
"created_at_min": "2019-04-18T09:23:21+00:00",
"created_at_max": "2019-09-19T10:17:22+00:00",
"rates": [
{
"service_type": "international_express_import_e",
"service_name": "International Express Import(E)",
"info_message": "1-2 Business Days",
"charge_weight": {
"value": 14.2,
"unit": "kg"
},
"total_charge": {
"amount": 186.04,
"currency": "AUD"
},
"detailed_charges": [
{
"type": "base",
"charge": {
"amount": 160.38,
"currency": "AUD"
}
},
{
"type": "fuel_surcharge",
"charge": {
"amount": 25.66,
"currency": "AUD"
}
}
],
"transit_time": 2,
"shipper_account": {
"id": "42b255fe-d732-4cae-bc2e-8d19ca095ac2",
"slug": "couriers-please",
"description": "couriers-please"
}
}
]
}
}
Retrieve rates
{}
curl --request GET \
--url https://sandbox-api.postmen.com/v3/rates/ \
--header 'content-type: application/json' \
--header 'postmen-api-key: 8fc7966b-679b-4a57-911d-c5a663229c9e' \
using System;
using System.Net;
using System.IO;
class ExamplePostmen
{
static void Main(string[] args)
{
WebRequest httpWebRequest = WebRequest.Create("https://sandbox-api.postmen.com/v3/rates/");
httpWebRequest.ContentType = "application/json";
httpWebRequest.Method = "GET";
httpWebRequest.Headers["postmen-api-key"] = "8fc7966b-679b-4a57-911d-c5a663229c9e";
HttpWebResponse httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();
using (StreamReader streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
string result = streamReader.ReadToEnd();
Console.WriteLine(result);
}
}
}
import com.squareup.okhttp.*;
public class test {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
.url("https://sandbox-api.postmen.com/v3/rates/")
.get()
.addHeader("postmen-api-key", "8fc7966b-679b-4a57-911d-c5a663229c9e")
.addHeader("content-type", "application/json")
.build();
try {
Response response = client.newCall(request).execute();
System.out.println(response.body().string());
} catch (Exception e) {
System.err.println("Caught IOException: " + e.getMessage());
}
}
}
var request = require("request");
var options = {
method: 'GET',
url: 'https://sandbox-api.postmen.com/v3/rates/',
headers: {
'content-type': 'application/json',
'postmen-api-key': '8fc7966b-679b-4a57-911d-c5a663229c9e'
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
<?php
$url = 'https://sandbox-api.postmen.com/v3/rates/';
$method = 'GET';
$headers = array(
"content-type: application/json",
"postmen-api-key: 8fc7966b-679b-4a57-911d-c5a663229c9e"
);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_URL => $url,
CURLOPT_CUSTOMREQUEST => $method,
CURLOPT_HTTPHEADER => $headers,
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
?>
# Make sure to install requests: pip install requests
import requests
url = 'https://sandbox-api.postmen.com/v3/rates/'
headers = {
'postmen-api-key': '8fc7966b-679b-4a57-911d-c5a663229c9e',
'content-type': 'application/json'
}
response = requests.request('GET', url, headers=headers)
print(response.text)
require 'uri'
require 'net/http'
url = URI('https://sandbox-api.postmen.com/v3/rates/')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request['postmen-api-key'] = '8fc7966b-679b-4a57-911d-c5a663229c9e'
request['content-type'] = 'application/json'
response = http.request(request)
puts response.read_body
Name | Type | Description |
---|---|---|
id | string | Calculate Rate ID |
status | string | Accepts: calculating ,calculated ,failed . |
rates | array of rate type | The amount of a charge or payment with reference to some basis of calculation. |
created_at | string | A formatted date. |
updated_at | string | A formatted date. |
Response example
{
"meta": {
"code": 200,
"message": "OK",
"details": []
},
"data": {
"created_at": "2019-03-21T08:14:51+00:00",
"id": "e6ff8a69-54ab-492e-85ad-22a4b5c4bf2e",
"updated_at": "2019-03-21T08:14:53+00:00",
"status": "calculated",
"rates": [
{
"service_type": "international_express_import_e",
"service_name": "International Express Import(E)",
"info_message": "1-2 Business Days",
"charge_weight": {
"value": 14.2,
"unit": "kg"
},
"total_charge": {
"amount": 186.04,
"currency": "AUD"
},
"detailed_charges": [
{
"type": "base",
"charge": {
"amount": 160.38,
"currency": "AUD"
}
},
{
"type": "fuel_surcharge",
"charge": {
"amount": 25.66,
"currency": "AUD"
}
}
],
"transit_time": 2,
"shipper_account": {
"id": "42b255fe-d732-4cae-bc2e-8d19ca095ac2",
"slug": "couriers-please",
"description": "couriers-please"
}
}
]
}
}