skuPrices
View as MarkdownQuery all SKU prices.
query
Requires commerce.product:read.
Query all SKU prices.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
afterStringoptionalbeforeStringoptionalcurrencyCodeCurrencyCodeFilteroptional — Filter prices by currency code.eqStringoptional — Filters items where the currency code equals the specified 3-letter ISO currency code.in[String!]optional — Filters items where the currency code matches any of the specified 3-letter ISO currency codes.
firstIntoptionalidSKUPriceIdsFilteroptionalin[String!]optional
lastIntoptionalorderBySKUPriceOrderByoptionalidOrderByDirectionEnumoptionalupdatedAtOrderByDirectionEnumoptional
paginationTypePaginationTypeoptional Default:"CURSOR".skuIdSKUIdFilteroptionaleqStringoptionalin[String!]optional
skuStatusSKUStatusFilteroptional — Filter prices by the status of the parent SKU (ACTIVE, DRAFT, ARCHIVED).eqStringoptionalin[String!]optional
updatedAtUpdatedAtFilteroptionalgtStringoptionalltStringoptional
Possible returns
QuerySkuPricesConnectionQuerySkuPricesConnection
Last updated on
How is this guide?