Place Order

Creates a new order with product, customer, and shipping details.

POST
/api/v1/device-hub/place-order

Description

Submit an order to deploy IT assets to employees. Specify the products, shipping method, and recipient details to create a new deployment order.

Request

Headers

HeaderValueRequired
Content-Typeapplication/jsonYes

Request Body

FieldTypeRequiredDescription
itemsarrayYesList of products to order
items[].product_titlestringYesExact product title from inventory
items[].quantityintegerYesQuantity to order
emailstringYesCustomer email address
firstnamestringYesCustomer first name
lastnamestringYesCustomer last name
shipping_addressstringYesStreet address for delivery
shipping_citystringYesCity for delivery
shipping_statestringYesState/Province (if applicable)
shipping_zipstringYesPostal/ZIP code
shipping_countrystringYesCountry code (ISO2, e.g., US)
phone_numberstringYesContact number of the recipient
expedite_shippingstring / nullNoShipping method (e.g., "2nd Day Air", "Overnight"). Must match warehouse options.
is_signature_requiredbooleanNoWhether delivery signature is required (US and CA only)

Response Fields

FieldTypeDescription
messagestringConfirmation message
data.order_numberstringUnique order number
data.productsarrayOrdered products with details
data.products[].namestringProduct name
data.products[].qtyintegerQuantity ordered
data.products[].pricenumberUnit price
data.products[].imagestringURL to product image

Error Responses

Common error responses you may encounter when using this endpoint.

Notes

  • The product_title must exactly match the title returned from the Inventory List endpoint
  • If expedite_shipping is specified, it must match one of the shipping options from the warehouse
  • Valid shipping options: "UPS Ground", "2nd Day Air", "Overnight"
  • is_signature_required only applies to US and CA shipments
  • The order_number can be used to track the order status
  • Ensure the shipping_country uses ISO2 country codes (e.g., US, CA, GB)

Related Endpoints

Did this page help you?