Description
List the products available for you, such as VPS, Swift, additional IP, and the others.
Request URL
billing API v1
GET /v1/{tenant_id}/product-items
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header | |
| tenant_id | Tenant ID | URI | |
| service_name(Optional) | Service Name | query |
Example
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://account.tyo1.cloud.z.com/v1/487727e3921d44e3bfe7ebb337bf085e/product-items?service_name=VPS
HTTP/1.1 200 OK
Date: Wed, 24 Dec 2014 04:30:55 GMT
Server: Apache
Content-Length: 3643
Content-Type: application/json
{
"product_items": [
{
"regions": [
{
"products": [
{
"product_name": "1GB",
"unit_price": 1.3
},
{
"product_name": "64GB",
"unit_price": 68.8
}
],
"region_name": "tyo1"
},
{
"products": [
{
"product_name": "1GB",
"unit_price": 1.7
},
"region_name": "sjc1"
},
{
"products": [
{
"product_name": "64GB",
"unit_price": 89.4
}
],
"region_name": "sin1"
}
],
"service_name": "VPS"
}
]
}