Retrieves a shipping rate with a specified ID.
Shipping rate retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
const shippingRate = await api.shippingRates.get({id: 'foobar-001'}); console.log(shippingRate.fields.name);
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "descriptions": "string",
- "price": 0,
- "currency": "USD",
- "filter": "deliveryAddress.country:US,CA,RU;amount:100..1000",
- "status": "active",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z"
}