Receiving Inbound Items

receivingInboundItems Query

Audience: Programmers

Returns a paginated list of ReceivingInboundItem objects, with optional filtering and ordering. This query retrieves individual items that are part of receiving inbound shipments.

Arguments

Name
Type
Description

after

Cursor

Returns the elements in the list that come after the specified cursor

first

Int

Returns the first n elements from the list

before

Cursor

Returns the elements in the list that come before the specified cursor

last

Int

Returns the last n elements from the list

orderBy

ReceivingInboundItemOrder

Ordering options for ReceivingInboundItems returned from the connection

where

ReceivingInboundItemWhereInput

Filtering options for ReceivingInboundItems returned from the connection

Return Type

ReceivingInboundItemConnection! - A connection to a list of ReceivingInboundItem objects with pagination information.

Notes

  • The data field contains custom inbound item attributes as JSON

  • Use Data, DataHasKey, DataIn, and DataContains filters to query based on JSON content

  • Items are linked to their parent inbound shipment via inboundID

  • Each item tracks its SKU and expected quantity

  • Soft delete is supported through deletedAt and deletedBy fields

Usage Examples

Basic Query

Query Items by Inbound Shipment

Query Items by SKU

Query with Data Field Filtering

JavaScript/TypeScript Example

Ordering Options

The ReceivingInboundItemOrderField enum supports the following fields:

  • TENANT_ID: Order by tenant identifier

  • CREATED_AT: Order by creation timestamp

  • CREATED_BY: Order by creator user ID

  • UPDATED_AT: Order by last update timestamp

  • UPDATED_BY: Order by last updater user ID

  • DELETED_AT: Order by deletion timestamp

  • DELETED_BY: Order by deleter user ID

  • SKU: Order by stock keeping unit

  • INBOUND_ID: Order by parent inbound shipment ID

  • QUANTITY: Order by expected quantity

Filtering Options

The ReceivingInboundItemWhereInput supports filtering by:

  • All standard field predicates (equality, inequality, contains, etc.)

  • hasInbound: Filter items that have an associated inbound

  • hasInboundWith: Filter items based on properties of the parent inbound

  • JSON data field queries using Data, DataHasKey, DataIn, and DataContains

Service

This query is provided by the Receiving service, which manages all inbound shipment operations including item receiving, quality control, and put-away processes.

Last updated

Was this helpful?