This API retrieves offers for the specified product code. This API is a variation of the Get Offers by Catalog API. The response includes orderable offers (promotions and products) that contain the specified product. A cart ID is not required.
A promotion includes all the products associated with the promotion, including the root-level product.
This API support a flag called isloggedin to indicate whether a user is logged in or anonymous. If the isloggedin parameter is true, it indicates a logged-in user, and an accountId must be specified in the context parameter of the API call. If the isloggedin flag is false, it indicates that the user is anonymous.