Get subscription draft with pre calculated data.
POST /v1/clients/{clientId}/subscriptions/draft
application/json
BUSINESS_ERROR
TECHNICAL_ERROR
BUSINESS_ERROR
TECHNICAL_ERROR
BUSINESS_ERROR
TECHNICAL_ERROR
BUSINESS_ERROR
TECHNICAL_ERROR
BUSINESS_ERROR
TECHNICAL_ERROR
BUSINESS_ERROR
TECHNICAL_ERROR
{
"subscriptionProductId": "subscription-product-id-1",
"activeFrom": "2023-21-12"
}
{
"currencyCode": "NOK",
"periods": [
{
"grossAmount": 123,
"startDay": "2022-12-21",
"endDay": "2023-02-13"
}
]
}
{
"subscriptionProductId": "subscription-product-id-1",
"activeFrom": "2023-21-12"
}
{
"type": "https://developer.horizonafs.io/errors/resource-not-found",
"category": "BUSINESS_ERROR",
"title": "Resource not found",
"message": "Resource not found"
}