Create a cart

Create a cart composed of an id and a reference and optionally a list of cart items

Body Params
string | null
lines
array of objects
required

A cart can be initialized without any lines if wanted

lines*
enum
required
string | null
Headers
string
required

X-Actor-Slug header should contain an actor slug

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

410

Gone

413

Payload Too Large

422

Unprocessable Entity

500

Internal Server Error

501

Not Implemented

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json