update
API related to modification of order information
/Hold : Hold to Order
Pending order information
Body
ModestringOptional
Mode hold : Set as hold status (default) restore : Restore from hold status
RegNoListstring[]Required
Registration number list (Max 100)
TypestringOptional
Order number form regno: Registration number (defult) ordno: Order number devno: Delivery number
IsUnpackagebooleanOptional
Show packaged product list
ApiKeystringRequired
APIKey Test KEY:7abd72462c794016849abe4be
Responses
200
sucess
400
Valid Fail
post
POST /api/v1/invoice/update/hold HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"Mode": "hold",
"RegNoList": [
"TEST20230913-001",
"TEST20230913-002",
"TEST20230913-006"
],
"Type": "ordno",
"ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
"TotalCount": 1,
"SuccessCount": 1,
"FailCount": 1,
"Data": [
"text"
],
"Error": [
{
"RegNo": "text",
"Status": 1,
"StatusDesc": "text"
}
],
"Message": "text",
"Code": 1
}
/ExpDeclInfo : Export declaration information registration
The customer updates the export declaration information for the orders they directly filed with the customs authorities into the invoice table
Body
ApiKeystringRequired
APIKey Test KEY:7abd72462c794016849abe4be
Responses
200
sucess
400
Valid Fail
post
POST /api/v1/invoice/update/exp-decl-info HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 391
{
"DataList": [
{
"RegNo": "SN222529911JP",
"ExpLicenceNo": "14LENGTHSFIXED",
"ExpLicencePCS": 1,
"ExpLicenceWeight": 1.5,
"ExpLicenceDivision": 1
},
{
"RegNo": "SN22252999912JP",
"ExpLicenceNo": "ABCDEFGHIJKLMN",
"ExpLicencePCS": 10,
"ExpLicenceWeight": 1.5,
"ExpLicenceDivision": 0
},
{
"ExpLicenceNo": "AB123SCK56Q",
"ExpLicencePCS": 0,
"ExpLicenceWeight": 0,
"ExpLicenceDivision": 0
}
],
"ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
"TotalCount": 1,
"SuccessCount": 1,
"FailCount": 1,
"Data": [
"text"
],
"Error": [
{
"RegNo": "text",
"Status": 1,
"StatusDesc": "text"
}
],
"Message": "text",
"Code": 1
}
Last updated