Retrieve a carrier

GET/shipping/{connection_id}/carrier/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Carrier

Returns

idstring
Unique identifier for this carrier object
created_atdate
The date that this carrier object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this carrier object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The name of the carrier
codestring
Carrier code (e.g., "usps", "fedex", "ups")
is_activeboolean
Whether the carrier is currently active
logo_urlstring
Carrier logo URL
website_urlstring
Carrier website
const options = {
  method: 'GET',
  url: 'https://api.unified.to/shipping/5de520f96e439b002043d8dc/carrier/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?