AI Day to Dusk
Submit an AI Day to Dusk Order
Explanation
This API endpoint allows users to submit new orders within the service-day-to-dusk service.
POST https://api.aihomedesign.com/v1/order
Request Body
Ensure that your request body is in the RAW-JSON format.
The service-day-to-dusk service requires sky style as a mandatory widget. To attach this widget to the request body, include the widget's ID in selected_widgets under id and the selected widget item's ID under item_id.
{
"order_id":string,
"remove_shadow": boolean,
"selected_widgets" :
[
{
"id" : string,
"item_id" : string
}
]
}order_id: This should match theorder_idreturned by the Image Upload API.remove_shadow: This toggle determines whether shadows are removed. Set totrueto remove shadows orfalseto keep them.selected_widgets:id: Retrieve theidforselected_widgetsbased on theservice_namefrom the Get Widgets and Items endpoint.item_id: Retrieve theitem_idfor each widget by using itsidinitemskey from the Get Widget and Items endpoint.


Headers
x-api-key*
{your_api_key_here}
Response
{
"order_id": string,
"image_id": string,
"eta": integer
}Last updated