PandaPon OpenAPI
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Product documentsAPI reference
English
  • 简体中文
  • Tiếng Việt
  • Español
Back to PandaPon Website
  1. Shopping cart
  • Taobao
    • Goods
      • Taobao commodity picture search interface
      • Taobao product search interface
      • Batch query goods according to Taobao commodity id
      • Query goods according to Taobao commodity id
      • Taobao commodity inquiry
    • Order
      • Create an order
      • Paging to query the order list
      • Upload the payment voucher
      • Cancel the order
      • Modify the pre-warehouse information of the order
      • Pay for the order
      • Get the IM link
      • Get the order details according to the order ID
      • Get logistics details
    • After-sales service
      • Reverse single list query
      • Reverse single rendering interface
      • Return logistics rendering
      • Return logistics submission
      • Reverse order cancellation
      • Submit a message in reverse
      • Reverse order submission
      • Reverse single message list query
      • Reverse order modification
      • Reverse single query
    • Message callback
      • Order price modification and callback
      • Order status modification callback
      • After-sales refund of orders
    • Shopping cart
      • Create an order
        POST
      • Generate an order preview
        POST
      • List of shopping carts
        GET
      • Delete the shopping cart products
        POST
      • Add a shopping cart
        POST
      • Edit the quantity of goods
        POST
  • 1688
    • Goods
      • Commodity details inquiry
      • Convert and decrypt to Wangwang URL
      • Commodity keyword query
      • Commodity picture search
      • Commodity store search
      • Query multilingual categories according to category ID
      • Product recommendation inquiry
      • Related commodity inquiry
    • Order
      • Developers submit and pay 1688 orders in bulk
      • Preview data before creating an order (batch different merchants)
      • Create orders (different merchants)
      • Obtain the logistics tracking information of the order
      • Order list paging query
      • Preview data before creating an order
      • Create an order
      • Cancel the order before payment
      • Order payment
      • The buyer confirms the receipt of goods
    • After-sales service
      • Check the details of the after-sales order
      • Check the reason for refund and return (used to create refund and return)
      • Upload the refund and return voucher
      • Create a refund and return application
      • The buyer submits the refund information
      • List of logistics companies - all logistics companies
    • Message callback
      • Order price modification and callback
      • Order status modification interface
      • After-sales refund of 1688 orders
    • Shopping cart
      • Create an order
      • Delete the shopping cart products
      • Preview the data interface before creating an order
      • Edit the quantity of goods
      • Add a shopping cart
      • List of shopping carts
    • Marketing
      • Global strict selection
      • 1688 Strict Selection
      • Hot selling list
  • Foundations
    • Get user address information
      POST
    • Address addition and update
      POST
  • Warehouse logistics
    • Detailed overseas freight estimate
      POST
    • Preview of overseas freight for orders
      POST
    • Update domestic logistics information
      POST
    • Create international logistics orders
      POST
  1. Shopping cart

Add a shopping cart

POST
/open/cart/add

请求参数

Header 参数

Body 参数application/json

示例
{
    "userId": "2100007340000",
    "platform": 1,
    "itemId": 2048175493257375,
    "skuId": "85",
    "itemTitle": "英皇保罗男士长款银行皮夹钱包",
    "itemPic": "https://img.alicdn.com/imgextra/i1/2200723183810/O1CN01LKgvKM1e11dGRihYC_!!2200723183810.jpg",
    "mpId": "26",
    "mpSkuId": "65",
    "price": 689,
    "promotionPrice": 576,
    "properties": "[{\"valueId\":28324,\"valueName\":\"黄色\",\"propId\":1627207,\"propName\":\"颜色分类\"},{\"valueId\":3273546,\"valueName\":\"52cm\",\"propId\":122216343,\"propName\":\"参考身高\"}]",
    "quantity": 71,
    "shopId": 42,
    "shopName": "英皇保罗旗舰店",
    "skuQuantity": "94",
    "userNick": "介安琪"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/cart/add' \
--header 'access-key;' \
--header 'nonce-str: nonce-str' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userId": "2100007340000",
    "platform": 1,
    "itemId": 2048175493257375,
    "skuId": "85",
    "itemTitle": "英皇保罗男士长款银行皮夹钱包",
    "itemPic": "https://img.alicdn.com/imgextra/i1/2200723183810/O1CN01LKgvKM1e11dGRihYC_!!2200723183810.jpg",
    "mpId": "26",
    "mpSkuId": "65",
    "price": 689,
    "promotionPrice": 576,
    "properties": "[{\"valueId\":28324,\"valueName\":\"黄色\",\"propId\":1627207,\"propName\":\"颜色分类\"},{\"valueId\":3273546,\"valueName\":\"52cm\",\"propId\":122216343,\"propName\":\"参考身高\"}]",
    "quantity": 71,
    "shopId": 42,
    "shopName": "英皇保罗旗舰店",
    "skuQuantity": "94",
    "userNick": "介安琪"
}'

返回响应

🟢200成功
application/json
Body

示例
{
  "requestId": "",
  "code": 0,
  "developId": 0,
  "msg": "",
  "data": false
}
修改于 2025-03-26 10:39:24
上一页
Delete the shopping cart products
下一页
Edit the quantity of goods
Built with