Gift Offer
STEP 1: /api-partner/bogos
/api-partner/bogos handles the logic of BOGOS related to gift offer (add gift to cart, update number of gift, remove gift from cart)
1. Post /api-partner/bogos
Body
Response
2. Use response data to display gift in sale channels
The response data, including gift product ID, will be used to display gifts in the sale channels.
For the gift will be displayed in the slider for customers’ selection, refer to the field “popup:” in Response.
STEP 2: /api-partner/products-sync-quantity
Fetching information on the gift products to verify quantities (only necessary if the 'Settings: Sync-quantity' feature is enabled).
About Sync quantity Integration flow:
Once the user posts /api-partner/products-sync-quantity, the response contains the list of productIDs that need to be verified for the quantity level.
Then post /api-partner/bogos with eligible product data
Params
Body
Response
Last updated