版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

Description

Add a new item.

Send up to 30 items at a time

Path

...

/api/supplier-service/v1/product/create

Header Sample

代码块
POST /api/supplier-service/v1/product/create HTTP/1.1
Content-Type: application/json
Accept: application/json
User-Agent: Mozilla 5.0
Host: http://cfs-qa.etowertech.com/
X-WallTech-Date: Thu, 06 Aug 2020 06:36:24 GMT
Authorization: WallTech testLvs2jdug2qIoRsJyuxs:VaWNgikNP0NGcoxVCeWYid50MYQ=

Fields

...

sku

...

30

...

M

...

SKU Code

...

skuNameCn

...

255

...

M

...

Product name in Chinese

...

skuNameEn

...

255

...

M

...

Product name in English

...

model

...

127

...

O

...

Product model

...

productMaterial

...

50

...

M

...

Product material

...

productUsage

...

50

...

M

...

Product usage

...

brand

...

50

...

O

...

Product brand

...

grossWeight

...

(8,3)

...

M

...

Declare weight of product

...

invoiceValue

...

(8,2)

...

M

...

Declare value of product

...

currency

...

3

...

M

...

Product currency

...

hsCode

...

20

...

M

...

HSCode in origin country

...

url

...

4000

...

O

...

Product URL

...

skuRemark

...

255

...

O

...

Product

...

productLength

...

(8,1)

...

M

...

Declare lenght of product

...

productWidth

...

(8,1)

...

M

...

Declare width of product

...

productHeight

...

(8,1)

...

M

...

Declare height of product

...

batterySize

...

--

...

M

...

Battrey size of product 0:no battery,1:packaged with Equipment,2:inside battery,3:Batteries Only

...

otherAttributes

...

--

...

M

...

Other attributes 0:Liquid,1:Powder,2:Jelly,3:Liquid & Powder,4:Liquid & Jelly,5:Powder & Jelly,6:Liquid & Powder & Jelly,7:Does no Contain

...

shippingBagPacked

...

--

...

M

...

Shipping Pack for Product 0:No 1:Yes

...

packagingAttributes

...

300

...

O

...

Packaging attribute of product

...

originCountry

...

2

...

O

...

Orgin country, please country code in two character

...

countryInformationItems

...

[

...


...

--

...

M

...

Country info

...

countryCode

...

2

...

M

...

Country code in two character

...

hsCode

...

20

...

M

...

HSCode in destination country;(in field countryInformationItems,Please insert different country code from HSCode in origin country)

...

destinationCountryBrand

...

--

...

M

...

Brand type in destination country:0:Private Brand

1:Authorized Brand 2:No Brand

...

remark

...

255

...

M

...

Remark for product

...

tallyRule

...

--

...

O

...

Tally rule  1:Piece 2:Box

...

barcode

...

-

...

Response

...

Product barcode in system

...

code

...

-

...

-

...

Response code

...

errors

...

-

...

-

...

Response error

...

message

...

-

...

-

...

Response message

...

messageId

...

-

...

-

...

Response message ID

...

success

...

-

...

-

...

Success

...

warnList

...

-

...

-

...

No use

Request Sample

...

    {
        "sku":

...

 "

...

gas stove00001",

...


        "skuNameCn":

...

 "

...

gas stove",

...


        "skuNameEn": "

...

gas stove",

...


        "model":

...

 "sso01",

...


        "productMaterial":

...

 "

...

High temperature resistant material",

...


        "productUsage":

...

 "

...

The kitchen burns gas for cooking",

...


        "brand":

...

 "

...

BOSS",

...


        "grossWeight":

...

 "15",

...


        "invoiceValue": "999",

...


        "currency":

...

 "CNY",

...


        "hsCode":

...

 "121212",

...


        "url":

...

 "",

...


        "skuRemark":

...

 "",
        "status"0,
        "productLength": "100",

...


        "productWidth": "50",

...


        "productHeight": "40",

...


        "batterySize": "0",

...


        "otherAttributes": "7",

...


        "shippingBagPacked": "1",

...


        "packagingAttributes":

...

 "DFAGFDSFTRE",

...


        "originCountry":

...

 "",

...


        "countryInformationItems":

...

 [

...


            {

...


                "countryCode":

...

 "US",

...


                "hsCode":

...

 "23512423",

...


                "destinationCountryBrand": "2",

...


                "remark":

...

 ""

...


            }

...


        ],

...


        "tallyRule": "1"

...

Response

代码块
[
    {
        "code": "0",
        "data": {
            "barcode": "UBI1228322111400008S",
            "sku": "gas stove12"
        },
        "errors": "",
        "message": "",
        "messageId": "",
        "success": true,
        "warnList": ""
    }
]

...


    },
    {
        "sku""gas stove00002",
        "skuNameCn""gas stove",
        "skuNameEn""gas stove",
        "model""sso01",
        "productMaterial""High temperature resistant material",
        "productUsage""The kitchen burns gas for cooking",
        "brand""BOSS",
        "grossWeight""15",
        "invoiceValue""999",
        "currency""CNY",
        "hsCode""121212",
        "url""",
        "skuRemark""",
        "status"0,
        "productLength""100",
        "productWidth""50",
        "productHeight""40",
        "batterySize""0",
        "otherAttributes""7",
        "shippingBagPacked""1",
        "packagingAttributes""DFAGFDSFTRE",
        "originCountry""",
        "countryInformationItems": [
            {
                "countryCode""US",
                "hsCode""23512423",
                "destinationCountryBrand""2",
                "remark"""
            }
        ],
        "tallyRule""1"
    }
]