2. Single Resource by ID - SphereMall/Android-MS-Client GitHub Wiki

Single Resource by ID

Fetch a Resource by ID:

//Receive response with product and meta data
Response<Product> productResponse = client.products().get(productId)

//get product
Product product = productResponse.data()

//get metadata
Map<String, ?> meta = productResponse.meta()

⚠️ **GitHub.com Fallback** ⚠️