1. Shipments
Omisell Developer Portal | API Documentation & Integration Guides
  • Authentication
  • Common Errors
  • Overview
    • Introduction
    • Push Mechanism
    • Status overview
    • Accounting - API Call Flow
    • ERP Integration Flow
    • API Rate Limits
    • Guide: Direct Integration
    • MCP Server
    • Pagination
  • Changelog
    • 🔐 API Security Upgrade
    • Orders
    • Returns Order
    • Products
    • Shipments
    • Push mechanism
  • API Refference
    • Location
      • Get Country List
      • Get Province List By Country
      • Get District List By Province
      • Get SubDistrict List By District
    • Product
      • Get Product Category
      • Get Product List
      • Add Product
      • Get Product Detail
      • Update Product Detail
      • Get Product Detail by SKU
      • Update Product Detail by SKU
    • Inventory
      • Adjust Stock
      • Delisted Stock
      • Adjust Stock(Old)
    • Serial Number
      • Adjust Serial Number
    • Catalogue
      • Get Catalogue List
      • Get Catalogue Detail
    • Orders
      • Get Order List
      • Add Order
      • Update Document Order
      • Get Order Detail
      • Update Order
      • Cancel Order
      • Get Order Finance
      • Get Returns Receiving Note
      • Get Goods Receipts
    • Returns Order
      • Get Returns Order List
      • Add Order Return
      • Get Return Order Detail
    • Shipments
      • Get Shipment List
        GET
      • Add Shipment
        POST
      • Update Document Shipment
        PUT
      • Update Shipment Status
        PUT
      • Get Shipment Detail
        GET
    • Order Dropship
    • Pickup Address
      • Get Pickup List
      • Get WMS Pickup Map
    • Shop
      • Get Shop List
    • Finance
      • Get Order Revenue
      • Get Order Return Revenue
    • Customer
      • Get Customer Review List
    • Public
      • Get Seller by Partner
  • Webhooks
    • Order Status Push
    • Return Order Status Push
    • Shipment Status Push
    • Sale Invoice Request
  • eCommerce Platform
    • PrestaShop
    • Magento
    • Shopify
    • Woocommerce
    • Zalora
  1. Shipments

Update Shipment Status

PUT
/api/v2/public/shipment/{omisell_shipment_number}/update-status
Change the status of a shipment you deliver with your own carrier.
Put the Omisell shipment number in the path: /api/v2/public/shipment/SPPH26102749597323/update-status. Sending it as a query parameter (/shipment/update-status?omisell_shipment_number=...) reaches the read-only shipment detail endpoint instead and returns 405 Method "PUT" not allowed. Use PUT or PATCH; POST is not accepted.
A shipment can be updated only when:
you deliver it with your own carrier (not a marketplace or 3PL carrier);
it is already Shipped (300) or later, and not yet Delivered (800), Returned (600) or Cancelled (700–708);
the new status is an allowed next step from the current one (table below).
Current statusAllowed new status
300 Shipped305, 310, 315, 320, 350, 500, 510, 600, 800
310 In-transit305, 315, 320, 350, 500, 510, 600, 800
315 Fail delivery310, 320, 350, 500, 510, 600, 800
320 Awaiting redelivery310, 350, 500, 510, 600, 800
350 Out for delivery305, 315, 320, 500, 510, 600, 800
500 Awaiting to return310, 510, 600, 800
510 Returning520, 600, 800
520 Fail return510, 600
The response is the updated shipment, in the same shape as Get Shipment Detail.

Request

Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Bodyapplication/json

🟠400Guard rejection
🟠404Shipment not found
🟠405Shipment number missing from the path
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.omisell.com/api/v2/public/shipment//update-status' \
--header 'Authorization: Omi {{Token}}' \
--header 'Authorization: Omi {{Token}}' \
--header 'Seller-ID;' \
--header 'Seller-ID;' \
--header 'Country;' \
--header 'Country;' \
--header 'Content-Type: application/json' \
--data '{
    "status": 800
}'
Response Response Example
200 - Success (the updated shipment)
{
  "data": {
    "cod_amount": 0.0,
    "courier": {
      "name": "Tự vận chuyển",
      "service_code": "OMI_SD",
      "service_name": "Dịch vụ tiêu chuẩn"
    },
    "courier_tracking_number": "585245841906959599",
    "created_time": 1785226453.0,
    "cross_check_by": {
      "id": 421,
      "name": "ZAAQ",
      "logo": "https://storage.googleapis.com/omisell-cloud/logo/courier/custom_carrier.svg"
    },
    "currency": "VND",
    "delivered_time": 1785303310.0,
    "fail_reason": "",
    "fulfilled_time": 1785233156.0,
    "fulfillment_by": "Tự đóng gói",
    "is_fulfilled": true,
    "items": [
      {
        "catalogue_sku": "EH-NA27PN645",
        "inventory_sku": "EH-NA27PN645",
        "esku": "ERP-EH-NA27PN645",
        "product_name": "Máy Sấy Tóc Dưỡng Ẩm Nanoe Panasonic EH-NA27PN645 - Công Suất 1200W - Tay cầm gập dễ mang đi - Hàng Chính Hãng",
        "unit_name": "Hộp",
        "quantity": 1,
        "sale_price": 1702778.0,
        "vendor_pickup_id": "",
        "vendor_pickup_code": null,
        "vendor_name": "Demo Live",
        "vendor_id": null
      }
    ],
    "omisell_order_number": "ODVN260728CB2F8BB3",
    "omisell_shipment_number": "SPVN260728600605E9",
    "order_number": "585245841906959599",
    "pickup": {
      "id": 21,
      "pickup_code": "PK100021",
      "pickup_name": "SDA - Warehouse",
      "address": "Block D - Chung Cư EhomeS - Bình Hưng"
    },
    "receiver": {
      "fullname": "Nguyen Van A",
      "phone": "0900000000",
      "email": "",
      "address": "123 Example Street",
      "subdistrict_name": null,
      "subdistrict_id": null,
      "district_name": "Phường Bình Tân",
      "district_id": 50035,
      "province_name": "TP. Hồ Chí Minh",
      "province_id": 466617,
      "country": "VN"
    },
    "shipment_note": "",
    "shipped_time": 1785233156.0,
    "sla_time": 1785398479.0,
    "status_id": 800,
    "status_name": "Giao hàng thành công",
    "total_amount": 1702778.0,
    "updated_time": 1785303325.0,
    "volume": "10x20x10",
    "weight": 100,
    "wms_order_number": ""
  },
  "error": false,
  "error_code": 200,
  "attr_error": null,
  "messages": "",
  "request_id": "6a7e9da1dc03ba7aa93665ad"
}
Modified at 2026-11-03 04:22:17
Previous
Update Document Shipment
Next
Get Shipment Detail
Built with