Update Document
PUT
/api/v2/public/order/update-document
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.omisell.com/api/v2/public/order/update-document' \
--header 'Authorization;' \
--header 'Seller-ID;' \
--header 'Country;' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_number":"O122332",
"omisell_order_number":"OP2323323",
"documents" : [
{
"url" : "https://www.princexml.com/samples/invoice/invoicesample.pdf",
"name" : "invoicesample.pdf",
"copy" : 1,
"doc_type" : 1
}
]
}'
Response Response Example
{
"data": [],
"error": false,
"error_code": 200,
"messages": "Update documents is success",
"request_id": "667cebaa2ec7fcfe0a43da77"
}
Request
Header Params
Content-Type
string
required
Default:
application/json
Authorization
string
required
Default:
Omi {{Token}}
Seller-ID
number
optional
Country
string
optional
Examples:
THVNPHIDMY
Body Params application/json
Responses
Modified at 2024-06-27 09:14:53