Quick Add
quickAdd
endpoint enables the customer to add a product directly from the products list to the cart without the need to open that product page. Under the hood, this endpoint calls the addItem
endpoint by passing the id of the product which will be added to the cart.TIP
Payload
cart.quickAdd.payload
product_id
number
required
Response
Success
Error
cart.quickAdd.success
success
boolean
success
status
enum<number>
status
Allowed values:
200201202
data
object
data
cart
object
CartSummary
offer
object
array[Offer]
Usage
quickAdd
as follows:
Events
addItem
endpoint by passing the id of the product which will be added to the cart. Accordingly, all of the addItem's events are applicable.Modified at 2025-03-04 12:54:02