Generate invoice url for repair/parts order
Generate invoice url for repair/parts order
Path Parameters
department_token string required
Query Parameters
orderUuid string
orderNumber string
orderType string
Possible values: [SERVICE
, PARTS
, SALES
, BODYSHOP
, LOANER
, FINANCE
, ADMIN
]
Responses
- 200
OK
*/*
Schema
Example (from schema)
Schema
statusCode int32
invoiceUrl string
errors object[]
warnings object[]
{
"statusCode": 0,
"invoiceUrl": "string",
"errors": [
{
"errorCode": "string",
"errorDescription": "string",
"errorUID": "string"
}
],
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
POST /departments/:department_token/orders/invoice
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
python / requests
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
go / native
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
nodejs / axios
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
ruby / Net::HTTP
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
csharp / RestSharp
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
php / cURL
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
java / OkHttp
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'
powershell / RestMethod
curl -L -X POST '/order/v2/departments/:department_token/orders/invoice' \
-H 'Accept: */*'