stephanstapel / BrickOwlSharp

.net library to connect to BrickOwl brick shop
MIT License
1 stars 0 forks source link

Order Items missing some properties #5

Closed norberto5 closed 2 months ago

norberto5 commented 3 months ago

Hey, it's similar to #3, OrderItem class doesn't have ExternalIds, Ids and RefundedQuantity

Example API order item:

{
        "image_small": "https://img.brickowl.com/files/image_cache/small/lego-dark-blue-scorpion-28839-30169-27-40003-48.jpg",
        "name": "LEGO Dark Blue Scorpion (28839 / 30169)",
        "type": "Part",
        "color_name": "Dark Blue",
        "color_id": "48",
        "boid": "40003-48",
        "lot_id": "146422595",
        "condition": "New",
        "full_con": "new",
        "ordered_quantity": "1",
        "refunded_quantity": "0", // it's missing
        "personal_note": "P-0038",
        "bl_lot_id": "387711333",
        "external_lot_ids": { // it's missing
            "other": "387711333"
        },
        "remaining_quantity": "6",
        "weight": "0.83",
        "public_note": null,
        "order_item_id": "58071987",
        "base_price": "0.580",
        "ids": [ // it's missing
            {
                "id": "28839",
                "type": "design_id"
            },
            {
                "id": "30169",
                "type": "design_id"
            },
            {
                "id": "30169",
                "type": "ldraw"
            },
            {
                "id": "40003-48",
                "type": "boid"
            },
            {
                "id": "6200668",
                "type": "item_no"
            },
            {
                "id": "6200668",
                "type": "item_no"
            },
            {
                "id": "6251333",
                "type": "item_no"
            }
        ]
    }
stephanstapel commented 3 months ago

thanks. Can you please test the latest code and send feedback?