CartLines
Create cart line (add to cart)
Create cart line (add to cart)
post/api/v1/cart-lines
Request
- Base URL{{url}}
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"purchasable_id": 349,
"purchasable_type": "Lunar\\Models\\ProductVariant",
"quantity": 1
},
"type": "cart-lines"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.