GetVariants (v2)

Gets the variants based on the provided query.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The variant query.

Maps to Lidia.MetaData.API.Models.Queries.Live.ProductVariantQuery

productIds
array of int32s or int32s

Identifiers of the parent products whose variants are retrieved.

productIds
variantIds
array of int32s or int32s

Identifiers of the variants to retrieve.

variantIds
names
array of strings

Exact variant names to match.

names
includeTrademarkNames
array of strings

Trademark names whose variants are included.

includeTrademarkNames
includeCategoryNames
array of strings

Category names whose variants are included.

includeCategoryNames
includesNames
array of strings

Variant names whose matches are included.

includesNames
categoryIds
array of int32s or int32s

Identifiers of the categories the variants belong to.

categoryIds
trademarkIds
array of int32s or int32s

Identifiers of the trademarks the variants belong to.

trademarkIds
excludesNames
array of strings

Variant names whose matches are excluded.

excludesNames
codes
array of strings

Variant codes to match.

codes
includesCodes
array of strings

Variant codes whose matches are included.

includesCodes
excludesCodes
array of strings

Variant codes whose matches are excluded.

excludesCodes
string
required
length ≥ 1

Gets or sets the client identifier for the requesting application.

string
required
length ≥ 1

Gets or sets the application key used for authentication.

int32 | int32 | null
^-?(?:0|[1-9]\d*)$

Gets or sets the zero-based page index.

int32 | int32 | null
^-?(?:0|[1-9]\d*)$

Gets or sets the number of items per page.

string

Gets or sets the sorting expression.

string

Gets or sets the trace identifier used for request logging.

status
array of strings

Gets or sets the status values used to filter results.

status
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json