---
title: "Create Fulfillment"
method: POST
path: "/workspaces/{workspace_id}/fulfillments"
tags: ["Fulfillment"]
---

# Create Fulfillment

`POST /workspaces/{workspace_id}/fulfillments`

Fulfill an order or a part of an order. More information in [our Fulfillments guide](https://developers.myclickfunnels.com/docs/fulfillments).

## Path parameters

- `workspace_id` integer, required

## Request body

- object
  - `fulfillment` FulfillmentParameters — Fulfillments
    - `contact_id` integer, required — The contact that made the order that is being fulfilled.
    - `tracking_url` string, nullable — Tracking URL
    - `shipping_provider` string, nullable — Shipping Provider
    - `tracking_code` string, nullable — Tracking Code
    - `location_id` integer, required — The location that the fulfillment is being fulfilled from
    - `ignore_out_of_stock` boolean — Create a fulfillment despite the item being out of stock.
    - `notify_customer` boolean — Send an email to the customer when the fulfillment is created. Will use workspace default behavior if left unset.
    - `included_orders_invoices_line_items_attributes` object[], required — The orders invoices line items to fulfill as part of this fulfillment.
      - `invoices_line_item_id` integer — The orders invoice line item to fulfill
      - `quantity` integer — The quantity to fulfill

## Response `201`

Created

- FulfillmentAttributes — Fulfillments
  - `id` integer — Fulfillment ID
  - `public_id` string, nullable — The fulfillment ID that would be visible to the customer within the CF app
  - `workspace_id` integer — The workspace that the fulfillment belongs to
  - `contact_id` integer — The contact that made the order that is being fulfilled.
  - `status` 'cancelled' | 'fulfilled' | 'restocked' — The status of the fulfillment
  - `tracking_url` string, nullable — Tracking URL
  - `shipping_provider` string, nullable — Shipping Provider
  - `tracking_code` string, nullable — Tracking Code
  - `location_id` integer — The location that the fulfillment is being fulfilled from
  - `fulfillment_number` integer, nullable — An auto-generated number of the fulfillment
  - `created_at` string, date-time, nullable — Created
  - `updated_at` string, date-time, nullable — Updated
  - `included_invoices_line_items` object[], nullable — Line items that are included in your fulfillment. They reference invoice line items of one or more orders and have extra data about the line item that is being fulfilled like the quantity that is part of this fulfillment.
    - `id` integer — Included orders line item ID
    - `public_id` string, nullable — The public ID of the included order invoices line item
    - `fulfillment_id` integer — Fulfillment ID
    - `quantity` integer — The quantity of the invoices line item subject that is part of this fulfillment. Your stock must have enough quantity for a successful fulfillment.
    - `invoices_line_item_id` integer — The invoice line item of an order that is part of this fulfillment.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/revisions/ae6313eaa176/schema)
