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.

Request Params

KeyDatatypeRequiredDescription
fromstring(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.
tostring(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.
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

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"}]}}