Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
11 kB
0
Indexable
Never
{
    "cart": {
        "object": "cart",
        "id": "cart_01HC1SCNDQRNGPQ81C1F39ZVDF",
        "created_at": "2023-10-06T06:04:25.895Z",
        "updated_at": "2023-10-06T06:04:25.941Z",
        "deleted_at": null,
        "email": "udaygupta120@mailinator.com",
        "billing_address_id": null,
        "shipping_address_id": "addr_01HC1SCNDQE2GS5416PYDJTEHN",
        "region_id": "reg_001",
        "customer_id": "cus_01HBTMBV3MPKWZ08FQ7G14H50A",
        "payment_id": null,
        "type": "default",
        "completed_at": null,
        "payment_authorized_at": null,
        "idempotency_key": null,
        "context": {},
        "metadata": null,
        "buyer_options": null,
        "outlet_id": "bs_01HBTMBV45ADTQ041QTM2DYZMW",
        "sales_channel_id": "sc_01HANXCDR4ZKEK425Q7F3J3A14",
        "billing_address": null,
        "customer": {
            "id": "cus_01HBTMBV3MPKWZ08FQ7G14H50A",
            "created_at": "2023-10-03T11:21:54.978Z",
            "updated_at": "2023-10-03T11:23:16.922Z",
            "deleted_at": null,
            "email": "udaygupta120@mailinator.com",
            "first_name": "uday",
            "last_name": "kumar",
            "billing_address_id": null,
            "phone": "9948649813",
            "has_account": true,
            "metadata": {},
            "buyer_db": false,
            "supplier_db": false,
            "isSupplierActivated": false,
            "isBuyerActivated": false,
            "is_email_verified": true,
            "is_phone_verified": false,
            "email_token": null,
            "phone_token": null,
            "buyer_id": null,
            "isActivated": false,
            "profile_image": null,
            "username": null,
            "designation": null
        },
        "discounts": [],
        "gift_cards": [],
        "items": [
            {
                "id": "item_01HC1XZGD1TNKRZJMAWAC5VYGP",
                "created_at": "2023-10-06T07:24:37.562Z",
                "updated_at": "2023-10-06T07:24:37.562Z",
                "cart_id": "cart_01HC1SCNDQRNGPQ81C1F39ZVDF",
                "order_id": null,
                "swap_id": null,
                "claim_order_id": null,
                "original_item_id": null,
                "order_edit_id": null,
                "title": "potato",
                "description": "potato",
                "thumbnail": null,
                "is_return": false,
                "is_giftcard": false,
                "should_merge": true,
                "allow_discounts": true,
                "has_shipping": false,
                "unit_price": 75,
                "variant_id": "variant_01HBTQ2QYS6FJ2794RYS3JT9SF",
                "quantity": 3,
                "fulfilled_quantity": null,
                "returned_quantity": null,
                "shipped_quantity": null,
                "metadata": {},
                "amount": null,
                "delivered_quantity": null,
                "master_order_id": null,
                "actual_amount": 0,
                "adjustments": [],
                "tax_lines": [
                    {
                        "rate": 0,
                        "name": "default",
                        "code": "default",
                        "item_id": "item_01HC1XZGD1TNKRZJMAWAC5VYGP"
                    }
                ],
                "variant": {
                    "id": "variant_01HBTQ2QYS6FJ2794RYS3JT9SF",
                    "created_at": "2023-10-03T12:09:22.705Z",
                    "updated_at": "2023-10-03T12:09:22.705Z",
                    "deleted_at": null,
                    "title": "potato",
                    "product_id": "product_01HBTQ2QYQG09C1E0ZBF8XBCYP",
                    "sku": null,
                    "barcode": null,
                    "ean": null,
                    "upc": null,
                    "variant_rank": 0,
                    "inventory_quantity": 10000,
                    "allow_backorder": false,
                    "manage_inventory": true,
                    "hs_code": null,
                    "origin_country": null,
                    "mid_code": null,
                    "material": null,
                    "weight": null,
                    "length": null,
                    "height": null,
                    "width": null,
                    "metadata": {
                        "offer": 5,
                        "order_unit": "carton",
                        "selected_unit": "carton",
                        "vat_percentage": 3.75,
                        "selected_quantity": 5
                    },
                    "product": {
                        "id": "product_01HBTQ2QYQG09C1E0ZBF8XBCYP",
                        "created_at": "2023-10-03T12:09:22.671Z",
                        "updated_at": "2023-10-03T12:09:22.671Z",
                        "deleted_at": null,
                        "title": "potato",
                        "subtitle": null,
                        "description": "apple",
                        "handle": null,
                        "is_giftcard": false,
                        "status": "published",
                        "thumbnail": null,
                        "weight": null,
                        "length": null,
                        "height": null,
                        "width": null,
                        "hs_code": "",
                        "origin_country": null,
                        "mid_code": null,
                        "material": "brand_001",
                        "collection_id": null,
                        "type_id": null,
                        "discountable": true,
                        "external_id": null,
                        "metadata": {
                            "certifications": [
                                "c1",
                                "c2"
                            ],
                            "product_details": [
                                "Halal,Vegan",
                                "Organic"
                            ]
                        },
                        "store_id": null,
                        "supplier_id": "cus_01HBDPPAH1PQNM6K1W9ZQ7484C",
                        "country_id": 234,
                        "is_deactivated": false,
                        "avaliabilty_status": true,
                        "product_code": null,
                        "product_type": "offline",
                        "ware_house_id": "bs_01HBDPPBMHJQ98CMMXMHAGWFXA",
                        "profiles": [
                            {
                                "id": "sp_01HANXCDQGM206N4ZT1N434YET",
                                "created_at": "2023-09-19T05:07:37.245Z",
                                "updated_at": "2023-09-19T05:07:37.245Z",
                                "deleted_at": null,
                                "name": "Default Shipping Profile",
                                "type": "default",
                                "metadata": null
                            }
                        ],
                        "profile": {
                            "id": "sp_01HANXCDQGM206N4ZT1N434YET",
                            "created_at": "2023-09-19T05:07:37.245Z",
                            "updated_at": "2023-09-19T05:07:37.245Z",
                            "deleted_at": null,
                            "name": "Default Shipping Profile",
                            "type": "default",
                            "metadata": null
                        },
                        "profile_id": "sp_01HANXCDQGM206N4ZT1N434YET"
                    }
                },
                "subtotal": 225,
                "discount_total": 0,
                "total": 225,
                "original_total": 225,
                "original_tax_total": 0,
                "tax_total": 0,
                "raw_discount_total": 0
            }
        ],
        "payment": null,
        "payment_sessions": [],
        "region": {
            "id": "reg_001",
            "created_at": "2023-09-30T11:31:19.281Z",
            "updated_at": "2023-09-30T11:31:19.281Z",
            "deleted_at": null,
            "name": "aed",
            "currency_code": "aed",
            "tax_rate": 0,
            "tax_code": null,
            "gift_cards_taxable": true,
            "automatic_taxes": true,
            "tax_provider_id": null,
            "metadata": null,
            "region_key": "region-aed",
            "countries": [
                {
                    "id": 234,
                    "iso_2": "ae",
                    "iso_3": "are",
                    "num_code": 784,
                    "name": "UNITED ARAB EMIRATES",
                    "display_name": "United Arab Emirates",
                    "region_id": "reg_001",
                    "flag": null
                }
            ],
            "payment_providers": [],
            "tax_rates": []
        },
        "sales_channel": {
            "id": "sc_01HANXCDR4ZKEK425Q7F3J3A14",
            "created_at": "2023-09-19T05:07:37.245Z",
            "updated_at": "2023-09-19T05:07:37.245Z",
            "deleted_at": null,
            "name": "Default Sales Channel",
            "description": "Created by Medusa",
            "is_disabled": false,
            "metadata": null
        },
        "shipping_address": {
            "id": "addr_01HC1SCNDQE2GS5416PYDJTEHN",
            "created_at": "2023-10-06T06:04:25.895Z",
            "updated_at": "2023-10-06T06:04:25.895Z",
            "deleted_at": null,
            "customer_id": null,
            "company": null,
            "first_name": null,
            "last_name": null,
            "address_1": null,
            "address_2": null,
            "city": null,
            "country_code": "ae",
            "province": null,
            "postal_code": null,
            "phone": null,
            "metadata": null,
            "user_id": null,
            "business_setup_id": null
        },
        "shipping_methods": [],
        "subtotal": 225,
        "discount_total": 0,
        "item_tax_total": 0,
        "shipping_total": 0,
        "shipping_tax_total": 0,
        "gift_card_total": 0,
        "gift_card_tax_total": 0,
        "tax_total": 0,
        "total": 225
    }
}