v1
latestOpenAPI 3.1.02026-07-2277219695.0 KBService Groups
Create a new service group
Creates a new service group.
post/service-groups
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.
Request body
Example request
{
"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",
"service_levels": [
{
"account_object_id": "80feb1633d4a43c898f0058506cfd82d",
"service_level_token": "ups_next_day_air_saver"
}
]
}Response
Service group
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"
}
]
}