Update product

/products

PUT

Query Parameters

NameTypeDescription

merchant_token

string

Token is created in management system.

Headers

NameTypeDescription

Accept

string

application/json

Request Body

NameTypeDescription

name

string

Product name

sku

string

Product SKU

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
  }
}

Parameters response defination

Key

Description

price

New price

old_price

Old price

cost

Cost

Last updated