Carts
Bulk Add Items to Cart
Bulk add items to cart.<br> 購物車加入商品
post/carts/{id}/items
Request
- Base URLhttps://open.shopline.io/v1
- URLhttps://open.shopline.io/v1/carts/{id}/items
- AuthHTTP bearer
Path parameters
idstring required
Cart ID<br>購物車ID
Request body
Example request
{
"items": [
{
"product_id": "627337a4f63f1c00449bdd37",
"type": "product",
"created_by": "admin",
"quantity": 1
}
]
}Response
Created.
Example response
{
"code": "SUCCESS",
"trace_id": "0255f148-f9c6-4b1c-8c73-ac9fbf2e5f79"
}Changes
No recorded changes to this operation across all 2 revisions of this API.