Skip to main content

PriceSearchInput

Search criteria for filtering price records.

Provides comprehensive filtering options for price searches including product associations, price ranges, effective dates, and pricesheet assignments. Supports pagination and sorting for efficient data management.

input PriceSearchInput {
page: Int
offset: Int
createdAt: DateSearchInput
lastModifiedAt: DateSearchInput
ids: [String!]
productIds: [Int!]
per: Int
list: DecimalSearchInput
cost: DecimalSearchInput
suggested: DecimalSearchInput
store: DecimalSearchInput
bulkDiscountType: PriceDiscountType
sortInputs: [PriceSortInput!]
}

Fields

PriceSearchInput.page ● Int scalar

Page number for pagination.

Specifies which page of results to return. Must be 1 or greater.

PriceSearchInput.offset ● Int scalar

Number of items per page.

Controls how many price records are returned in each page. Must be 1 or greater.

PriceSearchInput.createdAt ● DateSearchInput input

Filter by price creation date range.

Allows filtering prices based on when they were originally created. Useful for finding prices created within specific time periods.

PriceSearchInput.lastModifiedAt ● DateSearchInput input

Filter by last modification date range.

Allows filtering prices based on when they were last updated. Useful for finding recently modified prices or tracking pricing changes.

PriceSearchInput.ids ● [String!] list scalar

Filter by specific price record identifiers.

Allows searching for specific price records using their unique UUID identifiers. Useful for retrieving multiple known price records in a single query.

PriceSearchInput.productIds ● [Int!] list scalar

Filter by product identifiers.

Allows searching for price records associated with specific products. Useful for retrieving pricing information for multiple products in a single query.

PriceSearchInput.per ● Int scalar

Filter by unit quantity for pricing.

Searches for prices with a specific 'per' value, which defines how many units are included in the listed price. For example, searching for 'per: 12' finds prices that are set per dozen.

PriceSearchInput.list ● DecimalSearchInput input

Filter by list price range.

Searches for prices within specified list price ranges. List price is the base selling price used for pricing calculations before applying discounts or promotions.

PriceSearchInput.cost ● DecimalSearchInput input

Filter by cost price range.

Searches for prices within specified cost price ranges. Cost price represents the acquisition cost for margin calculations and pricing decisions.

PriceSearchInput.suggested ● DecimalSearchInput input

Filter by suggested price range.

Searches for prices within specified suggested price ranges. Suggested price is the manufacturer's recommended retail price (RRP) used as a reference point for pricing decisions.

PriceSearchInput.store ● DecimalSearchInput input

Filter by store price range.

Searches for prices within specified store price ranges. Store price is the selling price in physical stores, which may differ from online prices due to channel-specific strategies.

PriceSearchInput.bulkDiscountType ● PriceDiscountType enum

Filter by bulk discount calculation method.

Searches for prices with a specific bulk discount type. Determines how volume discounts are calculated and applied to bulk purchases.

PriceSearchInput.sortInputs ● [PriceSortInput!] list input

Sorting configuration for search results.

Defines how the returned price records should be ordered. Multiple sort criteria can be specified to create complex sorting logic.

Member Of

prices query