This endpoint is used to fetch any offered items related to the product. Other products may be offered along with the product as an offer from the merchant. This endpoint displays all of the items as an offer.The product offers endpoint has been implemented in the Offer Web Component, and It's all setup to save developer's time and effort. Payload#
Response#
product.offerDetails.success
Usage#
To perform the action of fetching any offered items related to the product, the developer may run the details()
method as below.Events#
This endpoint may trigger two events, the onOfferExisted, onOffersFetched and onFetchOffersFailed events.onOfferExisted#
This event is triggered when fetching any existed offer related to the product is done without having any errors coming back from the backend.onOffersFetched#
This event is triggered when fetching any offered items related to the product is done without having any errors coming back from the backend.onFetchOffersFailed#
This event is triggered when fetching any offered items related to the product is not completed and an error has occurred. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20