Skip to main content
GET
Error

Query Parameters

StyleId
integer<int64>

Filters results to style items belonging to this style.

ItemId
integer<int64>

Filters results to style items referencing this item from the item library.

State
enum<string>

Filters results to style items in this lifecycle state. Lifecycle state of the item's placement on the style.

Available options:
active,
inactive,
deleted
Properties
string[]

Filters results to style items carrying the given property flags. Only mainItem is currently supported.

sort
object[]

Repeat the parameter per sort column: sort[0].property=<column>&sort[0].order=Ascending|Descending, sort[1].... for a secondary column. order accepts asc, desc, ascending or descending (case-insensitive) and may also be spelled direction. Mutually exclusive with cursor. Sortable columns include: Id.

pageSize

Number of style items to return per page. Defaults to 30, maximum 100.

pageNumber

The 1-based page number to return. Defaults to 1.

cursor
string

Opaque keyset pagination token for the next page. Mutually exclusive with the filter, sort, pageSize and pageNumber parameters.

Response

OK

status
enum<string>
required

The coarse outcome of the request, indicating whether it succeeded or failed.

Available options:
success,
error
code
string
required

The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.

data
object[]
required

The page of results, always an array. An empty page is an empty array rather than null or an omitted field.

pagination
object
required

Paging metadata for this response, carrying whether more rows remain and the cursor used to request the next page.