To create update or delete Carts you can use the endpoints below
The methods allowed per endpoint are specified in the documentation of the endpoint.
This endpoint adds Configuration to Cart
POST /carts
This endpoint gets all the carts.
GET /companies
This endpoint can get the cart by id.
GET /carts/{id}
This endpoint can get the default cart.
GET /carts/default
This endpoint creates a new cart.
POST /carts/new
This endpoint orders the Shopping Cart.
POST /carts
This endpoint deletes the Cart by ID.
DELETE /carts/{id}
This endpoint deletes the default cart.
DELETE /carts/default
This endpoint deletes the Cart lines by ID.
DELETE /carts/{cart_id}/{line_id}