Skip to main content
POST
/
stores
/
{storeId}
/
shipments
/
rates
Shipping Rates
curl --request POST \
  --url https://api.getredo.com/v2.2/stores/{storeId}/shipments/rates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "destination": {
    "address": {
      "city": "<string>",
      "country": "<string>",
      "line1": "<string>",
      "postalCode": "<string>",
      "state": "<string>",
      "line2": ""
    }
  },
  "origin": {
    "address": {
      "city": "<string>",
      "country": "<string>",
      "line1": "<string>",
      "postalCode": "<string>",
      "state": "<string>",
      "line2": ""
    }
  },
  "parcel": {
    "height": {
      "unit": "in",
      "value": 1
    },
    "length": {
      "unit": "in",
      "value": 1
    },
    "type": "box",
    "weight": {
      "unit": "g",
      "value": 1
    },
    "width": {
      "unit": "in",
      "value": 1
    }
  }
}
'
{
  "rates": [
    {
      "carrier": {
        "id": "<string>",
        "name": "<string>"
      },
      "price": {
        "amount": "<string>",
        "currency": "<string>"
      },
      "service": {
        "name": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

storeId
string
required

Store ID

Example:

"64e5a8a1af49a89df37e4ee7"

Body

application/json
destination
object
required
origin
object
required
parcel
Parcel · object
required

Parcel information for shipping.

Response

Success

rates
Shipment Rate · object[]
required

Available shipping rates