POST
/
order
/
estimate
curl --request POST \
  --url https://api.shipbob.com/2.0/order/estimate \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'shipbob_channel_id: <shipbob_channel_id>' \
  --data '{
  "address": {
    "address1": "100 Nowhere Blvd",
    "address2": "Suite 100",
    "city": "Gotham City",
    "company_name": "Wayne Enterprises",
    "country": "US",
    "state": "NJ",
    "zip_code": "07093"
  },
  "products": [
    {
      "id": 0,
      "quantity": 1,
      "reference_id": "TShirtBlueM"
    }
  ],
  "shipping_methods": [
    "string"
  ]
}'
{
  "estimates": [
    {
      "estimated_currency_code": "string",
      "estimated_price": 0.1,
      "fulfillment_center": {
        "id": 0,
        "name": "Cicero (IL)"
      },
      "shipping_method": "string",
      "total_weight_oz": 0.1
    }
  ]
}

Authorizations

Authorization
string
header
required

Provide your personal access token in the format 'Bearer {your_personal_access_token}'

Headers

shipbob_channel_id
string
required

Channel Id for Operation

Body

application/json
address
object
required
products
object[]
required

Products to be included in the order. Each product must include one of reference_id or id

shipping_methods
string[] | null

Array of strings specifying shipping methods for which to fetch estimates.

If this field is omitted we will return estimates for all shipping methods defined in ShipBob

Response

200
application/json
Success
estimates
object[] | null

Array of estimates for each shipping method