getOfferSet method
Provides details about an offer set, which is a bundle of offers across multiple products. Includes the seller, availability dates, buyer notes, and associated product-offer pairs.
May throw ResourceNotFoundException.
Parameter offerSetId :
The unique identifier of the offer set to retrieve.
Implementation
Future<GetOfferSetOutput> getOfferSet({
required String offerSetId,
}) async {
final $payload = <String, dynamic>{
'offerSetId': offerSetId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/2026-02-05/getOfferSet',
exceptionFnMap: _exceptionFns,
);
return GetOfferSetOutput.fromJson(response);
}