Skip to main content
GET
/
api
/
public
/
v1
/
quotes
/
{id}
cURL
curl --request GET \
  --url https://api.boxpilote.fr/api/public/v1/quotes/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "quote_number": "<string>",
  "customer_id": "<string>",
  "total_amount": 123,
  "sub_total_amount": 123,
  "expiration_date": "<string>",
  "status": "<string>",
  "sent_email": true,
  "payment_method": "<string>",
  "payment_terms": "<string>",
  "deposit": 123,
  "type": "<string>",
  "contract_id": "<string>",
  "is_archived": true,
  "billing_period": 123,
  "refusal_reason": "<string>",
  "customer": {
    "name": "<string>",
    "phone": "<string>",
    "email": "<string>"
  },
  "quote_items": [
    {
      "id": "<string>",
      "quote_id": "<string>",
      "item_type": "<string>",
      "description": "<string>",
      "quantity": 123,
      "amount_ht": 123,
      "total_ht": 123,
      "unit": "<string>",
      "unit_id": "<string>",
      "product_id": "<string>",
      "size": 123,
      "discount_duration": 123,
      "zone_id": "<string>",
      "is_option": true,
      "order": 123,
      "surface_id": "<string>",
      "one_time": true,
      "type": "<string>",
      "discountType": "<string>",
      "discountValue": 123,
      "discountAmount": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Quote ID

Response

Quote details

Full quote details for single quote response

id
string
created_at
string<date-time>
quote_number
string | null
customer_id
string | null
total_amount
number | null
sub_total_amount
number | null
expiration_date
string | null
status
string | null
sent_email
boolean | null
payment_method
string | null
payment_terms
string | null
deposit
number | null
type
string | null
contract_id
string | null
is_archived
boolean | null
billing_period
number | null
refusal_reason
string | null
customer
object
quote_items
object[]