Enhance your platform with advanced shipping and spend management tools
Integrate, white-label, or co-brand our robust shipping solutions to elevate your platform's capabilities
Customizable, modular, and co-branded apps
Building blocks
Start with core shipping and spend apps, and add more when needed
Admin dashboard
Role-based access control with account groupings, audit trails and partner reports
Payment options
Bill customers directly for shipping, or have us manage payments on your behalf
Comprehensive API suite
Unlock enhanced functionality with our extensive API offering
curl --location 'https://api.commerceship.com/v1/orders' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'return-label: true' \
--header 'full-response: true' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlY2JkNDQ0My04ZDFhLTRlNmMtYmIyOS0xYmUxMTk2NDZlOGMiLCJwZXJtaXNzaW9ucyI6W10sInJvbGVzIjpbXSwiZXhwIjoxNzA0MDY3MjAwLjB9.5MKHwwW6Se3riycZQ381Tk_NC85jkl5p-My8wp6kvo-OcQeSLWL0Ct8AA5TqJpEHTm-moRGQT1jtr598cEAuUg
' \
--data '{
"from_address": {
"company_name" : "Retail Group",
"first_name" : "James",
"last_name" : "Smith",
"street1" : "456 Elm Ave",
"street2" : "Suite 101",
"city_locality" : "Springfield",
"state_province" : "IL",
"postal_code" : "67890",
"country_code" : "US"
},
"to_address": {
"company_name" : "Client ",
"first_name" : "Mary",
"last_name" : "Johnson",
"street1" : "1122 Cedar Blvd,
"city_locality" : "Brookville",
"state_province" : "CA",
"postal_code" : "99901",
"country_code" : "US"
},
"service": "usps_priority_mail",
"ship_date": "2024-01-02T00:00:00.000Z",
"packages": [
{
"package_type": "parcel",
"insurance_type": "carrier",
"insured_value": {
"value": 20.00,
"unit": "usd"
},
"weight": {
"value": 1.00,
"unit": "lb"
},
"dimensions": {
"length": 12.00,
"width": 9.00,
"height": 4.00,
"unit": "in"
}
}
],
"items": [
{
"description": "shirt",
"quantity": 1,
"item_weight": {
"value": 16.00,
"unit": "oz"
},
"item_value": {
"value": 19.99,
"unit": "usd"
},
"item_dimensions": {
"length": 10.50,
"width": 8.00,
"height": 1.00,
"unit": "in"
},
"sku": "SHRT-BLA-M-001",
"origin_country_code": "US"
}
],
"create_label": true
}'
import okhttp3.*;
import java.io.IOException;
public class CommerceShipApi {
public static void main(String[] args) throws IOException {
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"from_address\": {\n \"company_name\" : \"Retail Group\",\n \"first_name\" : \"James\",\n \"last_name\" : \"Smith\",\n \"street1\" : \"456 Elm Ave\",\n \"street2\" : \"Suite 101\",\n \"city_locality\" : \"Springfield\",\n \"state_province\" : \"IL\",\n \"postal_code\" : \"67890\",\n \"country_code\" : \"US\"\n },\n \"to_address\": {\n \"company_name\" : \"Client \",\n \"first_name\" : \"Mary\",\n \"last_name\" : \"Johnson\",\n \"street1\" : \"1122 Cedar Blvd\",\n \"city_locality\" : \"Brookville\",\n \"state_province\" : \"CA\",\n \"postal_code\" : \"99901\",\n \"country_code\" : \"US\"\n },\n \"service\": \"usps_priority_mail\",\n \"ship_date\": \"2024-01-02T00:00:00.000Z\",\n \"packages\": [\n {\n \"package_type\": \"parcel\",\n \"insurance_type\": \"carrier\",\n \"insured_value\": {\n \"value\": 20.00,\n \"unit\": \"usd\"\n },\n \"weight\": {\n \"value\": 1.00,\n \"unit\": \"lb\"\n },\n \"dimensions\": {\n \"length\": 12.00,\n \"width\": 9.00,\n \"height\": 4.00,\n \"unit\": \"in\"\n }\n }\n ],\n \"items\": [\n {\n \"description\": \"shirt\",\n \"quantity\": 1,\n \"item_weight\": {\n \"value\": 16.00,\n \"unit\": \"oz\"\n },\n \"item_value\": {\n \"value\": 19.99,\n \"unit\": \"usd\"\n },\n \"item_dimensions\": {\n \"length\": 10.50,\n \"width\": 8.00,\n \"height\": 1.00,\n \"unit\": \"in\"\n },\n \"sku\": \"SHRT-BLA-M-001\",\n \"origin_country_code\": \"US\"\n }\n ],\n \"create_label\": true\n}");
Request request = new Request.Builder()
.url("https://api.commerceship.com/v1/orders")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.addHeader("return-label", "true")
.addHeader("full-response", "true")
.addHeader("Authorization", "Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlY2JkNDQ0My04ZDFhLTRlNmMtYmIyOS0xYmUxMTk2NDZlOGMiLCJwZXJtaXNzaW9ucyI6W10sInJvbGVzIjpbXSwiZXhwIjoxNzA0MDY3MjAwLjB9.5MKHwwW6Se3riycZQ381Tk_NC85jkl5p-My8wp6kvo-OcQeSLWL0Ct8AA5TqJpEHTm-moRGQT1jtr598cEAuUg")
.build();
Response response = client.newCall(request).execute();
System.out.println(response.body().string());
}
}
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
class CommerceShipApi
{
static async Task Main(string[] args)
{
var httpClient = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.commerceship.com/v1/orders")
{
Content = new StringContent("{\n \"from_address\": {\n \"company_name\" : \"Retail Group\",\n \"first_name\" : \"James\",\n \"last_name\" : \"Smith\",\n \"street1\" : \"456 Elm Ave\",\n \"street2\" : \"Suite 101\",\n \"city_locality\" : \"Springfield\",\n \"state_province\" : \"IL\",\n \"postal_code\" : \"67890\",\n \"country_code\" : \"US\"\n },\n \"to_address\": {\n \"company_name\" : \"Client \",\n \"first_name\" : \"Mary\",\n \"last_name\" : \"Johnson\",\n \"street1\" : \"1122 Cedar Blvd\",\n \"city_locality\" : \"Brookville\",\n \"state_province\" : \"CA\",\n \"postal_code\" : \"99901\",\n \"country_code\" : \"US\"\n },\n \"service\": \"usps_priority_mail\",\n \"ship_date\": \"2024-01-02T00:00:00.000Z\",\n \"packages\": [\n {\n \"package_type\": \"parcel\",\n \"insurance_type\": \"carrier\",\n \"insured_value\": {\n \"value\": 20.00,\n \"unit\": \"usd\"\n },\n \"weight\": {\n \"value\": 1.00,\n \"unit\": \"lb\"\n },\n \"dimensions\": {\n \"length\": 12.00,\n \"width\": 9.00,\n \"height\": 4.00,\n \"unit\": \"in\"\n }\n }\n ],\n \"items\": [\n {\n \"description\": \"shirt\",\n \"quantity\": 1,\n \"item_weight\": {\n \"value\": 16.00,\n \"unit\": \"oz\"\n },\n \"item_value\": {\n \"value\": 19.99,\n \"unit\": \"usd\"\n },\n \"item_dimensions\": {\n \"length\": 10.50,\n \"width\": 8.00,\n \"height\": 1.00,\n \"unit\": \"in\"\n },\n \"sku\": \"SHRT-BLA-M-001\",\n \"origin_country_code\": \"US\"\n }\n ],\n \"create_label\": true\n}", Encoding.UTF8, "application/json"),
};
request.Headers.Add("Accept", "application/json");
request.Headers.Add("return-label", "true");
request.Headers.Add("full-response", "true");
request.Headers.Add("Authorization", "Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlY2JkNDQ0My04ZDFhLTRlNmMtYmIyOS0xYmUxMTk2NDZlOGMiLCJwZXJtaXNzaW9ucyI6W10sInJvbGVzIjpbXSwiZXhwIjoxNzA0MDY3MjAwLjB9.5MKHwwW6Se3riycZQ381Tk_NC85jkl5p-My8wp6kvo-OcQeSLWL0Ct8AA5TqJpEHTm-moRGQT1jtr598cEAuUg");
HttpResponseMessage response = await httpClient.SendAsync(request);
string responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
}
}
import requests
import json
url = "https://api.commerceship.com/v1/orders"
payload = json.dumps({
"from_address": {
"company_name": "Retail Group",
"first_name": "James",
"last_name": "Smith",
"street1": "456 Elm Ave",
"street2": "Suite 101",
"city_locality": "Springfield",
"state_province": "IL",
"postal_code": "67890",
"country_code": "US"
},
"to_address": {
"company_name": "Client",
"first_name": "Mary",
"last_name": "Johnson",
"street1": "1122 Cedar Blvd",
"city_locality": "Brookville",
"state_province": "CA",
"postal_code": "99901",
"country_code": "US"
},
"service": "usps_priority_mail",
"ship_date": "2024-01-02T00:00:00.000Z",
"packages": [
{
"package_type": "parcel",
"insurance_type": "carrier",
"insured_value": {
"value": 20.00,
"unit": "usd"
},
"weight": {
"value": 1.00,
"unit": "lb"
},
"dimensions": {
"length": 12.00,
"width": 9.00,
"height": 4.00,
"unit": "in"
}
}
],
"items": [
{
"description": "shirt",
"quantity": 1,
"item_weight": {
"value": 16.00,
"unit": "oz"
},
"item_value": {
"value": 19.99,
"unit": "usd"
},
"item_dimensions": {
"length": 10.50,
"width": 8.00,
"height": 1.00,
"unit": "in"
},
"sku": "SHRT-BLA-M-001",
"origin_country_code": "US"
}
],
"create_label": True
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'return-label': 'true',
'full-response': 'true',
'Authorization': 'Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlY2JkNDQ0My04ZDFhLTRlNmMtYmIyOS0xYmUxMTk2NDZlOGMiLCJwZXJtaXNzaW9ucyI6W10sInJvbGVzIjpbXSwiZXhwIjoxNzA0MDY3MjAwLjB9.5MKHwwW6Se3riycZQ381Tk_NC85jkl5p-My8wp6kvo-OcQeSLWL0Ct8AA5TqJpEHTm-moRGQT1jtr598cEAuUg'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Incorporate shipping and spend management capabilities into your platform
Offer your users the power of extensive shipping options, real-time tracking, and comprehensive spend analysis without leaving your platform
Leverage our tools to match your brand's look and feel
Provide a consistent user experience with customized interfaces that keep your brand's identity