Skip to main content
POST
/
servicequotes
Create a new Service Quote
curl --request POST \
  --url https://commerce.driv.ly/api/servicequotes \
  --header 'Content-Type: application/json' \
  --data '
{
  "service": "<string>",
  "id": "<string>",
  "checkoutURL": "<string>",
  "orderCreationURL": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "service": "<string>",
    "checkoutURL": "<string>",
    "orderCreationURL": "<string>"
  },
  "success": true
}

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
service
required

Service is quoted in Service Quote

id
string

Service Quote is uniquely identified by id

checkoutURL
string<iri>

Service Quote has Checkout URL

orderCreationURL
string<iri>

Service Quote has Order Creation URL

Response

Service Quote Created

data
Service Quote · object
success
boolean