Shopper APIs are public, meaning that there is no JWT or other security required to access them, nor is there any need to have an 'Authorization' http header. Shopper APIs should be called from the checkout front cart.
Operation | HTTP Request | Resource Request | Description |
---|---|---|---|
createCart |
POST /carts/public |
CartInput | Create a cart |
getPaymentMethodsForCart |
GET /carts/public/{id}/paymentmethods |
Get Payment Methods For Cart | |
getPublicCart |
GET /carts/public/{id} |
Get a cart by id | |
updateProductsInCart |
PUT /carts/public/{id}/products |
ProductUpdate | Update products to a cart |
verifySignedData |
POST /customers/public/{id}/verify |
SignedRequest | Verify the signed data |
getStore |
GET /stores/public/{id} |
Get a store by ID | |
getPublicProduct |
GET /products/public/{id} |
Get a product by id via public context | |
processPurchase |
POST /purchases/public |
Purchase | Create a new purchase and process it |
getPaymentToken |
GET /purchases/public/token |
Get payment token | |
getNextGeneration |
GET /products/public/{id}/nextgeneration |
Get the next generation of product via public context | |
updateCart |
PUT /carts/public/{id} |
CartPut | Update a cart |
getPublicAllProducts |
GET /products/public |
Get all product entries via public context |