Resource Information


Description Endpoint to retrieve all orders placed by a customer with the supplied email address.
Resource URL https://api.mpstoolbox.com/v1/orders/{email}
Rate Limited False
Response Format JSON
Authentication API-Key

Parameters


Parameter Type Description Optional Default
email string The email address of the order to retrieve. False NULL

Example


GET https://api.mpstoolbox.com/v1/orders/nmiller@tangentmtw.com

Response

{
    "1074": {
        "general": {
            "order_id": 5728376422550,
            "order_type": "order",
            "order_status": null,
            "order_name": "#1074",
            "financial_status": "paid",
            "fulfillment_status": null,
            "send_receipt": null,
            "note": "",
            "shipment_status": null
        },
        "customer": {
            "id": 6886338723990,
            "first_name": "Noah",
            "last_name": "Miller",
            "email": "nmiller@tangentmtw.com",
            "verified_email": false,
            "phone": null,
            "tags": "Purchase Order",
            "currency": "CAD"
        },
        "shipping_address": {
            "first_name": "Noah",
            "last_name": "Miller",
            "address1": "310 Bagot Street",
            "address2": null,
            "company": "TangentMTW",
            "city": "Kingston",
            "state_province": "ON",
            "zip_postal": "K7M 9G8",
            "country": "Canada",
            "phone": "123-123-1231"
        },
        "billing_address": {
            "first_name": "Noah",
            "last_name": "Miller",
            "address1": "310 Bagot Street",
            "address2": null,
            "company": "TangentMTW",
            "city": "Kingston",
            "state_province": "ON",
            "zip_postal": "K7M 9G8",
            "country": "Canada",
            "phone": "123-123-1231"
        },
        "line_items": [
            {
                "id": 13550229029014,
                "variant_id": 42978018984086,
                "quantity": 1,
                "product_name": "Kyocera TASKalfa MA4500ci",
                "sku": "1102Z72US0",
                "weight": null,
                "weight_unit": null
            }
        ]
    },
    "1067": {
        "general": {
            "order_id": 5557584003222,
            "order_type": "order",
            "order_status": null,
            "order_name": "#1067",
            "financial_status": "paid",
            "fulfillment_status": null,
            "send_receipt": null,
            "note": "Purchase Order File Link: https://res.cloudinary.com/tangent-mtw/image/upload/v1708531931/ncxv5qochghefblbxlbn.pdf",
            "shipment_status": null
        },
        "customer": {
            "id": 6886338723990,
            "first_name": "Noah",
            "last_name": "Miller",
            "email": "nmiller@tangentmtw.com",
            "verified_email": false,
            "phone": null,
            "tags": "Purchase Order",
            "currency": "CAD"
        },
        "shipping_address": {
            "first_name": "Noah",
            "last_name": "Miller",
            "address1": "310 Bagot Street",
            "address2": null,
            "company": "TangentMTW",
            "city": "Kingston",
            "state_province": "ON",
            "zip_postal": "K7M 9G8",
            "country": "Canada",
            "phone": "123-123-1231"
        },
        "billing_address": {
            "first_name": "Noah",
            "last_name": "Miller",
            "address1": "310 Bagot Street",
            "address2": null,
            "company": "TangentMTW",
            "city": "Kingston",
            "state_province": "ON",
            "zip_postal": "K7M 9G8",
            "country": "Canada",
            "phone": "123-123-1231"
        },
        "line_items": [
            {
                "id": 13227135369366,
                "variant_id": 42799276458134,
                "quantity": 1,
                "product_name": "Kyocera TASKalfa 5004i",
                "sku": "5004i",
                "weight": null,
                "weight_unit": null
            }
        ]
    },
    "1066": {
        "general": {
            "order_id": 5549142540438,
            "order_type": "order",
            "order_status": null,
            "order_name": "#1066",
            "financial_status": "paid",
            "fulfillment_status": null,
            "send_receipt": null,
            "note": "Purchase Order File Link: https://res.cloudinary.com/tangent-mtw/image/upload/v1708007080/bbl0mnkheogw6striilm.jpg",
            "shipment_status": null
        },
        "customer": {
            "id": 6886338723990,
            "first_name": "Noah",
            "last_name": "Miller",
            "email": "nmiller@tangentmtw.com",
            "verified_email": false,
            "phone": null,
            "tags": "Purchase Order",
            "currency": "CAD"
        },
        "shipping_address": {
            "first_name": "Noah",
            "last_name": "Miller",
            "address1": "310 Bagot Street",
            "address2": null,
            "company": "TangentMTW",
            "city": "Kingston",
            "state_province": "ON",
            "zip_postal": "K7M 9G8",
            "country": "Canada",
            "phone": "123-123-1231"
        },
        "billing_address": {
            "first_name": "Noah",
            "last_name": "Miller",
            "address1": "310 Bagot Street",
            "address2": null,
            "company": "TangentMTW",
            "city": "Kingston",
            "state_province": "ON",
            "zip_postal": "K7M 9G8",
            "country": "Canada",
            "phone": "123-123-1231"
        },
        "line_items": [
            {
                "id": 13211666612374,
                "variant_id": 42799276458134,
                "quantity": 1,
                "product_name": "Kyocera TASKalfa 5004i",
                "sku": "5004i",
                "weight": null,
                "weight_unit": null
            }
        ]
    }
}

Error Response

{
    "code": 204,
    "data": "No Data Found"
}