Retrieves a shipping rate with a specified ID.
Retrieves a shipping rate with a specified ID.
const shippingRate = await api.shippingRates.get({id: 'foobar-001'}); console.log(shippingRate.fields.name);
200
Shipping rate retrieved.
401
Unauthorized access. Invalid credentials used.
403
Access forbidden.
404
Resource not found.
{ "id": "ship_rate_0YVDN408G4DQE9G1RV1QCFHJ3P", "name": "string", "description": "string", "price": 0.1, "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", "_links": [ { "href": "string", "rel": "self" } ] }