Services
API Reference
- Back Office
- Listings
- Historical Photos
- Vehicles
- Taxes & Fees
- Consumers
- Credit
- Services
- GETGet Services
- POSTCreate a new Service
- GETRetrieve a Service
- PATCHUpdate an existing Service
- GETGet Service Quotes
- POSTCreate a new Service Quote
- GETRetrieve a Service Quote
- GETGet Service Orders
- POSTCreate a new Service Order
- GETRetrieve a Service Order
- PATCHUpdate an existing Service Order
- GETGet Service Providers
- GETRetrieve a Service Provider
- GET
- Invoices
- Companies
- Locations
- Webhooks
- Inspection
Services
Create a new Service Order
POST
/
serviceorders
Copy
Ask AI
curl --request POST \
--url https://commerce.driv.ly/api/serviceorders \
--header 'Content-Type: application/json' \
--data '{
"id": "sord_8d93j2k4s9d2",
"invoice": "Invoice ID",
"service": "Service ID",
"statusURL": "http://example.com/status",
"serviceQuote": "Service Quote ID",
"billToCompany": "Company ID",
"consignmentCompany": "Company ID"
}'
Copy
Ask AI
{
"data": {
"id": "sord_8d93j2k4s9d2",
"invoice": "Invoice ID",
"service": "Service ID",
"statusURL": "http://example.com/status",
"serviceQuote": "Service Quote ID",
"billToCompany": "Company ID",
"consignmentCompany": "Company ID"
},
"success": true
}
Query Parameters
The number of levels of related objects to include in the response
Body
application/json
Response
200
application/json
Service Order Created
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://commerce.driv.ly/api/serviceorders \
--header 'Content-Type: application/json' \
--data '{
"id": "sord_8d93j2k4s9d2",
"invoice": "Invoice ID",
"service": "Service ID",
"statusURL": "http://example.com/status",
"serviceQuote": "Service Quote ID",
"billToCompany": "Company ID",
"consignmentCompany": "Company ID"
}'
Copy
Ask AI
{
"data": {
"id": "sord_8d93j2k4s9d2",
"invoice": "Invoice ID",
"service": "Service ID",
"statusURL": "http://example.com/status",
"serviceQuote": "Service Quote ID",
"billToCompany": "Company ID",
"consignmentCompany": "Company ID"
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.