Get shipping configurations
GET /api/v2/shipping_configs
Retrieve available shipping configurations for the company.
Use the id field from this response in the shipping_configuration_ids parameter when requesting rates.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Page number for pagination
Number of results per page
Include related resources (comma-separated)
Example
shipping_servicesFilter by enabled/connected status
Responses
Section titled “ Responses ”Successful response with shipping configurations
object
object
Provider type or normalized name
amazon_shipping_v2Resource type
shipping_configobject
Internal shipping config ID
123Carrier ID
45Carrier name
Amazon Shipping V2Provider type identifier
amazon_shipping_v2Available service options
object
Whether to show when shipping
trueWhether the config is set up
trueConfiguration parameters
object
Validation rules
object
Whether this is the default config for the carrier
trueUser-defined nickname for the config
My Amazon AccountWhether the config needs to be reconnected
Whether the config is connected
trueWhether connected outside of Amazon
Count of non-hidden shipping services
15Total count of shipping services
20object
object
object
shipping_serviceobject
12515Included shipping services (when include=shipping_services)
object
Shipping service ID
1Resource type
shipping_serviceobject
Service identifier
USPS_PTP_GRNService name
USPS Ground AdvantageWhether the service is hidden
Example
{ "data": [ { "id": "amazon_shipping_v2", "type": "shipping_config", "attributes": { "id": 123, "carrier_id": 45, "name": "Amazon Shipping V2", "provider_type": "amazon_shipping_v2", "show_when_shipping": true, "is_configured": true, "connected": true, "connected_off_amazon": false, "default_for_carrier": true, "nickname": "My Amazon Account", "requires_reconnect": false, "available_shipping_services_count": 15, "total_shipping_service_count": 20 }, "relationships": { "shipping_services": { "data": [ { "id": "1", "type": "shipping_service" }, { "id": "2", "type": "shipping_service" } ] } } } ], "included": [ { "id": "1", "type": "shipping_service", "attributes": { "service_id": "USPS_PTP_GRN", "name": "USPS Ground Advantage", "hidden": false } }, { "id": "2", "type": "shipping_service", "attributes": { "service_id": "USPS_PTP_PRI", "name": "USPS Priority Mail", "hidden": false } } ], "meta": { "page": 1, "per_page": 25, "total_pages": 1, "total_count": 1 }}Forbidden - insufficient permissions
object
object
403ForbiddenYou don't have permission to access this resource