For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shipping quotes

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
liveModebooleanOptional

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

Example: false
post/shipping-quotes
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": {
            "offset": {
              "totalSeconds": 0,
              "id": "Z",
              "rules": {
                "fixedOffset": true,
                "transitions": [],
                "transitionRules": []
              }
            },
            "nano": 0,
            "year": 2018,
            "monthValue": 4,
            "dayOfMonth": 25,
            "hour": 20,
            "minute": 36,
            "second": 0,
            "dayOfWeek": "WEDNESDAY",
            "dayOfYear": 115,
            "month": "APRIL"
          },
          "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
}

Last updated