Adding items to the shopping cart, which creates a new order.
Request
Body Params application/json
[
{
"platform": 0,
"productid": "590853024394",
"skudatalist": [
{
"skuid": "4740865740043",
"qty": 2
}
]
}
]
Request Code Samples
curl --location --request POST '/api/open/order/create' \
--header 'version: {{shop_openapi_version}}' \
--header 'token: {{shop_openapi_token}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"platform": 0,
"productid": "590853024394",
"skudatalist": [
{
"skuid": "4740865740043",
"qty": 2
}
]
}
]'
Responses
application/json {
"status": "0",
"message": "Operation successful.",
"data": {
"success": [
{
"position": 1,
"platform": 0,
"productid": "590853024394",
"message": "Order created successfully.",
"ordernos": "170736519167627,170736529315528"
}
],
"failure": [
{
"position": 2,
"platform": 0,
"productid": "590853024394",
"message": "Order creation failed."
}
]
}
}
Modified at 2025-12-12 00:10:40