Skip to content

Get recent order items for a ship-to

GET
/ship-tos/{ship_to_id}/recent-order-items

Retrieve distinct products with their most recent price and quantity for a specific ship-to. Returns the latest order item for each product based on the order’s last modified date.

ship_to_id
required
string

Ship-To ID

List of recent order items

Array<object>

A recent order item for a ship-to with the most recent price and quantity

object
id

The order item ID

string
product_id

The product ID

string
product_name

The product name

string | null
product_description

The product description

string | null
product_unit

The product unit of measure

string | null
price

The most recent price for this product

string | null
quantity

The most recent quantity ordered

string | null
order_date

The date of the order

string | null format: date
last_modified_date

When the order was last modified

string | null format: date-time

Ship-To ID is required

object
success
required
boolean
error
required
string
Example
An error occurred

Unauthorized

object
success
required
boolean
error
required
string
Example
An error occurred