getSelection

Retrieve up to 100 product items that are associated with a specified promotion. This operation only supports items found in SelectionType.ITEMS. Items found in SelectionType.CATALOG are not supported. Selection objects always include selectionDetails with item information.

Path Params
string
required

The ID of the promotion.

string
required

The ID of the selection.

Query Params
integer
required
≥ 1

The revision identifier for the selection. Use the revisionId from the getPromotion response. A promotion may have multiple selection revisions when an update is in progress. Passing the correct revisionId ensures you retrieve the expected data.

string
^[a-z]{2}_[A-Z]{2}$
Defaults to en_US

The locale of the promotion. Formatted as an ISO 639 language code, followed by an underscore, followed by an ISO 3166-1 alpha-2 country code.

string

A token that you use to retrieve the next page of results. The response includes paginationToken when the number of results exceeds the specified limit value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until paginationToken is null. Note that this operation can return empty pages.

int64
1 to 100
Defaults to 20

The maximum number of response results per page.

includedData
array of strings

A comma-delimited list of datasets to include in the response.

includedData
Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json