Create order
Staging
Staging
POST
/api/partners/orders
Orders
Request
Authorization
Add parameter in header
Api-Key
Example:
Api-Key: ********************
Header Params
Accept
string
optional
Example:
application/json
Body Params application/json
client_id
integer
optional
first_name
string
optional
last_name
string
optional
email
string
optional
address
string
required
address_details
string
optional
phone
string
required
business_name
string
optional
sku_id
array[integer]
required
devices
array[string]
optional
notes
string
optional
time_windows
array [object {2}]
optional
start_time
string
optional
end_time
string
optional
purchase_order_id
string
optional
Example
{
"client_id": null,
"first_name": "John",
"last_name": "Doe",
"email": "johndoe1@hellotech.com",
"address": "719 Flower St, Los Angeles, CA 90017",
"address_details": "Yellow house",
"phone": "8888888888",
"business_name": "John Doe S/A",
"sku_id": [
10639
],
"devices": [
"iPhone 13"
],
"notes": "This is everything",
"time_windows": [
{
"start_time": "2024-11-03T16:00:00.000Z",
"end_time": "2024-11-03T17:00:00.000Z"
},
{
"start_time": "2024-11-03T17:00:00.000Z",
"end_time": "2024-11-03T18:00:00.000Z"
}
],
"purchase_order_id": "PO-1234"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apis.hellotech.com/api/partners/orders' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": null,
"first_name": "John",
"last_name": "Doe",
"email": "johndoe1@hellotech.com",
"address": "719 Flower St, Los Angeles, CA 90017",
"address_details": "Yellow house",
"phone": "8888888888",
"business_name": "John Doe S/A",
"sku_id": [
10639
],
"devices": [
"iPhone 13"
],
"notes": "This is everything",
"time_windows": [
{
"start_time": "2024-11-03T16:00:00.000Z",
"end_time": "2024-11-03T17:00:00.000Z"
},
{
"start_time": "2024-11-03T17:00:00.000Z",
"end_time": "2024-11-03T18:00:00.000Z"
}
],
"purchase_order_id": "PO-1234"
}'
Responses
🟢200Success
application/json
Body
status
string
required
order
object
required
id
integer
required
status
string
required
client_id
integer
required
client_name
string
required
email
string
required
phone
object
required
address
string
required
service_description
string
required
events
array[string]
required
created_at
object
required
updated_at
object
required
tags
array[string]
required
token
string
required
status_label
string
required
client_city
string
required
client_state
string
required
client_street
string
required
client_zip
string
required
client_availability_ranges
array [object {4}]
required
skus
array [object {5}]
required
finish_order_url
string
required
order_summary_url
string
required
shipping_type
null
required
availability
array [object {2}]
required
consolidated_availability
object
required
appointment_start
null
required
appointment_start_date_time
null
required
Example
{
"order": {
"id": 432873,
"status": "Pending",
"clientName": "Client Name",
"clientCity": "Indianapolis",
"clientState": "IN",
"createdAt": {
"integer": 1728427930,
"iso": "2024-10-08T22:52:10Z",
"isoShort": "2024-10-08T22:52:10"
}
}
}
Modified at 2024-10-15 22:51:11