An API that helps fetching product configurations and prices.
Product Object
{
key: "servers_mc",
ram: {
// The config key, also used for generating the Cart payload (key=value)
type: "enum",
values: {
// name: price
1: 100,
2: 200,
3: 300
},
currency: "EUR"
}
We'd add currency headers to all these Requests, including the Cart API. (As we do not want bring our site between a paywall just for the users to see the prices)
GET /product/{key:string}
Product
When configuring these values will be shown to the user as + price and - price values dynamically.
The config payload (in Cart API terms data payload) will look like this:
Note that not the prices are used in the payload as these might change while the website is running.
An API that helps fetching product configurations and prices.
Product Object
We'd add currency headers to all these Requests, including the Cart API. (As we do not want bring our site between a paywall just for the users to see the prices)
When configuring these values will be shown to the user as + price and - price values dynamically.
The config payload (in Cart API terms data payload) will look like this:
Note that not the prices are used in the payload as these might change while the website is running.