Update an existing service group
Updates an existing service group object. The object_id cannot be updated as it is the unique identifier for the object.
Authorizations
Headers
Optional string used to pick a non-default API version to use. See our API version guide.
"2018-02-08"
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.
Body
The type of the service group.
LIVE_RATE: Shippo will make a rating request and return real-time rates for the shipping group, only falling back to the specified flat rate amount if no rates match a service level in the service group.FLAT_RATE: returns a shipping option with the specified flat rate amount.FREE_SHIPPING: returns a shipping option with a price of $0 only if the total cost of items exceeds the amount defined byfree_shipping_threshold_min
LIVE_RATE, FLAT_RATE, FREE_SHIPPING "FLAT_RATE"
The amount in percent (%) that the service group's returned rate should be adjusted. For example, if this field is set to 5 and the matched rate price is $5.00, the returned value of the service group will be $5.25. Negative integers are also accepted and will discount the rate price by the defined percentage amount.
15
Response
Service group
The type of the service group.
LIVE_RATE: Shippo will make a rating request and return real-time rates for the shipping group, only falling back to the specified flat rate amount if no rates match a service level in the service group.FLAT_RATE: returns a shipping option with the specified flat rate amount.FREE_SHIPPING: returns a shipping option with a price of $0 only if the total cost of items exceeds the amount defined byfree_shipping_threshold_min
LIVE_RATE, FLAT_RATE, FREE_SHIPPING "FLAT_RATE"
The amount in percent (%) that the service group's returned rate should be adjusted. For example, if this field is set to 5 and the matched rate price is $5.00, the returned value of the service group will be $5.25. Negative integers are also accepted and will discount the rate price by the defined percentage amount.
15