alibaba.com
Add to Alibaba.com cart
Inputs
product_id requiredAlibaba.com product id, as Search Alibaba.com products gives it, or a product page link (www.alibaba.com/product-detail/..._<id>.html).
quantity optionalNumber of units to add, 1 to 10. It must be at least the product's minimum order quantity.
Default: 1variant_id optionalVariant id from the variants of Get Alibaba.com product. Needed when the product has more than one variant.
Output
name requiredadded requiredUnits added by this run.
count requiredNumber of items in the cart after the add.
lines requiredEvery line of the cart after the add, one per product variant.
total requiredItem subtotal of the cart after the add, in the display currency, shipping not included.
offerId requiredVariant id that was added.
productId required