# FAQ

# Why are there two parameters ? uid or orderNum.

POST api/shopping/addToCart

Name Data Type Description
uid or orderNum required , string uid: The UID of the order. orderNum: Order Id
logistic required , string Shipping Method Name

The uid is create order's uid. The orderNum is order id.

# Why set enableListing to true in this api/commodity/detail interface.

Set enableListing to true can publish products.