replenishmentOrderItems
Since pyck v0.27.0
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type | Default | 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 |
ReplenishmentOrderItemOrder | Ordering options for ReplenishmentOrderItems returned from the connection. | |
where |
ReplenishmentOrderItemWhereInput | Filtering options for ReplenishmentOrderItems returned from the connection. |
Returns
Section titled “Returns”ReplenishmentOrderItemConnection!
Example
Section titled “Example”Returns the 3 most recently created replenishment order items, sorted by SKU.
query GetReplenishmentOrderItems($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: ReplenishmentOrderItemOrder, $where: ReplenishmentOrderItemWhereInput) { replenishmentOrderItems(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) { totalCount pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { cursor node { createdAt createdBy data dataTypeID dataTypeSlug deletedAt deletedBy id quantity replenishmentOrderID sku tenantID updatedAt updatedBy } } }}Variables
{ "first": 3, "orderBy": { "direction": "ASC", "field": "SKU" }, "where": { "createdAtGTE": "2023-10-17T00:00:00Z" }}