Retrieving

This API endpoint allows you to retrieve a single order. To retrieve an order, you must provide the order_id.

const orderId = "ID_OF_YOUR_ORDER";

const getOrder = async (orderId) => {
    const getOrderResponse = await fetch(
      `https://api.autoenhance.ai/v3/orders/${orderId}`,
      { method: "GET" }
    );

    const { order_id, name, images, status } = await getOrderResponse.json();
}

The response after successfully fetching an order will contain all the details of your order.

Specification

Retrieve Order

get

Retrieve a specific order. Images can be sorted using the sort_images_by parameter.

Path parameters
idstringRequired
Query parameters
sort_images_byundefined · enumOptional

Specifies sort order for images in the order

Possible values:
Responses
chevron-right
200

Successful response

application/json
get
/v3/orders/{id}

Last updated