getProduct method
Provides details about a product, such as descriptions, highlights, categories, fulfillment option summaries, promotional media, and seller engagement options.
May throw ResourceNotFoundException.
Parameter productId :
The unique identifier of the product to retrieve.
Implementation
Future<GetProductOutput> getProduct({
required String productId,
}) async {
final $payload = <String, dynamic>{
'productId': productId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/2026-02-05/getProduct',
exceptionFnMap: _exceptionFns,
);
return GetProductOutput.fromJson(response);
}