POST
/
1.0
/
order
/
estimate
Estimate Fulfillment Cost For Order
curl --request POST \
  --url https://api.shipbob.com/1.0/order/estimate \
  --header 'Authorization: Bearer <token>' \
  --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

Authentication using Personal Access Token (PAT) token

Headers

shipbob_channel_id
string<int32>
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

Success

estimates
object[] | null

Array of estimates for each shipping method