Subscriptions
Requires permission Order View
- : Access Younium API
The subscription identifier
Success
Date of when latest update occurred on the order or it's sub entities
2024-07-01Bad Request.
Unauthorized
Forbidden
Not Found
GET /Subscriptions/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"noticePeriodDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2024-07-01",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"termType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"invoiceBatchGroup": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"description": "text"
},
"paymentTerm": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"deliveryDate": "2026-01-01T00:00:00.000Z",
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"price": 1,
"listPrice": 1,
"discountAmount": 1,
"discountPercentage": 1,
"totalPrice": 1,
"totalListPrice": 1,
"totalDiscountAmount": 1,
"totalDiscountPercentage": 1,
"totalPerInvoice": 1,
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"discountType": "Percent",
"description": "text",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"currency": "text",
"externalERPId": "text",
"externalCRMId": "text",
"currencyCodeToUseWhenInvoice": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}- : Access Younium API
Success
No content
Bad Request.
Unauthorized
Forbidden
PATCH /Subscriptions/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/merge-patch+json
Accept: */*
Content-Length: 440
{
"description": "text",
"remarks": "text",
"noticePeriod": 1,
"invoiceSeparatly": true,
"useAccountInvoiceBatchGroup": true,
"invoiceBatchGroup": {
"key": "text",
"value": "text"
},
"paymentTerm": "NET30",
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"buyerReference": "text",
"yourOrderNumber": "text",
"yourReference": "text",
"ourReference": "text"
}No content
- : Access Younium API
subscription id
Success
No content
Bad Request.
Unauthorized
Forbidden
Not Found
DELETE /Subscriptions/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
- : Access Younium API
Filter the results. See developer resources for more information. On endpoints whose entity supports
custom fields you can also filter by custom field: customFieldEq('fieldName', 'value') (equals) or
customFieldExist('fieldName') (field has a non-empty value). Custom-field functions may only be
combined with and.
name eq 'Adam' and age gt 20 and customFieldEq('region', 'EU')Sorting the results. See developer resources for more information
accountNumber DescApply a separate modified After filter. See 'ModifiedBefore' filter for further details.
2026-07-01Filter is also applied on sub entities: 'orderProducts', 'orderCharges', 'chargeDetails', 'orderDiscounts', 'milestones' and 'customFields' on these entities
2026-07-01Page Size
20Page Number
1Success
Date of when latest update occurred on the order or it's sub entities
2024-07-01Bad Request.
Unauthorized
Forbidden
GET /Subscriptions/{orderNumber}/versions HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"noticePeriodDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2024-07-01",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"termType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"invoiceBatchGroup": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"description": "text"
},
"paymentTerm": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"deliveryDate": "2026-01-01T00:00:00.000Z",
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"price": 1,
"listPrice": 1,
"discountAmount": 1,
"discountPercentage": 1,
"totalPrice": 1,
"totalListPrice": 1,
"totalDiscountAmount": 1,
"totalDiscountPercentage": 1,
"totalPerInvoice": 1,
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"discountType": "Percent",
"description": "text",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"currency": "text",
"externalERPId": "text",
"externalCRMId": "text",
"currencyCodeToUseWhenInvoice": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}
]- : Access Younium API
Success
Date of when latest update occurred on the order or it's sub entities
2024-07-01Bad Request.
Unauthorized
Forbidden
Not Found
GET /Subscriptions/{id}/version HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"noticePeriodDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2024-07-01",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"termType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"invoiceBatchGroup": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"description": "text"
},
"paymentTerm": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"deliveryDate": "2026-01-01T00:00:00.000Z",
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"price": 1,
"listPrice": 1,
"discountAmount": 1,
"discountPercentage": 1,
"totalPrice": 1,
"totalListPrice": 1,
"totalDiscountAmount": 1,
"totalDiscountPercentage": 1,
"totalPerInvoice": 1,
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"discountType": "Percent",
"description": "text",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"currency": "text",
"externalERPId": "text",
"externalCRMId": "text",
"currencyCodeToUseWhenInvoice": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}- : Access Younium API
Success
Date of when latest update occurred on the order or it's sub entities
2024-07-01Bad Request.
Unauthorized
Forbidden
GET /Subscriptions/{orderNumber}/versions/{version} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"noticePeriodDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2024-07-01",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"termType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"invoiceBatchGroup": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"description": "text"
},
"paymentTerm": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"deliveryDate": "2026-01-01T00:00:00.000Z",
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"price": 1,
"listPrice": 1,
"discountAmount": 1,
"discountPercentage": 1,
"totalPrice": 1,
"totalListPrice": 1,
"totalDiscountAmount": 1,
"totalDiscountPercentage": 1,
"totalPerInvoice": 1,
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"discountType": "Percent",
"description": "text",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"currency": "text",
"externalERPId": "text",
"externalCRMId": "text",
"currencyCodeToUseWhenInvoice": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}- : Access Younium API
If true, billing period will be set from order billing period and billing period on charges will be ignored.
Subscription created.
No content
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 3150
{
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"noticePeriodDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"subscriptionType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddressId": "123e4567-e89b-12d3-a456-426614174000",
"deliveryAddressId": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text",
"paymentTerm": "NET30",
"useAccountInvoiceBatchGroup": true,
"account": "A-000001",
"invoiceAccount": "A-000001",
"currency": "SEK",
"invoicingCurrency": "text",
"products": [
{
"product": "P-000001",
"chargePlan": "CP-000001",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"charge": {
"key": "text",
"value": "text"
},
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"startMilestone": "text",
"endMilestone": "text",
"quantity": 1,
"unitCode": "pcs",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": {
"key": "text",
"value": "text"
},
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "Sweden standard",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"remarks": "text",
"deferredRevenueAccount": "1510",
"recognizedRevenueAccount": "1510",
"changeState": "NotChanged",
"displayPrice": 1,
"priceDetails": [
{
"toQuantity": 1,
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"features": [
{
"feature": {
"key": "text",
"value": "text"
}
}
],
"estimatedUsage": 1,
"estimatedQuantity": 1,
"orderedQuantity": 1,
"recurringMonthlyAmount": 1,
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"orderDiscountMappingKey": [
"text"
]
}
],
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"milestones": [
{
"name": "text",
"description": "text",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"operation": "Change",
"OrderDiscountId": "GUID",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"description": "text",
"onSpecificCharges": true,
"orderProductCharges": [
{
"charge": "OPC-000001",
"operation": "Remove"
}
],
"chargeMappingKey": "text"
}
],
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceBatchGroup": {
"key": "text",
"value": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
- : Access Younium API
Skip number of records
10Take number of records
5Filter the resulsts. See ODATA documentation for more information
name eq 'Adam' and age gt 20Sorting the results. See ODATA specificaion for more information
nameSuccess
Date of when latest update occurred on the order or it's sub entities
2024-07-01Bad Request.
Unauthorized
Forbidden
GET /Subscriptions HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"noticePeriodDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2024-07-01",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"termType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"invoiceBatchGroup": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"description": "text"
},
"paymentTerm": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"deliveryDate": "2026-01-01T00:00:00.000Z",
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"price": 1,
"listPrice": 1,
"discountAmount": 1,
"discountPercentage": 1,
"totalPrice": 1,
"totalListPrice": 1,
"totalDiscountAmount": 1,
"totalDiscountPercentage": 1,
"totalPerInvoice": 1,
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2026-01-01T00:00:00.000Z",
"modified": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"discountType": "Percent",
"description": "text",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"currency": "text",
"externalERPId": "text",
"externalCRMId": "text",
"currencyCodeToUseWhenInvoice": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2026-01-01T00:00:00.000Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}
]- : Access Younium API
New version of Subscription created.
No content
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/{id}/change HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 3160
{
"account": "A-000001",
"invoiceAccount": "A-000001",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"subscriptionType": "Termed",
"term": 1,
"renewalTerm": 1,
"noticePeriod": 1,
"isAutoRenewed": true,
"currency": "SEK",
"invoiceSeparatly": true,
"invoiceAddress": {
"key": "text",
"value": "text"
},
"deliveryAddress": {
"key": "text",
"value": "text"
},
"paymentTerm": "NET30",
"orderPaymentMethod": "Invoice",
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"externalERPId": "text",
"externalCRMId": "text",
"useAccountInvoiceBatchGroup": true,
"invoiceBatchGroup": {
"key": "text",
"value": "text"
},
"invoicingCurrency": "text",
"products": [
{
"operation": "Change",
"product": "OP-000001",
"chargePlan": "CP-000001",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"charge": "OPC-000001",
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"pricePeriod": "Monthly",
"quantity": 1,
"unitCode": "pcs",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"displayPrice": 1,
"priceDetails": [
{
"isInfinite": true,
"toQuantity": 1,
"operation": "Change",
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"features": [
{
"operation": "Remove",
"feature": {
"key": "text",
"value": "text"
}
}
],
"deferredRevenueAccount": "1510",
"recognizedRevenueAccount": "1510",
"usageRating": "Sum",
"revenueRecognitionRule": {
"key": "text",
"value": "text"
},
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "Sweden standard",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"remarks": "text",
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"recurringMonthlyAmount": 1,
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"startMilestone": "MilestoneName",
"endMilestone": "MilestoneName",
"estimatedUsage": 1,
"estimatedQuantity": 1,
"orderDiscountMappingKey": [
"text"
]
}
],
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cancelProductOn": "EffectiveEndDate",
"cancelationDate": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"name": "text",
"description": "text",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"operation": "Change",
"OrderDiscountId": "GUID",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"description": "text",
"onSpecificCharges": true,
"orderProductCharges": [
{
"charge": "OPC-000001",
"operation": "Remove"
}
],
"chargeMappingKey": "text"
}
],
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
Renew the Subscription and then perform a change in a single transaction, reverting the renewals in case of failure on the change. Use renewal term and next renewal term for specifying the renewal. Other properties set will be applied to the change.
- : Access Younium API
Term for next renewal in months. Renewal term will be used as default
Success
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/{id}/RenewAndChange HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 3180
{
"nextRenewalTerm": 1,
"account": "A-000001",
"invoiceAccount": "A-000001",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"orderDate": "2026-01-01T00:00:00.000Z",
"subscriptionType": "Termed",
"term": 1,
"renewalTerm": 1,
"noticePeriod": 1,
"isAutoRenewed": true,
"currency": "SEK",
"invoiceSeparatly": true,
"invoiceAddress": {
"key": "text",
"value": "text"
},
"deliveryAddress": {
"key": "text",
"value": "text"
},
"paymentTerm": "NET30",
"orderPaymentMethod": "Invoice",
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"externalERPId": "text",
"externalCRMId": "text",
"useAccountInvoiceBatchGroup": true,
"invoiceBatchGroup": {
"key": "text",
"value": "text"
},
"invoicingCurrency": "text",
"products": [
{
"operation": "Change",
"product": "OP-000001",
"chargePlan": "CP-000001",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"charge": "OPC-000001",
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"pricePeriod": "Monthly",
"quantity": 1,
"unitCode": "pcs",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2026-01-01T00:00:00.000Z",
"lastRenewalDate": "2026-01-01T00:00:00.000Z",
"lastPriceAdjustmentDate": "2026-01-01T00:00:00.000Z",
"displayPrice": 1,
"priceDetails": [
{
"isInfinite": true,
"toQuantity": 1,
"operation": "Change",
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"features": [
{
"operation": "Remove",
"feature": {
"key": "text",
"value": "text"
}
}
],
"deferredRevenueAccount": "1510",
"recognizedRevenueAccount": "1510",
"usageRating": "Sum",
"revenueRecognitionRule": {
"key": "text",
"value": "text"
},
"billingDay": "None",
"specificBillingDay": 1,
"offsetBillingDays": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2026-01-01T00:00:00.000Z",
"taxTemplate": "Sweden standard",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"remarks": "text",
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"recurringMonthlyAmount": 1,
"effectiveStartDate": "2026-01-01T00:00:00.000Z",
"effectiveEndDate": "2026-01-01T00:00:00.000Z",
"startMilestone": "MilestoneName",
"endMilestone": "MilestoneName",
"estimatedUsage": 1,
"estimatedQuantity": 1,
"orderDiscountMappingKey": [
"text"
]
}
],
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cancelProductOn": "EffectiveEndDate",
"cancelationDate": "2026-01-01T00:00:00.000Z"
}
],
"milestones": [
{
"name": "text",
"description": "text",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
],
"orderDiscounts": [
{
"operation": "Change",
"OrderDiscountId": "GUID",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"description": "text",
"onSpecificCharges": true,
"orderProductCharges": [
{
"charge": "OPC-000001",
"operation": "Remove"
}
],
"chargeMappingKey": "text"
}
],
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "text"
}- : Access Younium API
subscription id
The first effective day of the cancellation. I.e if the subscriptions ends Dec 31, the first day of cancellation is Jan 1
2024-07-01Subscription end date
2024-12-31Success
No content
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/cancel/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 199
{
"endDate": "2024-12-31",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"cancellationMode": "OnOrderCancellationDate",
"cancellationDatePerCharges": {
"ANY_ADDITIONAL_PROPERTY": "2026-01-01T00:00:00.000Z"
}
}No content
- : Access Younium API
subscription id
Term for next renewal in months. Renewal term will be used as default
Success
No content
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/renew/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"renewalTerm": 1,
"nextRenewalTerm": 1
}No content
- : Access Younium API
subscription id
Success
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/revert/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "text"
}- : Access Younium API
Success
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/activate/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "text"
}- : Access Younium API
subscription id
Success
Bad Request.
Unauthorized
Forbidden
Not Found
GET /Subscriptions/{id}/milestones HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}
]- : Access Younium API
Subscription Milestone Id
Success
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/milestones/set/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 97
{
"milestoneDate": "2026-01-01T00:00:00.000Z",
"milestoneId": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z"
}Edit and create OrderDiscounts on an existing order. This will create a new version of the order.
- : Access Younium API
Success
No content
Bad Request.
Unauthorized
Forbidden
POST /Subscriptions/{id}/OrderDiscounts HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 394
{
"effectiveChangeDate": "2026-01-01T00:00:00.000Z",
"orderDiscounts": [
{
"operation": "Change",
"OrderDiscountId": "GUID",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"percent": 1,
"description": "text",
"onSpecificCharges": true,
"orderProductCharges": [
{
"charge": "OPC-000001",
"operation": "Remove"
}
],
"chargeMappingKey": "text"
}
]
}No content
Last updated