Shopper APIs

Shopper APIs are public, meaning that there is no security (JWT or other) to access to them. No need to have an 'Authorization' http header. They should be called from the checkout front cart.

List of available APIs

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