Update Document
PUT
/api/v2/orders/{tracking_number}/update_document/Modified at: 5 months ago
Request
Path Params
tracking_number
string
required
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
Token {{API_TOKEN}}
Body Params application/json
documents
array [object {3}]
required
document_name
string
required
Doc name like invoice, po, shipping label
quantity
integer
required
Copy
>= 1<= 3
Default:
1
url
string <uri>
required
Require pdf, png type.
Example
{
"documents": [
{
"document_name": "test.jpg",
"quantity": 1,
"url": "https://doccument.com/test.jpg"
},
{
"document_name": "test2.pdf",
"quantity": 2,
"url": "https://doccument.com/test.pdf"
}
]
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
tracking_code
string
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": {
"tracking_code": "string"
},
"error": true,
"error_code": "string",
"messages": "string",
"request_id": "string"
}
Last modified: 5 months ago