Shopping cart

Add to cart

POST https://t3-prod-api.tipser.com/v4/shoppingcart/items
headers
Authorization: Bearer [token]
body
{
  posId: "YOUR_POS_ID",
  productId: "<productId>_<variantId>".
  quantity: 1
}

Parameters

posId: string - required to get the commission

productId: string - depending on the product is either productId for products without variant or product and variant ids separated by underscore for product with variants

Reading shopping cart

GET https://t3-prod-api.tipser.com/v4/shoppingcart
headers
Authorization: Bearer [token]