LogoLogo
System Status
2021-12-13
2021-12-13
  • 2021-12-13
  • Charges
    • Charge basics
  • Checkouts
  • Country specifications
  • Customers
  • Events
  • Fees
  • File Links
    • File link basics
  • Files
    • File basics
  • Fulfillments
  • Fulfillment cancellations
  • Fulfillment orders
  • Fulfillment returns
  • Inventory items
  • Inventory levels
  • Invoices
    • Invoice basics
  • Logistics returns
  • Orders
    • Order basics
  • Payouts
  • Plans
    • Plan basics
  • Refunds
  • Reservations
  • Returns
  • Sales summaries
  • Sales transactions
  • Shipments
  • Shipping labels
  • Shipping quotes
  • SKUs
  • SKU Groups
  • Sources
  • Subscriptions
    • Subscription basics
  • Tax identifiers
  • Webhooks
  • Drop-in checkout links
  • Drop-in checkout sessions
    • Checkout-sessions basics
  • Drop-in shipping quotes
  • Store credit callout
Powered by GitBook
On this page

Inventory levels

PreviousInventory itemsNextInvoices

Last updated 6 months ago

Inventory levels are a critical component of inventory management, representing the available quantity of an item at a specific location. Understanding and managing these levels ensures that an organization maintains optimal stock at each location, avoiding overstock or stockouts. Each inventory level is associated with a distinct inventory item and location, providing a detailed view of inventory status across different sites. This resource will guide you through the key concepts, management practices, and strategies for effectively overseeing inventory levels.

Returns a list of inventory levels

get

Get all Inventory levels.

Query parameters
inventoryItemIdsstring[]Required

Only return inventory levels for these inventory items.

shipToCountrystringOptional

Only return inventory levels for locations that ship to this country.

availablebooleanOptional

Only return available (i.e. greater than zero) inventory levels.

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
get
GET /inventory-levels HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
  "data": [
    {
      "locationId": "afe95639-8181-4b66-86a6-1a9493d5419d",
      "inventoryItemId": "ce4ce2de-530c-4da2-bf8a-f0f8cf059095",
      "available": true,
      "availableQuantity": 6,
      "availableTime": "2018-04-25T20:36:00Z",
      "liveMode": false,
      "updatedTime": "2018-04-25T20:36:00Z"
    }
  ]
}