Skip to content

Product API #20

Description

@lbirkert

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
GET /product
[ 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:

ram=1&key=value

Note that not the prices are used in the payload as these might change while the website is running.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions