AI Interior Design

Submit AI Interior Design Order

Explanation

This API endpoint allows users to submit new orders within the service-creative-designer service.


POST https://api.aihomedesign.com/v1/order


Request Body

Ensure that your request body is in RAW-JSON format.

The service-creative-designer requires style as a mandatory widget and color as an optional widget. To include a widget in the request body, set the widget’s id in the id field of selected_widgets and the id of the chosen widget item in the item_id field.

{
    "order_id": string,
    "space_name": string,
    "selected_widgets" : 
    [
        {
            "id" : string,
            "item_id" : string
        }
    ]
}
  • order_id: This should match the order_id returned by the Image Upload API.

  • space_name: Retrieve the space_name using the service_name from the Get Spaces endpoint.

  • selected_widgets:

Headers

Response

{
   "order_id": string,
   "image_id": string,
   "eta": integer
}

Last updated