> For the complete documentation index, see [llms.txt](https://docs.lionparcel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lionparcel.com/release-note/news-and-update/5-march-2026.md).

# 5 March 2026

**API Create shipment & booking: Add Validation Max & Min Price**\\

Endpoint:

<https://api-middleware.lionparcel.com/v2/client/shipment/create>\
<https://api-middleware.lionparcel.com/client/booking>\
<https://api-middleware.lionparcel.com/cbp/booking>\
<https://api-middleware.lionparcel.com/pos/booking>

Parameter

shipment/create

| "price": |
| -------- |

client/booking

| "stt\_goods\_estimate\_price": |
| ------------------------------ |

**Functional Enhancement**

**Penambahan Validasi Harga**

Sistem akan melakukan validasi terhadap nilai harga yang dikirim client sebelum diproses.\
Default Configuration

| Parameter     | Default Value |
| ------------- | ------------- |
| Minimum Price | 1             |
| Maximum Price | 1,000,000,000 |

#### Configurable Validation (Per Client)

Untuk client tertentu, sistem dapat mengatur:

* Custom Maximum Price
* Custom Minimum Price

Konfigurasi ini bersifat whitelist / unleash config.

**Full payload /v2/client/shipment/create**

| <p>{</p><p>    "shipment\_type": "DROPOFF",</p><p>    "service\_code": "REGPACK",</p><p>    "order\_id": "",</p><p>    "sender": {</p><p>        "name": "Agnes Sender",</p><p>        "phone": "822564308",</p><p>        "address": "Jl. Kedoya Raya No 89, Kebon Jeruk, Jakarta Barat",</p><p>        "post\_code": "11520",</p><p>        "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>        "email": "<yusuf.pangaribuan@thelionparcel.com>",</p><p>        "geoloc": "-6.298034, 106.803969"</p><p>    },</p><p>    "receiver": {</p><p>        "name": "Agnes Receiver",</p><p>        "phone": "0823059587",</p><p>        "address": "Jl. Palmerah Raya No. 5, Kebon Jeruk, Jakarta Barat",</p><p>        "destination": "ANDIR, BANDUNG",</p><p>        "post\_code": "333333",</p><p>        "email": "<yusuf.pangaribuan@thelionparcel.com>",</p><p>        "geoloc": "-6.298034, 106.803969"</p><p>    },</p><p>    "detail": {</p><p>        "use\_insurance": true,</p><p>        "invoice\_no": "INV/STG/MAR/042",</p><p>        "commodity": "ABON",</p><p>        "is\_cod": false,</p><p>        "is\_dfod": false,</p><p>        "cod\_value": 0,</p><p>        "items": \[</p><p>            {</p><p>                "weight": 2500,</p><p>                "name": "Barang Hello, World!",</p><p>                "currency": "IDR",</p><p>                "price": 1000000000,</p><p>                "height": 10,</p><p>                "width": 20,</p><p>                "length": 30</p><p>            }</p><p>        ]</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ],</p><p>    "interpack\_document": {</p><p>        "cipls": \[        </p><p>            </p><p>            {</p><p>                "commodity\_name": "GEN",</p><p>                "item\_detail": "Electronics",</p><p>                "quantity": 1,</p><p>                "item\_price": 100000</p><p>            }</p><p>        ],</p><p>        "recipient\_email": "<tester@gmail.com>",</p><p>        "recipient\_identity\_number": "327354282918431",</p><p>        "recipient\_tax\_number": "3213131321321321",</p><p>        "identity\_card\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>",</p><p>        "tax\_number\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>",</p><p>        "package\_before\_packing\_file": "<https://dummyimage.com/2000x3000/000000/ffffff.jpg>",</p><p>        "package\_after\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>"</p><p>    }</p><p>}</p> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons success

| <p>{</p><p>    "success": true,</p><p>    "code": 200,</p><p>    "message": "Success create shipment",</p><p>    "data": {</p><p>        "invoice\_no": "INV/STG/MAR/042",</p><p>        "shipment\_id": "C2THBMCB"</p><p>    }</p><p>}</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons error

| <p>{</p><p>    "success": false,</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Invalid price. Minimum price is 1",</p><p>        "id": "Harga tidak valid. minimal harga adalah 1"</p><p>    }</p><p>}</p><p><br></p><p>{</p><p>    "success": false,</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Price must be less than or equal to 1000000000",</p><p>        "id": "Harga harus kurang dari atau sama dengan 1000000000"</p><p>    }</p><p>}</p><p><br></p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

**Full payload /client/booking**

| <p>{</p><p>    "stt": {</p><p>        "stt\_no": "",</p><p>        "stt\_no\_ref\_external": "",</p><p>        "stt\_tax\_number": "",</p><p>        "stt\_goods\_estimate\_price": 1000000000,</p><p>        "stt\_goods\_status": "",</p><p>        "stt\_origin": "KEBON JERUK, JAKARTA BARAT",</p><p>        "stt\_destination": "SINGAPORE",</p><p>        "stt\_sender\_name": "tthesxnuek",</p><p>        "stt\_sender\_phone": "8999999999",</p><p>        "stt\_sender\_address": " jl. xxxxxxxxxxxxxxxxxxxx123",</p><p>        "stt\_recipient\_name": "t@@@",</p><p>        "stt\_recipient\_address": "jl. xxxxxxxxxxxxxxxxxxxxxx 456",</p><p>        "stt\_recipient\_phone": "897777777777",</p><p>        "stt\_insurance\_type": "free",</p><p>        "stt\_product\_type": "INTERPACK",</p><p>        "stt\_commodity\_code": "ABR036",</p><p>        "stt\_is\_cod": false,</p><p>        "stt\_is\_woodpacking": false,</p><p>        "stt\_pieces": \[</p><p>            {</p><p>                "stt\_piece\_length": 10,</p><p>                "stt\_piece\_width": 10,</p><p>                "stt\_piece\_height": 10,</p><p>                "stt\_piece\_gross\_weight": 1</p><p>            }</p><p>        ],</p><p>        "stt\_piece\_per\_pack": 0,</p><p>        "stt\_next\_commodity": "",</p><p>        "stt\_cod\_amount": 0,</p><p>        "interpack\_document": {</p><p>            "cipls": \[</p><p>                {</p><p>                    "commodity\_name": "ABR036",</p><p>                    "item\_detail": "Electronics",</p><p>                    "quantity": 1,</p><p>                    "item\_price": 100000</p><p>                }</p><p>            ],</p><p>            "recipient\_email": "<tester@gmail.com>",</p><p>            "recipient\_identity\_number": "321321313213213",</p><p>            "recipient\_tax\_number": "3213131321321321",</p><p>            "identity\_card\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>",</p><p>            "tax\_number\_file": "<https://dummyimage.com/2000x3000/000000/ffffff.jpg>",</p><p>            "package\_before\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_after\_packing\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>"</p><p>        }</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ]</p><p>}</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons success

| <p>{</p><p>    "success": true,</p><p>    "code": 201,</p><p>    "message": {</p><p>        "en": "",</p><p>        "id": ""</p><p>    },</p><p>    "data": {</p><p>        "stt": \[</p><p>            {</p><p>                "stt\_no": "99LP1772610634447",</p><p>                "stt\_id": 1573091,</p><p>                "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>                "destination": "SINGAPORE",</p><p>                "origin\_code": "CGK",</p><p>                "destination\_code": "SIN",</p><p>                "ursa\_code\_destination": "SING1"</p><p>            }</p><p>        ]</p><p>    }</p><p>}</p> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons error

| <p>{</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Invalid price. Minimum price is 1",</p><p>        "id": "Harga tidak valid. minimal harga adalah 1"</p><p>    }</p><p>}</p><p><br></p><p>{</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Maximum goods price Rp1,000,000,000",</p><p>        "id": "Maksimal Harga barang Rp1,000,000,000"</p><p>    }</p><p>}</p><p><br></p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Full payload /cbp/booking

| <p>{</p><p>    "stt": {</p><p>        "stt\_no\_ref\_external": "",</p><p>        "stt\_goods\_estimate\_price": 1000000000,</p><p>        "stt\_goods\_status": "ecommerce",</p><p>        "stt\_origin": "KEBON JERUK, JAKARTA BARAT",</p><p>        "stt\_destination": "KEBON JERUK, JAKARTA BARAT",</p><p>        "stt\_sender\_name": "Liona",</p><p>        "stt\_sender\_phone": "+6289737373722",</p><p>        "stt\_sender\_address": "Jl. West Ham City No.90",</p><p>        "stt\_recipient\_name": "LIO LIO",</p><p>        "stt\_recipient\_address": "Jl. East King Manchester No.89",</p><p>        "stt\_recipient\_phone": "+628992323221",</p><p>        "stt\_insurance\_type": "free",</p><p>        "stt\_product\_type": "REGPACK",</p><p>        "stt\_commodity\_code": "ABR036",</p><p>        "stt\_is\_cod": false,</p><p>        "stt\_is\_dfod": false,</p><p>        "stt\_is\_woodpacking": false,</p><p>        "stt\_pieces": \[</p><p>            {</p><p>                "stt\_piece\_length": 10,</p><p>                "stt\_piece\_width": 10,</p><p>                "stt\_piece\_height": 10,</p><p>                "stt\_piece\_gross\_weight": 1</p><p>            }</p><p>        ],</p><p>        "stt\_piece\_per\_pack": 0,</p><p>        "stt\_next\_commodity": "",</p><p>        "stt\_cod\_amount": 0,</p><p>        "interpack\_document": {</p><p>            "cipls": \[</p><p>                {</p><p>                    "commodity\_name": "ABR036",</p><p>                    "item\_detail": "Electronics",</p><p>                    "quantity": 1,</p><p>                    "item\_price": 100000</p><p>                }</p><p>            ],</p><p>            "recipient\_email": "<tester@gmail.com>",</p><p>            "recipient\_identity\_number": "321321313213213",</p><p>            "recipient\_tax\_number": "3213131321321321",</p><p>            "identity\_card\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "tax\_number\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_before\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_after\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>"</p><p>        }</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "Variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ]</p><p>}</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons success

| <p>{</p><p>    "success": true,</p><p>    "code": 201,</p><p>    "message": {</p><p>        "en": "",</p><p>        "id": ""</p><p>    },</p><p>    "data": {</p><p>        "stt": \[</p><p>            {</p><p>                "stt\_no": "19LP1772611027780",</p><p>                "stt\_id": 1573114,</p><p>                "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>                "destination": "KEBON JERUK, JAKARTA BARAT",</p><p>                "origin\_code": "CGK",</p><p>                "destination\_code": "CGK",</p><p>                "ursa\_code\_destination": "KDY01"</p><p>            }</p><p>        ]</p><p>    }</p><p>}</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons error

| <p>{</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Minimum goods price Rp1",</p><p>        "id": "Minimal Harga barang Rp1"</p><p>    }</p><p>}</p><p><br></p><p>{</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Maximum goods price Rp1,000,000,000",</p><p>        "id": "Maksimal Harga barang Rp1,000,000,000"</p><p>    }</p><p>}</p><p><br></p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Full payload /pos/booking

| <p>{</p><p>    "stt": {</p><p>         "stt\_no": "",</p><p>         "stt\_no\_ref\_external": "", </p><p>         "stt\_tax\_number": "", </p><p>         "stt\_goods\_estimate\_price": 1,</p><p>         "stt\_goods\_status": "",</p><p>         "stt\_origin": "KEBON JERUK, JAKARTA BARAT",</p><p>         "stt\_destination": "KEBON JERUK, JAKARTA BARAT",</p><p>         "stt\_sender\_name": "Liona",</p><p>         "stt\_sender\_phone": "628932039021",</p><p>         "stt\_sender\_address": "Jl. Liverpool City No. 0092",</p><p>         "stt\_recipient\_name": "LIO LIO",</p><p>         "stt\_recipient\_address": "Jl. Manchester United , Kecamatan. King no.1",</p><p>         "stt\_recipient\_phone": "62893203901",</p><p>         "stt\_insurance\_type": "free",</p><p>         "stt\_product\_type": "REGPACK",</p><p>         "stt\_commodity\_code": "ABR036",</p><p>         "stt\_is\_cod": false,</p><p>         "stt\_is\_dfod": false,</p><p>         "stt\_is\_woodpacking": false,</p><p>         "stt\_pieces": \[</p><p>             {</p><p>                 "stt\_piece\_length": 30,</p><p>                 "stt\_piece\_width": 20,</p><p>                 "stt\_piece\_height": 10,</p><p>                 "stt\_piece\_gross\_weight":1</p><p>             }</p><p>         ],</p><p>         "stt\_piece\_per\_pack": 0,</p><p>         "stt\_next\_commodity": "",</p><p>          "stt\_cod\_amount": 0,</p><p>        "interpack\_document": {</p><p>            "cipls": \[</p><p>                {</p><p>                    "commodity\_name": "ABR036",</p><p>                    "item\_detail": "Electronics",</p><p>                    "quantity": 1,</p><p>                    "item\_price": 100000</p><p>                }</p><p>            ],</p><p>            "recipient\_email": "<tester@gmail.com>",</p><p>            "recipient\_identity\_number": "321321313213213",</p><p>            "recipient\_tax\_number": "3213131321321321",</p><p>            "identity\_card\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "tax\_number\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_before\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_after\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>"</p><p>        }</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "Variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ]</p><p>}</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons success

| <p>{</p><p>    "success": true,</p><p>    "code": 201,</p><p>    "message": {</p><p>        "en": "",</p><p>        "id": ""</p><p>    },</p><p>    "data": {</p><p>        "stt": \[</p><p>            {</p><p>                "stt\_no": "11LP1772610325860",</p><p>                "stt\_id": 1573070,</p><p>                "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>                "destination": "KEBON JERUK, JAKARTA BARAT",</p><p>                "origin\_code": "CGK",</p><p>                "destination\_code": "CGK",</p><p>                "ursa\_code\_destination": "KDY01"</p><p>            }</p><p>        ]</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

Respons error

| <p>{</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Minimum goods price Rp1",</p><p>        "id": "Minimal Harga barang Rp1"</p><p>    }</p><p>}</p><p><br></p><p>{</p><p>    "code": 400,</p><p>    "message": {</p><p>        "en": "Maximum goods price Rp1,000,000,000",</p><p>        "id": "Maksimal Harga barang Rp1,000,000,000"</p><p>    }</p><p>}</p><p><br></p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

API Tracking & webhook: New Parameter “stt\_master” <br>
--------------------------------------------------------

Objective

Memastikan setiap response tracking (API & webhook) selalu menyertakan informasi STT master / STT pertama (main STT) pada seluruh history journey, termasuk untuk tipe journey baru.

Tujuan:

* Mempermudah client mengidentifikasi master shipment
* Menghindari kebingungan saat terjadi split / relabel / new journey type
* Menjaga konsistensi referensi tracking

Impacted Services

* API Tracking v1 <https://api-middleware.lionparcel.com/client/shipment/tracking/>&#x20;
* API Tracking v3 <https://api-middleware.lionparcel.com/v3/stt/track?q=>&#x20;
* Webhook Tracking untuk client

**Functional Enhancement**

field baru:

| stt\_master |
| ----------- |

Deskripsi:

* API Tracking : stt\_master akan muncul dari status BKD pertama dengan journey type = “ “ sampai dengan status terakhir dari STT/AWB di setiap row history
* Webhook : “stt\_master” hanya akan muncul pada journey type “reroute” and “return”

API Tracking

| <p>{</p><p>    "row": 14,</p><p>    "datetime": "2025-02-18T14:11:06+07:00",</p><p>    "status\_code": "MISBOOKING",</p><p>    "current\_status": "MISBOOKING",</p><p>    "location": "CGK",</p><p>    "city": "JAKARTA",</p><p>    "remarks": "TERJADI KESALAHAN PADA PAKETMU SAAT DIPROSES AGEN.",</p><p>    "attachment": \[],</p><p>    "updated\_by": "SYARQI.CONS.CGK",</p><p>    "updated\_on": "2025-02-18T14:11:06+07:00",</p><p>    "stt\_journey\_type": "return",</p><p>    "stt\_master": "88LP1739861960665", // new</p><p>    "ref\_stt\_number": "88LP1739861960665",</p><p>    "shipment\_id": "C1OIZPBA",</p><p>    "total\_tariff": 0,</p><p>    "reason": "",</p><p>    "problem\_reason\_code": "",</p><p>    "chargeable\_weight": 1,</p><p>    "pieces": 1,</p><p>    "proof": {</p><p>        "attachment\_signed": \[],</p><p>        "latitude": 0,</p><p>        "longitude": 0,</p><p>        "relation": "",</p><p>        "name": ""</p><p>    }</p><p>}</p><p><br></p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Webhook

| <p>{</p><p>  "stt\_no": "78LP1755847627985",</p><p>  "stt\_master" : "88LP1755847228344" // new</p><p>  "sender": {</p><p>    "name": "TESTING HELPDESK",</p><p>    "address": "JL. TESTING PEMBUATAN RESI",</p><p>    "phone": "6285700411293"</p><p>  },</p><p><br></p><p>  "recipient": {</p><p>    "name": "testing helpdesk 77",</p><p>    "address": "JL> TESTING < JANGAN DI PICKUP",</p><p>    "phone": "62857004112931"</p><p>  }, ...</p><p>}</p><p><br><br></p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Penambahan parameter variant pada product information <br>
----------------------------------------------------------

Endpoint:

<https://api-middleware.lionparcel.com/v2/client/shipment/create>\
<https://api-middleware.lionparcel.com/client/booking>\
<https://api-middleware.lionparcel.com/cbp/booking> \
<https://api-middleware.lionparcel.com/pos/booking>&#x20;

Scope Enhancement:

* Menampilkan informasi produk di label
* Membatasi jumlah produk dalam 1 request
* Menambahkan validasi untuk menjaga kualitas input
* Mendukung informasi variasi produk (warna, ukuran, tipe, dll)

Aturan Validasi (per 29 Januari):

* maximum product creation in API is : 7
* Jika product / stt\_products tidak dikirim → request tetap diproses
* Jika variant tidak dikirim → nilai dianggap null
* Jika produk dikirim → informasi akan muncul di label

**Spesifikasi Parameter**&#x20;

| Field   | Type    | Required | Validation              |
| ------- | ------- | -------- | ----------------------- |
| name    | string  | Optional | min 1 char, max 50 char |
| variant | string  | Optional | min 1 char, max 50 char |
| qty     | integer | Optional | Minimal 1 - no max      |

\
New parameter /v2/client/shipment/create

| <p>"product" : \[</p><p>{</p><p>  "name" : "Kerudung",</p><p>  "variant" : "Merah",</p><p>  "qty" : 2</p><p>}</p><p>]</p> |
| ------------------------------------------------------------------------------------------------------------------------- |

New parameter client/booking

| <p>"stt\_products" : \[</p><p>{</p><p>  “Name” : "Kerudung" , </p><p>  "variant" : "Merah" , //new</p><p>  “qty” : 2</p><p>}</p><p>]</p> |
| ---------------------------------------------------------------------------------------------------------------------------------------- |

Payload /v2/client/shipment/create

| <p>{</p><p>    "shipment\_type": "PICKUP",</p><p>    "service\_code": "INTERPACK",</p><p>    "order\_id": "SPYFR03",</p><p>    "sender": {</p><p>        "name": "Agnes Sender",</p><p>        "phone": "822564308",</p><p>        "address": "Jl. Kedoya Raya No 89, Kebon Jeruk, Jakarta Barat",</p><p>        "post\_code": "11520",</p><p>        "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>        "email": "<yusuf.pangaribuan@thelionparcel.com>",</p><p>        "geoloc": "-6.298034, 106.803969"</p><p>    },</p><p>    "receiver": {</p><p>        "name": "Agnes Receiver",</p><p>        "phone": "0823059587",</p><p>        "address": "Jl. Palmerah Raya No. 5, Kebon Jeruk, Jakarta Barat",</p><p>        "destination": "SINGAPORE",</p><p>        "post\_code": "333333",</p><p>        "email": "<yusuf.pangaribuan@thelionparcel.com>",</p><p>        "geoloc": "-6.298034, 106.803969"</p><p>    },</p><p>    "detail": {</p><p>        "use\_insurance": true,</p><p>        "invoice\_no": "FL-2026200312",</p><p>        "commodity": "ABON",</p><p>        "is\_cod": false,</p><p>        "is\_dfod": false,</p><p>        "cod\_value": 100000,</p><p>        "items": \[</p><p>            {</p><p>                "weight": 2500,</p><p>                "name": "Barang Hello, World!",</p><p>                "currency": "IDR",</p><p>                "price": 100000,</p><p>                "height": 10,</p><p>                "width": 20,</p><p>                "length": 30</p><p>            }</p><p>        ]</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "variant" : "Merah" ,</p><p>            "qty": 1</p><p>        }</p><p>    ],</p><p>    "interpack\_document": {</p><p>        "cipls": \[        </p><p>            </p><p>            {</p><p>                "commodity\_name": "GEN",</p><p>                "item\_detail": "Electronics",</p><p>                "quantity": 1,</p><p>                "item\_price": 100000</p><p>            }</p><p>        ],</p><p>        "recipient\_email": "<tester@gmail.com>",</p><p>        "recipient\_identity\_number": "327354282918431",</p><p>        "recipient\_tax\_number": "3213131321321321",</p><p>        "identity\_card\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>",</p><p>        "tax\_number\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>",</p><p>        "package\_before\_packing\_file": "<https://dummyimage.com/2000x3000/000000/ffffff.jpg>",</p><p>        "package\_after\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>"</p><p>    }</p><p>}</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

Respons&#x20;

| <p>{</p><p>    "success": true,</p><p>    "code": 200,</p><p>    "message": "Success create shipment",</p><p>    "data": {</p><p>        "invoice\_no": "INV/STG/MAR/04",</p><p>        "shipment\_id": "C2OCYQLS"</p><p>    }</p><p>}</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

Payload /client/booking

| <p>{</p><p>    "stt": {</p><p>        "stt\_no": "",</p><p>        "stt\_no\_ref\_external": "",</p><p>        "stt\_tax\_number": "",</p><p>        "stt\_goods\_estimate\_price": 100000,</p><p>        "stt\_goods\_status": "",</p><p>        "stt\_origin": "KEBON JERUK, JAKARTA BARAT",</p><p>        "stt\_destination": "SINGAPORE",</p><p>        "stt\_sender\_name": "tthesxnuek",</p><p>        "stt\_sender\_phone": "8999999999",</p><p>        "stt\_sender\_address": " jl. xxxxxxxxxxxxxxxxxxxx123",</p><p>        "stt\_recipient\_name": "t@@@",</p><p>        "stt\_recipient\_address": "jl. xxxxxxxxxxxxxxxxxxxxxx 456",</p><p>        "stt\_recipient\_phone": "897777777777",</p><p>        "stt\_insurance\_type": "free",</p><p>        "stt\_product\_type": "INTERPACK",</p><p>        "stt\_commodity\_code": "ABR036",</p><p>        "stt\_is\_cod": false,</p><p>        "stt\_is\_woodpacking": false,</p><p>        "stt\_pieces": \[</p><p>            {</p><p>                "stt\_piece\_length": 10,</p><p>                "stt\_piece\_width": 10,</p><p>                "stt\_piece\_height": 10,</p><p>                "stt\_piece\_gross\_weight": 1</p><p>            }</p><p>        ],</p><p>        "stt\_piece\_per\_pack": 0,</p><p>        "stt\_next\_commodity": "",</p><p>        "stt\_cod\_amount": 0,</p><p>        "interpack\_document": {</p><p>            "cipls": \[</p><p>                {</p><p>                    "commodity\_name": "ABR036",</p><p>                    "item\_detail": "Electronics",</p><p>                    "quantity": 1,</p><p>                    "item\_price": 100000</p><p>                }</p><p>            ],</p><p>            "recipient\_email": "<tester@gmail.com>",</p><p>            "recipient\_identity\_number": "321321313213213",</p><p>            "recipient\_tax\_number": "3213131321321321",</p><p>            "identity\_card\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>",</p><p>            "tax\_number\_file": "<https://dummyimage.com/2000x3000/000000/ffffff.jpg>",</p><p>            "package\_before\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_after\_packing\_file": "<https://dummyimage.com/100x300/000000/ffffff.jpg>"</p><p>        }</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ]</p><p>}</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons&#x20;

| <p>{</p><p>    "success": true,</p><p>    "code": 201,</p><p>    "message": {</p><p>        "en": "",</p><p>        "id": ""</p><p>    },</p><p>    "data": {</p><p>        "stt": \[</p><p>            {</p><p>                "stt\_no": "99LP1772610067265",</p><p>                "stt\_id": 1573054,</p><p>                "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>                "destination": "SINGAPORE",</p><p>                "origin\_code": "CGK",</p><p>                "destination\_code": "SIN",</p><p>                "ursa\_code\_destination": "SING1"</p><p>            }</p><p>        ]</p><p>    }</p><p>}</p> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Payload /cbp/booking

| <p>{</p><p>    "stt": {</p><p>        "stt\_no\_ref\_external": "",</p><p>        "stt\_goods\_estimate\_price": 1000000000,</p><p>        "stt\_goods\_status": "ecommerce",</p><p>        "stt\_origin": "KEBON JERUK, JAKARTA BARAT",</p><p>        "stt\_destination": "KEBON JERUK, JAKARTA BARAT",</p><p>        "stt\_sender\_name": "Liona",</p><p>        "stt\_sender\_phone": "+6289737373722",</p><p>        "stt\_sender\_address": "Jl. West Ham City No.90",</p><p>        "stt\_recipient\_name": "LIO LIO",</p><p>        "stt\_recipient\_address": "Jl. East King Manchester No.89",</p><p>        "stt\_recipient\_phone": "+628992323221",</p><p>        "stt\_insurance\_type": "free",</p><p>        "stt\_product\_type": "REGPACK",</p><p>        "stt\_commodity\_code": "ABR036",</p><p>        "stt\_is\_cod": false,</p><p>        "stt\_is\_dfod": false,</p><p>        "stt\_is\_woodpacking": false,</p><p>        "stt\_pieces": \[</p><p>            {</p><p>                "stt\_piece\_length": 10,</p><p>                "stt\_piece\_width": 10,</p><p>                "stt\_piece\_height": 10,</p><p>                "stt\_piece\_gross\_weight": 1</p><p>            }</p><p>        ],</p><p>        "stt\_piece\_per\_pack": 0,</p><p>        "stt\_next\_commodity": "",</p><p>        "stt\_cod\_amount": 0,</p><p>        "interpack\_document": {</p><p>            "cipls": \[</p><p>                {</p><p>                    "commodity\_name": "ABR036",</p><p>                    "item\_detail": "Electronics",</p><p>                    "quantity": 1,</p><p>                    "item\_price": 100000</p><p>                }</p><p>            ],</p><p>            "recipient\_email": "<tester@gmail.com>",</p><p>            "recipient\_identity\_number": "321321313213213",</p><p>            "recipient\_tax\_number": "3213131321321321",</p><p>            "identity\_card\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "tax\_number\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_before\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_after\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>"</p><p>        }</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "Variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ]</p><p>}</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons&#x20;

| <p>{</p><p>    "success": true,</p><p>    "code": 201,</p><p>    "message": {</p><p>        "en": "",</p><p>        "id": ""</p><p>    },</p><p>    "data": {</p><p>        "stt": \[</p><p>            {</p><p>                "stt\_no": "19LP1772610208094",</p><p>                "stt\_id": 1573060,</p><p>                "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>                "destination": "KEBON JERUK, JAKARTA BARAT",</p><p>                "origin\_code": "CGK",</p><p>                "destination\_code": "CGK",</p><p>                "ursa\_code\_destination": "KDY01"</p><p>            }</p><p>        ]</p><p>    }</p><p>}</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Payload /pos/booking

| <p>{</p><p>    "stt": {</p><p>         "stt\_no": "",</p><p>         "stt\_no\_ref\_external": "", </p><p>         "stt\_tax\_number": "", </p><p>         "stt\_goods\_estimate\_price": 0,</p><p>         "stt\_goods\_status": "",</p><p>         "stt\_origin": "KEBON JERUK, JAKARTA BARAT",</p><p>         "stt\_destination": "KEBON JERUK, JAKARTA BARAT",</p><p>         "stt\_sender\_name": "Liona",</p><p>         "stt\_sender\_phone": "628932039021",</p><p>         "stt\_sender\_address": "Jl. Liverpool City No. 0092",</p><p>         "stt\_recipient\_name": "LIO LIO",</p><p>         "stt\_recipient\_address": "Jl. Manchester United , Kecamatan. King no.1",</p><p>         "stt\_recipient\_phone": "62893203901",</p><p>         "stt\_insurance\_type": "free",</p><p>         "stt\_product\_type": "REGPACK",</p><p>         "stt\_commodity\_code": "ABR036",</p><p>         "stt\_is\_cod": false,</p><p>         "stt\_is\_dfod": false,</p><p>         "stt\_is\_woodpacking": false,</p><p>         "stt\_pieces": \[</p><p>             {</p><p>                 "stt\_piece\_length": 30,</p><p>                 "stt\_piece\_width": 20,</p><p>                 "stt\_piece\_height": 10,</p><p>                 "stt\_piece\_gross\_weight":1</p><p>             }</p><p>         ],</p><p>         "stt\_piece\_per\_pack": 0,</p><p>         "stt\_next\_commodity": "",</p><p>          "stt\_cod\_amount": 0,</p><p>        "interpack\_document": {</p><p>            "cipls": \[</p><p>                {</p><p>                    "commodity\_name": "ABR036",</p><p>                    "item\_detail": "Electronics",</p><p>                    "quantity": 1,</p><p>                    "item\_price": 100000</p><p>                }</p><p>            ],</p><p>            "recipient\_email": "<tester@gmail.com>",</p><p>            "recipient\_identity\_number": "321321313213213",</p><p>            "recipient\_tax\_number": "3213131321321321",</p><p>            "identity\_card\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "tax\_number\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_before\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>",</p><p>            "package\_after\_packing\_file": "<https://dummyimage.com/300x300/000000/000000.jpg>"</p><p>        }</p><p>    },</p><p>    "products": \[</p><p>        {</p><p>            "name": "Case HP Iphone",</p><p>            "Variant" : "Merah",</p><p>            "qty": 1</p><p>        }</p><p>    ]</p><p>}</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Respons&#x20;

| <p>{</p><p>    "success": true,</p><p>    "code": 201,</p><p>    "message": {</p><p>        "en": "",</p><p>        "id": ""</p><p>    },</p><p>    "data": {</p><p>        "stt": \[</p><p>            {</p><p>                "stt\_no": "11LP1772610325860",</p><p>                "stt\_id": 1573070,</p><p>                "origin": "KEBON JERUK, JAKARTA BARAT",</p><p>                "destination": "KEBON JERUK, JAKARTA BARAT",</p><p>                "origin\_code": "CGK",</p><p>                "destination\_code": "CGK",</p><p>                "ursa\_code\_destination": "KDY01"</p><p>            }</p><p>        ]</p><p>    }</p><p>}</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lionparcel.com/release-note/news-and-update/5-march-2026.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
