Create product

/products

POST

Query Parameters

NameTypeDescription

merchant_token

string

Token is created in management system.

Headers

NameTypeDescription

Content-Type

string

application/json

Accept

string

application/json

Request Body

NameTypeDescription

name

string

Product name

sku

string

Product SKU (if any or system will generate automatically)

description

string

Description

price

integer

Price

cost

integer

Cost

weight

integer

Weight

width

integer

Width

height

integer

Height

length

integer

Length

quantity

integer

Quantity

{
  "data": {
      "sku": "CUSTOM_SKU",
      "name": "Tên sản phẩm",
      "description": "Mô tả",
      "weight": 10,
      "width": 10,
      "height": 10,
      "length": 10,
      "price": "10000",
      "old_price": 0,
      "cost": "1000",
      "quantity": 100
  }
}

Last updated