Retrieves a product
Changed onReturns a single product or bundle definition, including pricing configuration used on contracts and invoices.
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the product to retrieve.
Response
OK
Example response
{
"name": "English subscription",
"description": "Subscription to english classes",
"price": {
"amount": {
"amount": "1.01",
"currency": "USD"
},
"interval_months": 1
},
"progress_plan_template": {
"milestones": [
{
"key": "design-approved",
"name": "Design approved",
"sequence": 1,
"value": "30",
"expected_offset": {
"count": 1,
"unit": "MONTHS"
}
}
]
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"account_code": "11112",
"bundle": {
"components": [
{
"quantity": "1"
}
]
}
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - info
added
subschema #1subschema #2to the response bodyallOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
removed the
DAILYenum value from theresponse property for the response status - info
removed the
EVEN_PERIODenum value from theresponse property for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking