Tạo sản phẩm
/products
POST
Query Parameters
Name | Type | Description |
---|---|---|
merchant_token | string | Token do người dùng tự tạo trong hệ thống quản lý |
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
name | string | Tên sản phẩm |
sku | string | Mã sku sản phẩm (nếu không nhập hệ thống sẽ tự sinh) |
description | string | Mô tả |
price | integer | Giá sản phẩm |
cost | integer | Giá gốc |
weight | integer | Khối lượng |
width | integer | Chiều rộng |
height | integer | Chiều cao |
length | integer | Chiều dài |
quantity | integer | Số lượng |
Last updated