A carrier service provides shipping rates. The term carrier is often used interchangeably with the term shipping company.

Using the Carrier resource, you can add a carrier to an order and then get a list of applicable shipping rates at checkout.

This read-only resource lists the carriers configured on your account. Carriers are account-scoped: the {shopId} path segment is required by the URL template but does not narrow the result — every shop of the account sees the same carriers.

GET /accounts/{accountId}/shops/{shopId}/carriers

Get a list of carriers for your account. Returns the compact Carrier representation. Use expanded for the full carrier configuration (zones, destinations, prices).

Parameters
Name In Default Constraints Description
x-auth-token header     The authentication token
accountId required path   int the unique identifier of the account
page query 0 int zero-based page index
size query 10 int number of items per page
Response Codes
Code Condition
200 the list of carriers was successfully retrieved
Response Body
Media Type Data Type Description
application/json PagedData
application/xml PagedData
Response (XML)
<pagedData>
  <records>...</records>
  <totalElements>...</totalElements>
</pagedData>
Response (JSON)
{
  "pagedData" : {
    "records" : [ { }, { } ],
    "totalElements" : 12345
  }
}
GET /accounts/{accountId}/shops/{shopId}/carriers/{carrierId}

Get a single carrier by its id. Returns the compact Carrier representation.

Parameters
Name In Default Constraints Description
x-auth-token header     The authentication token
accountId required path   int the unique identifier of the account
carrierId required path   int the unique identifier of the carrier
Response Codes
Code Condition
200 the carrier was successfully retrieved
404 no carrier with the given id exists on the account
Response Body
Media Type Data Type Description
application/json Carrier
application/xml Carrier
Response (XML)
<carrier>
  <id>...</id>
  <name>UPS</name>
  <description>Standard domestic shipping method</description>
  <phoneRequired>true</phoneRequired>
  <moduleProvider>
    <id>...</id>
    <name>Standard</name>
    <provider>ups</provider>
    <serviceType>standard</serviceType>
    <moduleType>
      <id>...</id>
      <name>SPOD</name>
    </moduleType>
  </moduleProvider>
  <customProvider>...</customProvider>
  <premium>...</premium>
  <emdorsement>...</emdorsement>
  <ddp>...</ddp>
  <showTicketLogo>...</showTicketLogo>
  <customApiUser>...</customApiUser>
  <customApiKey>...</customApiKey>
  <htmlTemplate>...</htmlTemplate>
  <mainCarrier/>
  <perProduct>...</perProduct>
</carrier>
Response (JSON)
{
  "carrier" : {
    "id" : 12345,
    "name" : "UPS",
    "description" : "Standard domestic shipping method",
    "phoneRequired" : true,
    "moduleProvider" : {
      "id" : 12345,
      "name" : "Standard",
      "provider" : "ups",
      "serviceType" : "standard",
      "moduleType" : {
        "id" : 12345,
        "name" : "SPOD"
      }
    },
    "customProvider" : "...",
    "premium" : true,
    "emdorsement" : "...",
    "ddp" : true,
    "showTicketLogo" : true,
    "customApiUser" : "...",
    "customApiKey" : "...",
    "htmlTemplate" : "...",
    "mainCarrier" : {
      "id" : 12345,
      "name" : "UPS",
      "description" : "Standard domestic shipping method",
      "phoneRequired" : true,
      "moduleProvider" : {
        "id" : 12345,
        "name" : "Standard",
        "provider" : "ups",
        "serviceType" : "standard",
        "moduleType" : { }
      },
      "customProvider" : "...",
      "premium" : true,
      "emdorsement" : "...",
      "ddp" : true,
      "showTicketLogo" : true,
      "customApiUser" : "...",
      "customApiKey" : "...",
      "htmlTemplate" : "...",
      "mainCarrier" : { },
      "perProduct" : true
    },
    "perProduct" : true
  }
}
GET /accounts/{accountId}/shops/{shopId}/carriers/expanded

Get a list of carriers for your account, expanded. Each item is a CarrierExpanded carrying the carrier's shipping zones, their destinations and prices, and localizations.

Parameters
Name In Default Constraints Description
x-auth-token header     The authentication token
accountId required path   int the unique identifier of the account
page query 0 int zero-based page index
size query 10 int number of items per page
Response Codes
Code Condition
200 the expanded list of carriers was successfully retrieved
Response Body
Media Type Data Type Description
application/json PagedData
application/xml PagedData
Response (XML)
<pagedData>
  <records>...</records>
  <totalElements>...</totalElements>
</pagedData>
Response (JSON)
{
  "pagedData" : {
    "records" : [ { }, { } ],
    "totalElements" : 12345
  }
}
GET /accounts/{accountId}/shops/{shopId}/carriers/expanded/{carrierId}

Get a single carrier by its id, expanded. Returns a CarrierExpanded carrying the carrier's shipping zones, their destinations and prices, and localizations.

Parameters
Name In Default Constraints Description
x-auth-token header     The authentication token
accountId required path   int the unique identifier of the account
carrierId required path   int the unique identifier of the carrier
Response Codes
Code Condition
200 the carrier was successfully retrieved
404 no carrier with the given id exists on the account
Response Body
Media Type Data Type Description
application/json CarrierExpanded
application/xml CarrierExpanded
Response (XML)
<carrierExpanded>
  <zones>
    <carrierZoneExpanded>
      <destinations>
        <carrierDestination>
          <id>...</id>
          <country/>
        </carrierDestination>
      </destinations>
      <prices>
        <carrierPrice>
          <id>...</id>
          <price>5.00</price>
          <weightLimit>-1</weightLimit>
          <country/>
        </carrierPrice>
      </prices>
      <id>...</id>
      <name>Western Europe</name>
    </carrierZoneExpanded>
  </zones>
  <localizations>
    <carrierLocalized>
      <id>...</id>
      <name>UPS</name>
      <description>...</description>
      <language>
        <id>...</id>
        <code>en</code>
        <name>English</name>
      </language>
    </carrierLocalized>
  </localizations>
  <id>...</id>
  <name>UPS</name>
  <description>Standard domestic shipping method</description>
  <phoneRequired>true</phoneRequired>
  <moduleProvider>
    <id>...</id>
    <name>Standard</name>
    <provider>ups</provider>
    <serviceType>standard</serviceType>
    <moduleType/>
  </moduleProvider>
  <customProvider>...</customProvider>
  <premium>...</premium>
  <emdorsement>...</emdorsement>
  <ddp>...</ddp>
  <showTicketLogo>...</showTicketLogo>
  <customApiUser>...</customApiUser>
  <customApiKey>...</customApiKey>
  <htmlTemplate>...</htmlTemplate>
  <mainCarrier/>
  <perProduct>...</perProduct>
</carrierExpanded>
Response (JSON)
{
  "carrierExpanded" : {
    "zones" : {
      "carrierZoneExpanded" : [ {
        "destinations" : {
          "carrierDestination" : [ {
            "id" : 12345,
            "country" : { }
          }, {
            "id" : 12345,
            "country" : { }
          } ]
        },
        "prices" : {
          "carrierPrice" : [ {
            "id" : 12345,
            "price" : 5.0,
            "weightLimit" : -1.0,
            "country" : { }
          }, {
            "id" : 12345,
            "price" : 5.0,
            "weightLimit" : -1.0,
            "country" : { }
          } ]
        },
        "id" : 12345,
        "name" : "Western Europe"
      }, {
        "destinations" : {
          "carrierDestination" : [ {
            "id" : 12345,
            "country" : { }
          }, {
            "id" : 12345,
            "country" : { }
          } ]
        },
        "prices" : {
          "carrierPrice" : [ {
            "id" : 12345,
            "price" : 5.0,
            "weightLimit" : -1.0,
            "country" : { }
          }, {
            "id" : 12345,
            "price" : 5.0,
            "weightLimit" : -1.0,
            "country" : { }
          } ]
        },
        "id" : 12345,
        "name" : "Western Europe"
      } ]
    },
    "localizations" : {
      "carrierLocalized" : [ {
        "id" : 12345,
        "name" : "UPS",
        "description" : "...",
        "language" : {
          "id" : 12345,
          "code" : "en",
          "name" : "English"
        }
      }, {
        "id" : 12345,
        "name" : "UPS",
        "description" : "...",
        "language" : {
          "id" : 12345,
          "code" : "en",
          "name" : "English"
        }
      } ]
    },
    "id" : 12345,
    "name" : "UPS",
    "description" : "Standard domestic shipping method",
    "phoneRequired" : true,
    "moduleProvider" : {
      "id" : 12345,
      "name" : "Standard",
      "provider" : "ups",
      "serviceType" : "standard",
      "moduleType" : {
        "id" : 12345,
        "name" : "SPOD"
      }
    },
    "customProvider" : "...",
    "premium" : true,
    "emdorsement" : "...",
    "ddp" : true,
    "showTicketLogo" : true,
    "customApiUser" : "...",
    "customApiKey" : "...",
    "htmlTemplate" : "...",
    "mainCarrier" : {
      "id" : 12345,
      "name" : "UPS",
      "description" : "Standard domestic shipping method",
      "phoneRequired" : true,
      "moduleProvider" : {
        "id" : 12345,
        "name" : "Standard",
        "provider" : "ups",
        "serviceType" : "standard",
        "moduleType" : { }
      },
      "customProvider" : "...",
      "premium" : true,
      "emdorsement" : "...",
      "ddp" : true,
      "showTicketLogo" : true,
      "customApiUser" : "...",
      "customApiKey" : "...",
      "htmlTemplate" : "...",
      "mainCarrier" : { },
      "perProduct" : true
    },
    "perProduct" : true
  }
}