Menu

Get Cart by ID

This endpoint can get the cart by id.
To call any /carts endpoints, you need to use a JWT token or an intent token for authorization.

GET https://api-staging-v2.logyx.it/v1/carts/{id}

Response

{
    "code": 200,
    "message": "OK; cart found.",
    "data": {
        "default": "boolean",
        "reference": "string",
        "cart_id": "string"
    },
    "links": {},
    "errors": []
}

Possible responses


201 Cart found.

400 Cart was not found

403 Forbidden

Menu