Add Product to Cart
This API call will add the requested quantity to any existing quantities that are in the cart for the same product.
zapiAddProductToCart
POST
https://{yourdomainname}.zaui.net/zapi/
Request Body
zapiToken*
integer
Token that must be used for a reseller to communicate with the supplier system.
methodName*
string
The method being called.
zapiUserId*
integer
Generated by the supplier system when a new contact is created.
zapiAccountId*
integer
Generated by the supplier system.
linkedPackageId
integer
Optional parameters for linking a product to an individual package. Required for percentage-based products.
productId*
integer
ID of the product.
cartId*
integer
ID of the current cart session to add the activity to.
linkedActivityId
integer
Optional parameters for linking a product to an individual activity. Required for percentage-based products.
quantity*
integer
How many of each product to add to the card
For percentage-based products, linkage to a package or activity will be required. This will also automatically determine the product price when it’s a percentage.
Last updated
Was this helpful?