Skip to main content
In some Shippo API responses, instead of returning parameters, the endpoint will return the object ID of the object that contains the parameters. This is available for a number of Shippo objects. For example, in the transaction response, the rate is returned as an object ID. The Shippo API is designed in this way to manage the size of the response. Request:
Get a transaction
Response:
response sample
You can choose to expand an object using the query parameter expand. When you expand an object, the returned response includes the parameters in that object. Request:
Get a transaction including expand request
Response:
Get a transaction including expand response
You can choose to expand multiple objects together at once using an array.
Get a transaction including expand multiple objects
This method does not support recursion.
Last modified on July 16, 2026