featherbone-shipengine
Version:
Forked and patched version of the official ShipEngine JavaScript SDK for Node.js
15 lines • 580 B
JavaScript
import { get } from "../client";
import * as ListCarriersTypes from "./types/public";
import { formatResponse } from "./format-response";
export { ListCarriersTypes };
/**
* This function returns a list of all your connected carrier accounts,
* along with helpful information about each account, its options, the services it offers, etc.
*
* https://www.shipengine.com/docs/reference/list-carriers/
*/
export async function listCarriers(config) {
const response = await get("/v1/carriers", config);
return formatResponse(response);
}
//# sourceMappingURL=index.js.map