Service Items

POST service item

Changed on

Add a one-time service to the order.

post/admin/orders/{order_id}/service-items

Request

  • Base URL
    https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

order_id, integer required

The order the service items belong to.

Request body

ServiceItemCreateRequest required
activation_mode, 'on_start_date' | 'on_rental_on_rent' | 'manual'
activation_rental_id, integer nullable
asset_ids, integer[]
bill_for, 'completed' | 'scheduled'
billing_method, 'with_rental_cycle' | 'monthly_service_invoice'
cadence, 'one_time' | 'recurring'
completion_method, 'dispatch_ticket' | 'work_order' | 'none'
estimated_duration_minutes, integer nullable
estimated_quantity, number nullable
facilitator_type_id, integer
line_item_type_id, integer
line_number, integer
location_id, integer required
poc_name, string nullable
poc_phone, string nullable
preassigned_driver_user_id, integer nullable
price_unit, 'per_service' | 'per_service_day' | 'per_week' | 'per_labor_hour' | 'per_28_days'
quantity, number required
rental_id, integer nullable
requires_completion_photos, boolean
requires_proof_of_service, boolean
schedule, ServiceSchedule required
scope_of_work, string
service_product_id, integer required
time_zone, string
unit_price, number

Response

Service item created.

Changes