GET:option_sets.json
Commerce APIGET:option_sets.json

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

Query Parameters

ids: Comma-separated array of String, required

List of option set ids. See also: Unique Identifiers

Example: ?ids=os_EQzGqWoY,os_EQzGqWoY


loose: Boolean

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

Example: ?loose=true


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Response Body

Array of OptionSet

Response Body Type

Loading module