Support

Query all SKU prices.

query

Requires commerce.product:read.

Query all SKU prices.

Required headers

HeaderRequiredDescription
x-store-idYesID 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

  • after String optional
  • before String optional
  • currencyCode CurrencyCodeFilter optional — Filter prices by currency code.
    • eq String optional — 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.
  • first Int optional
  • id SKUPriceIdsFilter optional
    • in [String!] optional
  • last Int optional
  • orderBy SKUPriceOrderBy optional
    • id OrderByDirectionEnum optional
    • updatedAt OrderByDirectionEnum optional
  • paginationType PaginationType optional Default: "CURSOR".
  • skuId SKUIdFilter optional
    • eq String optional
    • in [String!] optional
  • skuStatus SKUStatusFilter optional — Filter prices by the status of the parent SKU (ACTIVE, DRAFT, ARCHIVED).
    • eq String optional
    • in [String!] optional
  • updatedAt UpdatedAtFilter optional
    • gt String optional
    • lt String optional

Possible returns

  • QuerySkuPricesConnection QuerySkuPricesConnection

Last updated on

How is this guide?