Checkout

Contain data reffered to Abandoned Carts.


Receive a list of all Abandoned Carts

Query parameters:
  • fields - list of fields returning in response
  • limit - number of returned categories (default: 50)
  • page - currently displayed page (default: 1)
  • created_at_min - counts carts, which creation date was later than specified (format: 2011-06-19 13:18:50)
  • created_at_max - counts carts, which creation date was earlier than specified (format: 2011-06-19 13:18:50)
GET /services/checkout

Returns all Abandoned Carts

HTTP/1.1 200 OK
{
    "carts": [
        {
            "user_key" : "8Dpy5B52RAhIZEe1",
            "email" : "[email protected]",
            "accept_newsletter" : "1",
            "shipping" : [
                {
                    "id" : "23",
                    "title" : "UPS",
                    "price" : "540",
                },
            ],
            "payment" : [
                {
                    "id" : "4",
                    "meta_keywords" : "Wpłata na konto",
                },
            ],
            "discount" : [
                {
                    "code" : "TEXTME",
                    "amount" : "432",
                },
            ],
            "items" : [
                {
                    "id" : "43",
                    "product_id" : "34",
                    "variant_id" : "33",
                    "price" : "432",
                    "tax" : "23",
                    "quantity" : "2",
                    "weight" : "23",
                    "sku" : "D23",
                    "require_shipping" : "1",
                    "title" : "Mój produkt",
                    "variant_title" : "Czerwony/XXL"
                },
            ],
            "landing_site" : "/kategoria/mama",
            "referring_site" : "https://google.pl",
            "note" : "",
            "data" : "",
            "total_price" : 1032,
            "total_items_price" : 1000,
            "total_tax" : 32,
            "total_weight" : 549,
            "currency" : "PLN",
            "order_id" : "",
            "created_at" : "2011-09-22 01:15:35",
        },
    ]
}

Receive a single Abandoned Cart

Query parameters:
  • fields - list of fields returning in response
GET /services/checkout/{user_key}

Returns single Abandoned Cart

HTTP/1.1 200 OK
{
    "cart": {
        "user_key" : "8Dpy5B52RAhIZEe1",
        "email" : "[email protected]",
        "accept_newsletter" : "1",
        "shipping" : [
            {
                "id" : "23",
                "title" : "UPS",
                "price" : "540",
            },
        ],
        "payment" : [
            {
                "id" : "4",
                "meta_keywords" : "Wpłata na konto",
            },
        ],
        "discount" : [
            {
                "code" : "TEXTME",
                "amount" : "432",
            },
        ],
        "items" : [
            {
                "id" : "43",
                "product_id" : "34",
                "variant_id" : "33",
                "price" : "432",
                "tax" : "23",
                "quantity" : "2",
                "weight" : "23",
                "sku" : "D23",
                "require_shipping" : "1",
                "title" : "Mój produkt",
                "variant_title" : "Czerwony/XXL"
            },
        ],
        "landing_site" : "/kategoria/mama",
        "referring_site" : "https://google.pl",
        "note" : "",
        "data" : "",
        "total_price" : 1032,
        "total_items_price" : 1000,
        "total_tax" : 32,
        "total_weight" : 549,
        "currency" : "PLN",
        "order_id" : "",
        "created_at" : "2011-09-22 01:15:35",
    }
}

Receive a count of all Abandoned Carts

Query parameters:
  • created_at_min - counts carts, which creation date was later than specified (format: 2011-06-19 13:18:50)
  • created_at_max - counts carts, which creation date was earlier than specified (format: 2011-06-19 13:18:50)
GET /services/checkout/count

Receive a count of all Abandoned Carts

HTTP/1.1 200 OK
{
    "count": 250
}