LogoLogo
System Status
2021-03-23
2021-03-23
  • 2021-03-23
  • Charges
  • Checkouts
  • Country specifications
  • Customers
  • Events
  • Fees
  • File links
  • Files
  • Fulfillment cancellations
  • Fulfillment orders
  • Fulfillment returns
  • Fulfillments
  • Inventory items
  • Inventory levels
  • Invoices
  • Orders
  • Payouts
  • Plans
  • Refunds
  • Reservations
  • Returns
  • Sales summaries
  • Sales transactions
  • Shipments
  • Shipping quotes
  • SKUs
  • SKU groups
  • Sources
  • Subscriptions
  • Tax identifiers
  • Webhooks
Powered by GitBook
On this page

Shipping quotes

PreviousShipmentsNextSKUs

Last updated 6 months ago

The Shipping Quotes resource provides shipping options.

Returns shipping quotes

post

Get all available shipping quotes

Body
currencystringRequired

A three-letter ISO currency code.

Example: USD
Responses
200
200 OK
application/json
400
400 Bad Request
application/json
401
401 Unauthorized
application/json
403
403 Forbidden
application/json
405
405 Method Not Allowed
application/json
406
406 Not Acceptable
application/json
408
408 Request Timeout
application/json
429
429 Too Many Requests
application/json
500
500 Internal Server Error
application/json
502
502 Bad Gateway Error
application/json
503
503 Service Unavailable Error
application/json
504
504 Gateway Timeout Error
application/json
post
POST /shipping-quotes HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 158

{
  "currency": "USD",
  "shipTo": {
    "postalCode": "55129",
    "state": "MN",
    "country": "US",
    "type": "standard"
  },
  "items": [
    {
      "inventoryItemId": "abc",
      "price": 9.99,
      "quantity": 1
    }
  ]
}
{
  "shipTo": {
    "postalCode": "55129",
    "state": "MN",
    "country": "US",
    "type": "standard"
  },
  "quotes": [
    {
      "id": "SG",
      "currency": "USD",
      "serviceLevel": "Standard",
      "shipping": 5.99,
      "handling": 0.99,
      "fees": 0,
      "total": 6.98,
      "signatureRequiredType": "standard",
      "estimatedMinimumDeliveryTime": 1,
      "estimatedMaximumDeliveryTime": 1,
      "items": [
        {
          "inventoryItemId": "abc",
          "quantity": 1,
          "availableQuantity": 6,
          "availableTime": "2025-05-09T06:51:09.813Z",
          "shipFrom": {
            "address": {
              "line1": "10380 Bren Rd W",
              "line2": "text",
              "city": "Minnetonka",
              "postalCode": "55129",
              "state": "MN",
              "country": "US"
            },
            "additionalAddressInfo": {
              "neighborhood": "Centro",
              "division": "営業部",
              "phoneticName": "ヤマダ タロ"
            }
          },
          "shipping": 5.99,
          "handling": 0.99,
          "fees": 0,
          "total": 6.98
        }
      ]
    }
  ],
  "liveMode": false
}