Share
Explore

Autoquotation

This is the API to perform automatic quotations in One Space. Kindly request your API key once you are ready to start the integration. The parameters are:
name: customer full name
email: customer email
contact_number: customer phone number it needs to be sent with country prefix included +66620230022
building_id: we will provide you a list of building_id for your facilities and you need to send this identifier
unit_type_id: you can find details below
lead_origin: send here where is this request coming from. if you are integrating in website place it as StorHub Web
duration: it should be send in days. If it’s 1 month = 30 days
notes: send here other notes, they will be attached to customer contact. If you have multiple fields concatenate them here: Reasons for storage: home renovation + Notes: I need some pick up service


curl -X 'POST' \ '' \ -H 'accept: */*' \ -H 'x-api-key: YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "email": "string", "contact_number": "string", "buiding_id": int, "unit_type_id": int, "duration": int, "lead_origin": "string", "notes": "string"}'

These are the unit types, you can use the name to display in your form
Unit Types
0
Name
Id
1
XXS
91
2
XS
92
3
S
93
4
M
94
5
L
95
6
XL
96
There are no rows in this table
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.