---
title: "Add a shipment to a given order"
method: POST
path: "/api/v1/orders/{id}/shipment"
tags: ["Orders"]
---

# Add a shipment to a given order

`POST /api/v1/orders/{id}/shipment`

## Path parameters

- `id` integer, required

## Request body

- RechnungsdruckWebAppControllersApiApiAddShipmentToOrderModel — Data of the shipment to be created
  - `ShippingId` string — The id of the shipment (Sendungsnummer/trackingid)
  - `OrderId` string — Optional a differing order number of the shipment if available
  - `Comment` string — Optional a text stored with the shipment
  - `ShippingProviderId` integer — Optional the id of a shipping provider existing in the billbee account that should be assigned to the shipment
  - `ShippingProviderProductId` integer — Optional the id of a shipping provider product that should be assigend to the shipment
  - `CarrierId` integer — Optional the id of a shipping carrier that should be assigend to the shipment Will override the carrier from the shipment product. Please use the integer value from this Enumeration: {Billbee.Integration.Channel.Model.Enums.ShippingCarrier}
  - `ShipmentType` integer — 0 if Shipment, 1 if Retoure {Billbee.Integration.Channel.Model.Enums.ShipmentTypeEnum}

## Response `200`

OK

- object

---

[API](https://skmtc.dev/billbee/apis/billbee-api.md) · [All operations](https://skmtc.dev/billbee/apis/billbee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/billbee/billbee-api/revisions/e64f07f4f526/schema)
