Billable Item
Update Billable Item
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Billable Item
Update Billable Item
WRITE
access to the SALES
module is required to access this endpointPUT
/
v2
/
billable-item
curl --request PUT \
--url https://api.sonderplan.com/v2/billable-item \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 92834,
"name": "Aspera Upload",
"description": "Upload to Aspera (per TB)",
"unit_name": "Terabyte",
"buy_cost": "10.00",
"sell_cost": "20.00",
"taxes": [
{
"id": 3247,
"name": "GST",
"rate": "10.00",
"total": "151.00"
}
],
"custom_fields": [
{
"id": 7823,
"name": "Type",
"value": "Video Editing",
"value_id": 8973,
"update_key": "2_1_7823"
}
],
"currency": "AUD"
}'
{
"success": {
"id": 1
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The ID of the billable item to update
Body
application/json
Billable item object that needs to be updated
Standard billable item model
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request PUT \
--url https://api.sonderplan.com/v2/billable-item \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 92834,
"name": "Aspera Upload",
"description": "Upload to Aspera (per TB)",
"unit_name": "Terabyte",
"buy_cost": "10.00",
"sell_cost": "20.00",
"taxes": [
{
"id": 3247,
"name": "GST",
"rate": "10.00",
"total": "151.00"
}
],
"custom_fields": [
{
"id": 7823,
"name": "Type",
"value": "Video Editing",
"value_id": 8973,
"update_key": "2_1_7823"
}
],
"currency": "AUD"
}'
{
"success": {
"id": 1
}
}