This endpoint creates a new cart.
To call any
/carts
endpoints, you need to use a JWT token or an intent token for authorization.
reference
required
{
"reference": "string"
}
{
"code": 201,
"message": "Created; cart created.",
"data": {
"default": "boolean",
"reference": "string",
"cart_id": "string"
},
"links": {},
"errors": []
}
201
Created; Cart created.
401
Bad request
403
Forbidden