POST
/
marketplace
/
providers
curl -X POST http://localhost:8080/marketplace/providers \
  -H "Authorization: 3fd8b6a4-137b-4b0b-8aa9-6d5726e88cbe" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "gophercorp",
    "entries": [
      {
        "cost_per_hour": 0.0204,
        "cpu_cores": 2,
        "ram_gb": 2,
        "usage_type": "ONDEMAND",
        "instance_type": "t3.small",
        "region": "us-east-1",
        "raw_pricing_data": {},
        "provider": "gophercorp",
        "service": "ec2",
        "operating_system": "linux",
        "availability_zone": "us-east-1a"
      }
    ]
  }'
{
  "Status": "Registered",
  "Entries": 1
}
Marketplace allows you to create custom pricing entries for cloud providers not natively supported. Or if you have signifcant pricing advantages.

Create Provider

Request Body

name
string
required
Name of the provider to add entries for (defaults to your organization).
Example: gophercorp
entries
array
required
Array of pricing entries to add for this provider.
curl -X POST http://localhost:8080/marketplace/providers \
  -H "Authorization: 3fd8b6a4-137b-4b0b-8aa9-6d5726e88cbe" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "gophercorp",
    "entries": [
      {
        "cost_per_hour": 0.0204,
        "cpu_cores": 2,
        "ram_gb": 2,
        "usage_type": "ONDEMAND",
        "instance_type": "t3.small",
        "region": "us-east-1",
        "raw_pricing_data": {},
        "provider": "gophercorp",
        "service": "ec2",
        "operating_system": "linux",
        "availability_zone": "us-east-1a"
      }
    ]
  }'
{
  "Status": "Registered",
  "Entries": 1
}