Authorization headerstore permissioncommunityID401 if the key is missing, invalid, or expired403 if the key does not include the store permissionproductID must be a valid product identifier accepted by the source store servicefields is a comma-separated projection using partner-safe selectable product fields; productPermission and __v are not public fieldslang selects translated product fields when localized content is configured400404 when the source service reports not found502{ "path": "/products/507f1f77bcf86cd799439031", "query": "?fields=name,price,type&lang=th" }curl --location --request GET 'https://api.returning.ai/v1/products/507f1f77bcf86cd799439031?fields=name,price,type&lang=th' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Read product success.",
"data": {
"_id": "507f1f77bcf86cd799439031",
"communityID": "6502c9e514a3e564c5c09c0a",
"name": "Premium Voucher",
"description": "<p>Redeem for premium access.</p>",
"image": "https://example.com/product.png",
"price": 100,
"type": "voucher",
"categoryID": "650906d314a3e564c56f3450",
"stocks": 45,
"discountPrice": 90,
"isDiscountEnabled": false,
"discountStartDate": "2026-04-28T00:00:00.000Z",
"discountEndDate": "2026-05-28T00:00:00.000Z",
"userInformation": {
"isEnabled": false
},
"shouldPrioritiesExpiringVouchers": false,
"shouldDisplayRemainingQuantity": true,
"expiringVoucherHighlight": {
"isEnabled": false
},
"isArchived": false,
"totalOrders": 12,
"displayOrder": 0,
"redemptionInstructions": "<p>Show this voucher at checkout.</p>",
"i18n": {
"nameTranslations": []
},
"customOptions": {
"isEnabled": false
},
"isProductAccessEnabled": false,
"purchaseStatusOverride": {
"isEnabled": false,
"statusID": null
},
"createdAt": "2026-04-28T00:00:00.000Z",
"updatedAt": "2026-04-28T00:00:00.000Z"
}
}