Shopper APIs

Operation HTTP Request Resource Request Description
getStore
GET /stores/public/{id}
Get a store by id
processPurchase
POST /purchases/public
Purchase Create a new purchase and process it
getPaymentToken
GET /purchases/public/token
Get payment token
getPublicProduct
GET /products/public/{id}
Get a product by id via public context
getPublicAllProducts
GET /products/public
Get all product entries via public context
updateProductInCart
PUT /carts/public/{id}/product/{productId}
ProductInput Update a product to a cart
createCart
POST /carts/public
CartInput Create a cart
removeProductInCart
POST /carts/public/{id}/removeproduct/
ProductUpdate Remove a product to a cart
addProductInCart
POST /carts/public/{id}/addproduct
ProductUpdate Add a product to a cart
getCart
GET /carts/public/{id}
Get a cart by id
updateCart
PUT /carts/public/{id}
CartUpdate Update a cart