Products > Option Sets > optionSets
Commerce APIProductsOption SetsoptionSets
optionSets
GET:option_sets.json

Description

Get all or specific option sets.

This is a typical bulk get endpoint.

Permission bit: "option_sets.read"

Topic: Option Sets

Arguments

ids: [String!]

List of option set ids. See also: Unique Identifiers

Example: ["os_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[OptionSet!]

Preview (typescript)

Loading module