---
title: "Create partial sales order"
method: PATCH
path: "/api/v1/salesOrders/{id}/actions/createPartialSalesOrder"
tags: ["Sales Order"]
---

# Create partial sales order

`PATCH /api/v1/salesOrders/{id}/actions/createPartialSalesOrder`

This endpoint creates a partial delivery sales order for an existing sales order. The partial delivery sales order will be copied from the existing sales order without any positions and gets linked as partial delivery sales order. Adding positions to the partial delivery sales order needs to be done by using the Update existing sales order endpoint. Please pay attention to remove the positions in the original sales order or to adjust the quantities if you do not fully transfer the whole position to the partial delivery sales order.

## Path parameters

- `id` string, required — Resource identifier.

## Response `201`

Resource successfully created response

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `409` — Request conflict with the current state of the target resource
- `429` — Too many API calls made.

---

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