⚠️ Not supported yet
Cart1
Actions1
Add Composable To Cart
Add Composable To Cart
post/api/v1/cart-lines/-actions/add-composable
Request
- Base URL{{url}}
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"components": [
{
"meta": null,
"purchasable_id": 60908,
"purchasable_type": "Lunar\\Models\\ProductVariant"
},
{
"meta": null,
"purchasable_id": 60921,
"purchasable_type": "Lunar\\Models\\ProductVariant"
}
],
"composable": {
"purchasable_id": 60906,
"purchasable_type": "Lunar\\Models\\ProductVariant"
}
},
"type": "cart-lines"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.