List products
OrderingQuery.products()
Input
address
OrderingAddressInput
- The address associated with the order. The address must correspond to a valid property in the system. If the address is not valid, the query will fail with an error. If the address is missing, then availability.status will return ‘UNKNOWN’, availability.quantity will be 0, and addons will yield an empty list.
manufacturer
string
- The manufacturer of the products to search for. (example: ‘ge’, ‘msi’)
skus
string[]
- List of SKUs to search for. If a product cannot be found for a given sku, the response will contain a null in the corresponding index.
Response
OrderingProduct
OrderingProduct[]
- List of products matching the input skus criteria. If a product cannot be found for a given sku, the response will contain a null in the corresponding index.
OrderingProduct
id
string
- SIBI identifier for the product. Unique across all products returned by the API.
sku
string
- The SKU of the product. Is defined by the manufacturer or distributor.
title
string
- The human readable name of the product.
description
string | undefined
- A brief description of the product.
availability
OrderingAvailability
- The availability of the product. Returns a status of ‘UNKNOWN’ and a quantity of 0 if the address is missing.
imageUrl
string
- The URL of the product’s image.
priceCents
number
- The price of the product in cents.
addons
OrderingProductAddon
[] - An array of addons (services and/or accessories) that can be ordered with the product.
dimensions
OrderingProductDimensions
- The physical dimensions of the product. This field will be null if dimensions are not available.
OrderingAvailability
status
OrderingAvailabilityStatus
- The availability status of the product. One of IN_STOCK
, OUT_OF_STOCK
, UNAVAILABLE
, or UNKNOWN
.
quantity
number
- The quantity of the product that is available at the closest distribution center to the property that has the product available.
OrderingProductDimensions
length
number | null
- The numerical length value. Will be null if not available.
lengthUnit
string | null
- The unit of measurement for length (e.g., “inch”). Will be null if not available.
width
number | null
- The numerical width value. Will be null if not available.
widthUnit
string | null
- The unit of measurement for width (e.g., “inch”). Will be null if not available.
height
number | null
- The numerical height value. Will be null if not available.
heightUnit
string | null
- The unit of measurement for height (e.g., “inch”). Will be null if not available.
depth
number | null
- The numerical depth value. Will be null if not available.
depthUnit
string | null
- The unit of measurement for depth (e.g., “inch”). Will be null if not available.