- Overview
- Getting Started
- Common Errors
- API
- Config
- Product
- Product Inventory
- Order
- Shipment
- Shipment Inbound
- Courier
- Address Directory
- Status
- Webhooks
List vendor
Developing
GET
/api/v1/public/vendors/list
Last modified:2024-08-08 03:29:29
Request
Query Params
page
string
optional
Example:
1
page_size
string
optional
Example:
5
Header Params
Authorization
string
optional
Default:
6pGkII/faXeTxkNR1wOXRKZniSG25HgtPoDr3dLcuAcegBUKinCDkkdpxeSULdtPE0I7P8nM7dWTPRUyhzgtvQ==
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://stg-oms.nandh.vn/api/v1/public/vendors/list?page=1&page_size=5' \
--header 'Authorization: 6pGkII/faXeTxkNR1wOXRKZniSG25HgtPoDr3dLcuAcegBUKinCDkkdpxeSULdtPE0I7P8nM7dWTPRUyhzgtvQ=='
Responses
🟢200OK
application/json
Body
status_code
integer
required
data
array [object {17}]
required
id
integer
required
country
string
required
name
string
required
email
string
required
phone
string
required
website
string
required
vendor_type
string
required
logo
null
required
is_delete
boolean
required
is_active
boolean
required
created_time
integer
required
updated_time
integer
required
user
integer
required
business
integer
required
store
null
required
vendor_type_display
string
required
vendor_info
object
required
error
boolean
required
error_code
null
required
log_id
null
required
messages
string
required
total
integer
required
Example
{
"status_code": 0,
"data": [
{
"id": 0,
"country": "string",
"name": "string",
"email": "string",
"phone": "string",
"website": "string",
"vendor_type": "string",
"logo": null,
"is_delete": true,
"is_active": true,
"created_time": 0,
"updated_time": 0,
"user": 0,
"business": 0,
"store": null,
"vendor_type_display": "string",
"vendor_info": {
"address": "string",
"tax_code": "string",
"zipcode": "string",
"vendor": 0
}
}
],
"error": true,
"error_code": null,
"log_id": null,
"messages": "string",
"total": 0
}
Modified at 2024-08-08 03:29:29