List products per contract
GET https://{{host}}/contract-api/v1/contracts/:contractId/products/summaries
Get the IDs and names of the products associated with a contract for the time frame selected.
Body
PARAM
Key | Datatype | Required | Description |
from
|
string | (Optional) The start date, in UTC, to use when looking for products associated with a contract. The search always begins at midnight (0:00) UTC of the specified date. The default start date is 30 days prior to the current date. For current contracts, you can select a date within the past 15 months of the current date. For expired contracts, you are limited to a date range of 30 days within the 15 month window. | |
to
|
string | (Optional) The end date, in UTC, to use when looking for products associated with a contract. The search always ends at 23:59:59 UTC of the specified date. The default end date is the current date. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"products": {
"contractId": "K-0N7RAK7",
"marketing-products": [
{
"marketingProductId": "B-3-96NY56",
"marketingProductName": "Access Control - All Streaming Delivery"
},
{
"marketingProductId": "B-3-A5ME5",
"marketingProductName": "Site and Visitor Intelligence"
},
{
"marketingProductId": "B-4-1O78TS",
"marketingProductName": "All Streaming Delivery"
}
]
}
} |
ENDPOINTS