API Docs
Home
Home
Developer GuideAPI
StatusWebhooks
Developer GuideAPI
StatusWebhooks
  1. Shipment
  • Config
    • List Pickup Address
      GET
    • List Box Dimension
      GET
    • List vendor
      GET
    • List store
      GET
  • Online Product
    • Options
      • List category
      • List brand
    • Create Single Product
      POST
    • Create Product From Product Inventory
      POST
    • List product
      GET
    • Product detail
      GET
  • Product Inventory
    • Options
      • List Outbound Strategy
      • List Product Type
      • List Material
      • List Storage Method
    • List product inventory
      GET
    • Product inventory detail
      GET
    • Create single inventory product
      POST
  • Order
    • Shipping Service
      • Preview shipping prices
        • List shipping service
        • List available courier
      • List available courier from order
      • List shipping service of courier
    • Create order B2C
      POST
    • Create order B2B
      POST
    • List order
      GET
    • Order detail
      GET
    • Cancel order
      PATCH
  • Shipment
    • Create shipment auto
      POST
    • [Retail][Ship by self] Create shipment with item
      POST
    • Cancel shipment
      PATCH
    • List shipment
      GET
    • Shipment detail
      GET
    • List shipment of order
      GET
  • Shipment Inbound
    • Create shipment inbound
    • Cancel shipment inbound
    • List shipment inbound
    • Shipment inbound detail
    • Shipment inbound items
  • Order Return
    • List return order
    • Return order detail
    • Create return order
    • Cancel Return Order
  • Courier
    • List courier service integrated
    • List courier operate
    • List courier integrated
  • Address Directory
    • Province
    • District
    • Ward
  1. Shipment

Create shipment auto

POST
/api/v1/public/shipments/create
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/public/shipments/create' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "order_tracking_code": "NHOV1901468283"
}'
Response Response Example
{"status_code":200,"data":{"shipment_id":5858,"tracking_code":"NHSV1905217725"},"error":false,"error_code":null,"log_id":null,"messages":"","total":1}

Request

Header Params
Authorization
string 
required
Default:
{{your_api_key_here}}
Body Params application/json
order_tracking_code
string 
required
Examples

Responses

🟢200OK
application/json
Body
status_code
integer 
required
data
object 
required
shipment_id
integer 
required
tracking_code
string 
required
error
boolean 
required
error_code
null 
optional
log_id
null 
optional
messages
string 
required
total
integer 
required
Previous
Cancel order
Next
[Retail][Ship by self] Create shipment with item
Built with