Service Groups
List all service groups
Changed onReturns a list of service group objects.
get/service-groups
Request
- Base URLhttps://api.goshippo.com
- URLhttps://api.goshippo.com/service-groups
- AuthAPI key in header Authorization
Headers
SHIPPO-API-VERSIONstring
Example:2018-02-08
Optional string used to pick a non-default API version to use. See our API version guide.
SHIPPO-ACCOUNT-IDstring
Optional. The object ID of a Managed Shippo Account. Platform accounts set this to make the request on behalf of one of their managed accounts. See the Platform accounts guide.
Response
List of service groups
Example response
[
{
"description": "USPS shipping options",
"flat_rate": "5",
"flat_rate_currency": "USD",
"free_shipping_threshold_currency": "USD",
"free_shipping_threshold_min": "5",
"name": "USPS Shipping",
"rate_adjustment": 15,
"type": "FLAT_RATE",
"object_id": "80feb1633d4a43c898f005850",
"is_active": true,
"service_levels": [
{
"account_object_id": "80feb1633d4a43c898f0058506cfd82d",
"service_level_token": "ups_next_day_air_saver"
}
]
}
]Changes
- info
added the new optional
headerrequest parameterSHIPPO-ACCOUNT-ID
- info
- breaking
for the
headerrequest parameterSHIPPO-API-VERSION, default value2018-02-08was added
- breaking