---
title: "Add Waybill"
method: POST
path: "/openapi/{version}/customwebstore/orders/waybill/"
tags: ["Custom Webstore (B2C)"]
---

# Add Waybill

`POST /openapi/{version}/customwebstore/orders/waybill/`

## Request

- Base URL: `https://base_url`
- URL: `https://base_url/openapi/{version}/customwebstore/orders/waybill/`
- Auth: none declared. Required headers: `connection-id`

Add Waybill

## Path parameters

- `version` string, required

## Headers

- `connection-id` string, required

## Request body `multipart/form-data`

- CustomWebstoreOrderWaybillRequest
  - `file` string, uri, required: The file to be uploaded as part of the waybill.
  - `unique_order_identifier` string, required: A unique identifier for the order
  - `fulfilment_group_id` string, required: fulfilment group id. example : F01
  - `tracking_number` string, required: The tracking number provided by the shipment carrier for tracking the package.
  - `shipment_provider_name` string, required: The name of the shipping provider (e.g., DHL, Ninjavan, Rida).
  - `tracking_url` string: The URL for tracking the shipment
  - `generate_template_waybill` boolean, nullable: To Generate Dummy waybill based on preconfigured template

## Response `200`

Waybill Added

- EnvelopedCustomWebstoreOrderWaybillResponse
  - `success` boolean
  - `data` CustomWebstoreOrderWaybillResponse, required
    - `waybill_id` integer, required
  - `message` string, required

## Other responses

- `400`: Bad Request - Invalid input.
- `401`: Unauthorized - Invalid or expired credentials.
- `403`: Forbidden - You do not have permission to access this resource.
- `404`: Not Found - The requested resource does not exist.
- `500`: Internal Server Error - Unexpected error occurred.

---

[API](https://skmtc.dev/golocad/apis/locad-api.md) - [All operations](https://skmtc.dev/golocad/apis/locad-api/llms.txt) - [OpenAPI document](https://skmtc.dev/golocad/apis/locad-api/revisions/428200f33a81?raw)
