- Overview
- Getting Started
- Common Errors
- API
- Config
- Product
- Product Inventory
- Order
- Shipment
- Shipment Inbound
- Courier
- Address Directory
- Status
- Webhooks
List product
Developing
GET
/api/v1/public/products/list
Last modified:2024-08-02 03:26:25
Request
Query Params
page
string
required
Example:
1
page_size
string
required
Example:
5
keyword
string
optional
Example:
null
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/products/list?page=1&page_size=5&keyword=null' \
--header 'Authorization: 6pGkII/faXeTxkNR1wOXRKZniSG25HgtPoDr3dLcuAcegBUKinCDkkdpxeSULdtPE0I7P8nM7dWTPRUyhzgtvQ=='
Responses
🟢200OK
application/json
Body
status_code
integer
required
data
array [object {53}]
required
id
integer
required
country
string
required
currency
string
required
platform
string
required
partner_variant_id
null
required
partner_promotion_id
null
required
partner_inventory_id
null
required
partner_product_id
string | null
required
parent_partner_product_id
null
required
partner_reserved_stock
integer
required
partner_available_stock
integer
required
sku
string
required
name
string
required
image_url
string
required
original_price
string
required
discounted_price
string
required
days_to_ship
integer
required
condition
string
required
wholesale
object
required
tier_index
object
required
status
integer
required
status_update_time
integer
required
weight
integer
required
package_length
integer
required
package_width
integer
required
package_height
integer
required
has_variant
boolean
required
is_dangerous
boolean
required
is_pre_order
boolean
required
is_active
boolean
required
is_delete
boolean
required
created_time
integer
required
updated_time
integer
required
last_sync_time
integer
required
user
integer
required
business
integer
required
parent
null
required
updated_by
integer | null
required
created_by
integer | null
required
store
object
required
product_brand
integer | null
required
product_category
integer | null
required
condition_display
string
required
status_display
string
required
platform_logo
string
required
is_single
boolean
required
is_variant
boolean
required
can_cancel
boolean
required
can_re_sync
boolean
required
can_edit
boolean
required
status_css
string
required
is_bundle
boolean
required
product_variant
array[integer]
required
error
boolean
required
error_code
null
optional
log_id
null
optional
messages
string
required
total
integer
required
Example
{
"status_code": 0,
"data": [
{
"id": 0,
"country": "string",
"currency": "string",
"platform": "string",
"partner_variant_id": null,
"partner_promotion_id": null,
"partner_inventory_id": null,
"partner_product_id": "string",
"parent_partner_product_id": null,
"partner_reserved_stock": 0,
"partner_available_stock": 0,
"sku": "string",
"name": "string",
"image_url": "string",
"original_price": "string",
"discounted_price": "string",
"days_to_ship": 0,
"condition": "string",
"wholesale": {},
"tier_index": {},
"status": 0,
"status_update_time": 0,
"weight": 0,
"package_length": 0,
"package_width": 0,
"package_height": 0,
"has_variant": true,
"is_dangerous": true,
"is_pre_order": true,
"is_active": true,
"is_delete": true,
"created_time": 0,
"updated_time": 0,
"last_sync_time": 0,
"user": 0,
"business": 0,
"parent": null,
"updated_by": 0,
"created_by": 0,
"store": {
"id": 0,
"name": "string",
"logo": null
},
"product_brand": 0,
"product_category": 0,
"condition_display": "string",
"status_display": "string",
"platform_logo": "string",
"is_single": true,
"is_variant": true,
"can_cancel": true,
"can_re_sync": true,
"can_edit": true,
"status_css": "string",
"is_bundle": true,
"product_variant": [
0
]
}
],
"error": true,
"error_code": null,
"log_id": null,
"messages": "string",
"total": 0
}
Modified at 2024-08-02 03:26:25