Price Component REST Bindings
The price component REST bindings create new price components, return information about existing price components, and update existing price components. Price components are always based on usage.
The information available to the price component REST bindings includes:
- application (usage, and so forth)
- description
- quantity_selector
- service_id
- type (charge, discount, grant)
- Parameters (a list of parameters assigned to this price component with their default values)
Note: The PUT operation supports all attributes in the GET
response.
Examples
POST /objects/Price/basic
shows how to create a new price component.
URL |
|
Input |
Note: Replace ID with the Matrix id.
|
Response |
|
GET /objects/Price/basic/{id}
shows how to retrieve a price component from the in-memory pricing database.
URL |
|
Response |
|
PUT /objects/Price/basic/{id}
shows how to update an existing price component.
URL |
|
Input |
|
Response |
|