---
title: "Previews the results of a fulfillment plan entry for the given seller"
method: POST
path: "/fulfillmentPlans/{sellerId}/preview"
tags: ["fulfillmentPlans"]
---

# Previews the results of a fulfillment plan entry for the given seller

`POST /fulfillmentPlans/{sellerId}/preview`

ADD ENDPOINT DESCRIPTION HERE

## Path parameters

- `sellerId` integer, required

## Request body

- PreviewRequest
  - `orderId` integer
  - `excludeWhenIds` integer[]
  - `when` PlanWhenPost
    - `type` 'RULE' | 'PRE' | 'POST'
    - `order` integer
    - `sku` string
    - `deliveryCountry` string
    - `scriptedCondition` string
    - `thens` PlanThenPost[]
      - `order` integer
      - `sku` string
      - `quantity` string
      - `warehouse` string
      - `customsValue` string
      - `splitId` string
      - `lot` string
      - `expirationDate` string

## Response `200`

successful operation

- PreviewFulfillmentOrder[]
  - `warehouse` string
  - `positions` PreviewFulfillmentOrderPosition[]
    - `sku` string
    - `warehouseSku` string
    - `quantity` integer
    - `lot` string
    - `customsValue` number
    - `expirationDate` string, date-time

---

[API](https://skmtc.net/writechoiceorg/apis/connector.md) · [All operations](https://skmtc.net/writechoiceorg/apis/connector/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/writechoiceorg/connector/revisions/7ce09a4b2a4e/schema)
