Simpleproducts

Get Simple Products

get
Authorizations
Query parameters
Skipinteger · int32Optional

Skip number of records

Example: 10
Takeinteger · int32Optional

Take number of records

Example: 5
FilterstringOptional

Filter the resulsts. See ODATA documentation for more information

Example: name eq 'Adam' and age gt 20
SortstringOptional

Sorting the results. See ODATA specificaion for more information

Example: name
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
get
GET /SimpleProducts HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "productNumber": "text",
    "name": "text",
    "category": "text",
    "chargeType": "OneOff",
    "priceModel": "Flat",
    "pricePeriod": "Monthly",
    "defaultQuantity": 1,
    "unitCode": "text",
    "billingPeriod": "Monthly",
    "billingDay": "None",
    "specificBillingDay": 1,
    "periodAlignment": "None",
    "billingTiming": "InAdvance",
    "taxTemplate": "text",
    "taxIncluded": true,
    "deferredRevenueAccount": "text",
    "recognizedRevenueAccount": "text",
    "externalERPid": "text",
    "externalCRMId": "text",
    "activationDate": "2025-07-10T13:17:06.125Z",
    "endOfNewSalesDate": "2025-07-10T13:17:06.125Z",
    "endOfRenewalDate": "2025-07-10T13:17:06.125Z",
    "endOfLifeDate": "2025-07-10T13:17:06.125Z",
    "usageRating": "Sum",
    "createInvoiceLinesPerTier": true,
    "priceDetails": [
      {
        "currency": "text",
        "price": 1,
        "tier": 1,
        "description": "text",
        "fromQuantity": 1,
        "toQuantity": 1,
        "priceBase": "Flat"
      }
    ],
    "customFields": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  }
]

Get SimpleProducts by Id

get
Authorizations
Path parameters
idstring · uuidRequired
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
get
GET /SimpleProducts/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "productNumber": "text",
  "name": "text",
  "category": "text",
  "chargeType": "OneOff",
  "priceModel": "Flat",
  "pricePeriod": "Monthly",
  "defaultQuantity": 1,
  "unitCode": "text",
  "billingPeriod": "Monthly",
  "billingDay": "None",
  "specificBillingDay": 1,
  "periodAlignment": "None",
  "billingTiming": "InAdvance",
  "taxTemplate": "text",
  "taxIncluded": true,
  "deferredRevenueAccount": "text",
  "recognizedRevenueAccount": "text",
  "externalERPid": "text",
  "externalCRMId": "text",
  "activationDate": "2025-07-10T13:17:06.125Z",
  "endOfNewSalesDate": "2025-07-10T13:17:06.125Z",
  "endOfRenewalDate": "2025-07-10T13:17:06.125Z",
  "endOfLifeDate": "2025-07-10T13:17:06.125Z",
  "usageRating": "Sum",
  "createInvoiceLinesPerTier": true,
  "priceDetails": [
    {
      "currency": "text",
      "price": 1,
      "tier": 1,
      "description": "text",
      "fromQuantity": 1,
      "toQuantity": 1,
      "priceBase": "Flat"
    }
  ],
  "customFields": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

Last updated