Menu

Order the Shopping Cart

This endpoint orders the Shopping Cart.
To call any /carts endpoints, you need to use a JWT token or an intent token for authorization.

POST https://api-staging-v2.logyx.it/v1/carts

Body


order_reference required

Example

{
    "order_reference": "string"
}

Response

{
    "code": 201,
    "message": "Created; cart ordered.",
    "data": [
        {
            "supplier_id": "string",
            "company_id": "string",
            "response_data": "this depends on where it is ordered"
        }
    ],
    "links": {},
    "errors": []
}

Possible responses


201 Created; Cart order success.

400 This company cannot order from this supplier.

400 Suppliers connection is not configured or is offline. Please contact your supplier.

403 Cart not found or empty

Menu