# Preview an order

This method takes in an order that has not yet been placed, and returns information about order pricing and available options

Endpoint: POST /orders/{tenantId}/public/describeProducts
Version: v1-2025-04-18

## Path parameters:

  - `tenantId` (string, required)
    The id of the tenant being accessed

## Request body:

  - `application/json` (unknown)
    The products you want to describe

## Request fields (application/json):

  - `business_unit_id` (string, required)

  - `currency_code` (string)

  - `customer_id` (string)

  - `customer_type` (string)
    Enum: "contact", "organization"

  - `products` (array)

  - `products.id` (string, required)

  - `products.modifier_options` (array)

  - `products.modifier_options.option_id` (string, required)
    The modifier option ID

  - `products.modifier_options.value` (string)
    The value of the option

  - `products.type` (string, required)

  - `products.variant_options` (array)

  - `products.variant_options.option_id` (string, required)
    The variant option ID

  - `products.variant_options.value` (string)
    The value of the option

## Response 200:

  - `200` (unknown)
    The order preview was successful

## Response 200 fields (application/json):

  - `currency_code` (string)
    The currency code used

  - `products` (array)

  - `products.availability` (string)
    Enum: "BACKORDER", "OK", "SOLD_OUT"

  - `products.id` (string, required)

  - `products.ineligible` (boolean)
    Whether the product is ineligible

  - `products.price` (number)

  - `products.type` (string, required)

## Response 200 headers (application/json):

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 400:

  - `400` (unknown)
    The order record you supplied was invalid.

## Response 400 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 404:

  - `404` (unknown)
    The resource could not be found

## Response 404 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 409:

  - `409` (unknown)
    The order could not be saved because it refers to/depends on a non-existent object.

## Response 409 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 429:

  - `429` (unknown)
    Limit exceeded... unable to add order based on tenant limits.

## Response 429 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 500:

  - `500` (unknown)
    General server error

## Response 500 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

