Resource Information


Description Endpoint to retrieve all orders placed within the specified time period.
Resource URL https://api.mpstoolbox.com/v1/orders/{start}/{end}
Rate Limited False
Response Format JSON
Authentication API-Key

Parameters


Parameter Type Description Optional Default
start unix The Shopify unix start timestamp. False NULL
end unix The Shopify unix end timestamp. False NULL

Example


GET https://api.mpstoolbox.com/v1/orders/1672617600/1724878842/

Response

{
    "1077": {
        "general": {
        "order_id": 5762888925334,
        "order_type": "order",
        "order_status": null,
        "order_name": "#1077",
        "financial_status": "paid",
        "fulfillment_status": "fulfilled",
        "send_receipt": null,
        "note": "",
        "shipment_status": null
        },
        "customer": {
        "id": 6850631565462,
        "first_name": "Noah",
        "last_name": "Miller",
        "email": "nmiller@theb2btoolbox.com",
        "verified_email": true,
        "phone": null,
        "tags": "Purchase Order",
        "currency": "CAD"
        },
        "shipping_address": {
        "first_name": "Noah",
        "last_name": "Miller",
        "address1": "123 ABC",
        "address2": null,
        "company": "Miller, Noah",
        "city": "Kingston",
        "state_province": "ON",
        "zip_postal": "K7M 9K7",
        "country": "Canada",
        "phone": null
        },
        "billing_address": {
        "first_name": "Noah",
        "last_name": "Miller",
        "address1": "123 ABC",
        "address2": null,
        "company": "Miller, Noah",
        "city": "Kingston",
        "state_province": "ON",
        "zip_postal": "K7M 9K7",
        "country": "Canada",
        "phone": null
        },
        "fulfillments": [
        {
            "fulfillment_id": 5123187736726,
            "location_id": 48550084758,
            "service": "manual",
            "status": "success",
            "tracking_company": "Canada Post",
            "tracking_numbers": [
            "123455667545"
            ],
            "tracking_url": "https://www.canadapost.ca/track-reperage/en#/search?searchFor=123455667545",
            "line_items": [
            {
                "id": 13611177607318,
                "admin_graphql_api_id": "gid://shopify/LineItem/13611177607318",
                "fulfillable_quantity": 0,
                "fulfillment_service": "manual",
                "fulfillment_status": "fulfilled",
                "gift_card": false,
                "grams": 36500,
                "name": "Kyocera ECOSYS M6635cidn - Quote Price 1400.00",
                "price": "1400.00",
                "price_set": {
                "shop_money": {
                    "amount": "1400.00",
                    "currency_code": "CAD"
                },
                "presentment_money": {
                    "amount": "1400.00",
                    "currency_code": "CAD"
                }
                },
                "product_exists": true,
                "product_id": 7373698203798,
                "properties": [],
                "quantity": 1,
                "requires_shipping": true,
                "sku": "1102V12US1",
                "taxable": true,
                "title": "Kyocera ECOSYS M6635cidn",
                "total_discount": "0.00",
                "total_discount_set": {
                "shop_money": {
                    "amount": "0.00",
                    "currency_code": "CAD"
                },
                "presentment_money": {
                    "amount": "0.00",
                    "currency_code": "CAD"
                }
                },
                "variant_id": 43669572681878,
                "variant_inventory_management": null,
                "variant_title": "Quote Price 1400.00",
                "vendor": "Kyocera",
                "tax_lines": [
                {
                    "channel_liable": false,
                    "price": "182.00",
                    "price_set": {
                    "shop_money": {
                        "amount": "182.00",
                        "currency_code": "CAD"
                    },
                    "presentment_money": {
                        "amount": "182.00",
                        "currency_code": "CAD"
                    }
                    },
                    "rate": 0.13,
                    "title": "HST"
                }
                ],
                "duties": [],
                "discount_allocations": []
            }
            ]
        }
        ],
        "line_items": [
        {
            "id": 13611177607318,
            "variant_id": 43669572681878,
            "quantity": 1,
            "product_name": "Kyocera ECOSYS M6635cidn",
            "sku": "1102V12US1",
            "weight": null,
            "weight_unit": null
        }
        ]
    },
    "1078": {
        "general": {
        "order_id": 5806342832278,
        "order_type": "order",
        "order_status": null,
        "order_name": "#1078",
        "financial_status": "paid",
        "fulfillment_status": null,
        "send_receipt": null,
        "note": null,
        "shipment_status": null
        },
        "customer": {
        "id": 6850631565462,
        "first_name": "Noah",
        "last_name": "Miller",
        "email": "nmiller@theb2btoolbox.com",
        "verified_email": true,
        "phone": null,
        "tags": "Purchase Order",
        "currency": "CAD"
        },
        "shipping_address": {
        "first_name": "Noah",
        "last_name": "Miller",
        "address1": "123her",
        "address2": null,
        "company": "Miller, Noah",
        "city": "Kingston",
        "state_province": "ON",
        "zip_postal": "K7M 9K7",
        "country": "Canada",
        "phone": null
        },
        "billing_address": {
        "first_name": "Noah",
        "last_name": "Miller",
        "address1": "123her",
        "address2": null,
        "company": "Miller, Noah",
        "city": "Kingston",
        "state_province": "ON",
        "zip_postal": "K7M 9K7",
        "country": "Canada",
        "phone": null
        },
        "line_items": [
        {
            "id": 13692349218966,
            "variant_id": 42978018984086,
            "quantity": 1,
            "product_name": "Kyocera TASKalfa MA4500ci",
            "sku": "1102Z72US0",
            "weight": null,
            "weight_unit": null
        }
        ]
    },
    "1079": {
        "general": {
        "order_id": 5806345257110,
        "order_type": "order",
        "order_status": null,
        "order_name": "#1079",
        "financial_status": "paid",
        "fulfillment_status": null,
        "send_receipt": null,
        "note": null,
        "shipment_status": null
        },
        "customer": {
        "id": 7512909021334,
        "first_name": "Carena Mae",
        "last_name": "Manzano",
        "email": "carenamanzano@gmail.com",
        "verified_email": true,
        "phone": null,
        "tags": "",
        "currency": "CAD"
        },
        "shipping_address": {
        "first_name": "Carena Mae",
        "last_name": "Manzano",
        "address1": "15 Gildner Street",
        "address2": "Unit 1",
        "company": null,
        "city": "Kitchener",
        "state_province": "ON",
        "zip_postal": "N2G 2H2",
        "country": "Canada",
        "phone": null
        },
        "billing_address": {
        "first_name": "Carena Mae",
        "last_name": "Manzano",
        "address1": "15 Gildner Street",
        "address2": "Unit 1",
        "company": null,
        "city": "Kitchener",
        "state_province": "ON",
        "zip_postal": "N2G 2H2",
        "country": "Canada",
        "phone": null
        },
        "line_items": [
        {
            "id": 13692353839254,
            "variant_id": 42978018984086,
            "quantity": 1,
            "product_name": "Kyocera TASKalfa MA4500ci",
            "sku": "1102Z72US0",
            "weight": null,
            "weight_unit": null
        }
        ]
    }
}

Error Response

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