Support

optionPrices

View as Markdown

Query all option prices.

query

Requires commerce.product:read.

Query all option 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 OptionPriceIdsFilter optional
    • in [String!] optional
  • last Int optional
  • optionId OptionIdFilter optional
    • eq String optional
    • in [String!] optional
  • orderBy OptionPriceOrderBy optional
    • id OrderByDirectionEnum optional
    • updatedAt OrderByDirectionEnum optional
  • paginationType PaginationType optional Default: "CURSOR".
  • updatedAt UpdatedAtFilter optional
    • gt String optional
    • lt String optional

Possible returns

  • QueryOptionPricesConnection QueryOptionPricesConnection

Last updated on

How is this guide?