Order Submit
POST - Submitting order to ASL System
POST - https://portal.asl-asia.cloud:4000/api/order/submitBody
order_id
String
description
String
note
String
service_type
String
Optional. Required service enabled from ASL Admin
tracking_no
String
Optional
is_cod
Boolean
payment_amount
Float (e.g 200.5)
Optional
payment_currency
3-letter (e.g HKD)
Optional
buyer
Object
-- name
String
-- address
String
(Max 35 character)
-- address2
String
Optional
-- zip
String
-- state
String
-- phone
String
-- city
String
String
item_lines
Array
-- description
String
Required if auto-fulfilled
-- sku
String
-- qty
Integer
-- price
Object
Required if auto-fulfilled
---- currency
3 Digit Currency Code
---- amount
Integer
dimension
Object
Optional
Example JSON
Error
ORDER_ALREADY_EXISTS
order_id already used
BODY_MISSING_FIELDS
The required fields from body is missing
BUYER_MISSING_FIELDS
The required fields from body.buyer is missing
COUNTRY_NOT_CORRECT
body.buyer.country is not correct
ITEM_LINES_NOT_CORRECT
item_lines is missing correct fields
Last updated