{ "resources": { "order": { "id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "customer": { "id": "cus_01GSTA44K8SG6WFB513C9KC57H", "created_at": "2023-02-21T15:40:24.005Z", "updated_at": "2023-02-21T15:40:24.005Z", "deleted_at": null, "email": "test@medusajs.com", "first_name": null, "last_name": null, "billing_address_id": null, "phone": null, "has_account": false, "metadata": null }, "billing_address": { "id": "addr_01GSTA44KSG69HST8X5STW4X4D", "created_at": "2023-02-21T15:40:24.005Z", "updated_at": "2023-02-21T15:40:24.005Z", "deleted_at": null, "customer_id": null, "company": "Medusa JS", "first_name": "John", "last_name": "Adams", "address_1": "Faker Street 1", "address_2": "3 Floor", "city": "Copenhagen", "country_code": "dk", "province": "", "postal_code": "2100", "phone": "+45 11 11 11 11", "metadata": null }, "shipping_address": { "id": "addr_01GSTA44KS4DAZ954J244ZMFFQ", "created_at": "2023-02-21T15:40:24.005Z", "updated_at": "2023-02-21T15:40:24.005Z", "deleted_at": null, "customer_id": null, "company": "Medusa JS", "first_name": "John", "last_name": "Adams", "address_1": "Faker Street 1", "address_2": "3 Floor", "city": "Copenhagen", "country_code": "dk", "province": "", "postal_code": "2100", "phone": "+45 11 11 11 11", "metadata": null }, "discounts": [], "shipping_methods": [ { "id": "sm_01GSTA469WR4RDGS4GTQWXB6TJ", "shipping_option_id": "so_01GRNN1NWARH56TPQEVA98AQ3Q", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "claim_order_id": null, "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "swap_id": null, "return_id": null, "price": 1000, "data": {}, "tax_lines": [ { "id": "smtl_01GSTA47TNK3CE07R1K339R84Q", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 12, "name": "Shipping Tax", "code": "1001", "metadata": null, "shipping_method_id": "sm_01GSTA469WR4RDGS4GTQWXB6TJ" } ], "shipping_option": { "id": "so_01GRNN1NWARH56TPQEVA98AQ3Q", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "name": "PostFake Standard", "region_id": "reg_01GRNN1NVF08G13QK7X1A1D7ME", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "provider_id": "manual", "price_type": "flat_rate", "amount": 1000, "is_return": false, "admin_only": false, "data": { "id": "manual-fulfillment" }, "metadata": null }, "original_total": 1120, "total": 1120, "subtotal": 1000, "original_tax_total": 120, "tax_total": 120 } ], "payments": [ { "id": "pay_01GSTA47XR3PWKRSR8VNVEW5BP", "created_at": "2023-02-21T15:40:27.371Z", "updated_at": "2023-02-21T15:40:57.234Z", "swap_id": null, "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "amount": 25621, "currency_code": "eur", "amount_refunded": 0, "provider_id": "manual", "data": { "status": "captured" }, "captured_at": "2023-02-21T15:40:57.249Z", "canceled_at": null, "metadata": null, "idempotency_key": null } ], "fulfillments": [ { "id": "ful_01GSTA4ZKSH4XHMP3KK8051K3F", "created_at": "2023-02-21T15:40:51.601Z", "updated_at": "2023-02-21T15:40:56.438Z", "claim_order_id": null, "swap_id": null, "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "no_notification": false, "provider_id": "manual", "location_id": null, "tracking_numbers": [], "data": {}, "shipped_at": "2023-02-21T15:40:56.471Z", "canceled_at": null, "metadata": {}, "idempotency_key": null, "tracking_links": [ { "id": "tlink_01GSTA548XTW7BW3S9K1XZQT2Z", "created_at": "2023-02-21T15:40:56.438Z", "updated_at": "2023-02-21T15:40:56.438Z", "deleted_at": null, "url": null, "tracking_number": "", "fulfillment_id": "ful_01GSTA4ZKSH4XHMP3KK8051K3F", "idempotency_key": null, "metadata": null } ], "items": [ { "fulfillment_id": "ful_01GSTA4ZKSH4XHMP3KK8051K3F", "item_id": "item_01GSTA1WVGGAY813BXCXRERKTE", "quantity": 2 }, { "fulfillment_id": "ful_01GSTA4ZKSH4XHMP3KK8051K3F", "item_id": "item_01GSTA1EH1N1003F1KAAW84F1K", "quantity": 3 }, { "fulfillment_id": "ful_01GSTA4ZKSH4XHMP3KK8051K3F", "item_id": "item_01GSTA1PHVQ3ABQ6QE5SFTE5D4", "quantity": 1 } ] } ], "returns": [ { "id": "ret_01GSTAH5KCXN3C33ZV89RAR1ST", "created_at": "2023-02-21T15:47:30.935Z", "updated_at": "2023-02-21T15:47:30.935Z", "status": "requested", "swap_id": null, "claim_order_id": null, "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "location_id": null, "shipping_data": {}, "refund_amount": 2005, "received_at": null, "no_notification": null, "metadata": null, "idempotency_key": "92e98634-51cd-483e-bb16-213c897ef79e", "shipping_method": { "id": "sm_01GSTAH5KPVRT3K4NVMZENHKFZ", "shipping_option_id": "so_01GRNN1NWMB14N8FDNK71CTHMG", "order_id": null, "claim_order_id": null, "cart_id": null, "swap_id": null, "return_id": "ret_01GSTAH5KCXN3C33ZV89RAR1ST", "price": 1000, "data": {}, "tax_lines": [ { "id": "smtl_01GSTAH5KX2184XXJXW5PYFY0T", "created_at": "2023-02-21T15:47:30.935Z", "updated_at": "2023-02-21T15:47:30.935Z", "rate": 12, "name": "Shipping Tax", "code": "1001", "metadata": null, "shipping_method_id": "sm_01GSTAH5KPVRT3K4NVMZENHKFZ" } ], "shipping_option": { "id": "so_01GRNN1NWMB14N8FDNK71CTHMG", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "name": "PostFake Return", "region_id": "reg_01GRNN1NVF08G13QK7X1A1D7ME", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "provider_id": "manual", "price_type": "flat_rate", "amount": 1000, "is_return": true, "admin_only": false, "data": { "id": "manual-fulfillment" }, "metadata": null } }, "items": [ { "return_id": "ret_01GSTAH5KCXN3C33ZV89RAR1ST", "item_id": "item_01GSTA1WVGGAY813BXCXRERKTE", "quantity": 1, "is_requested": true, "requested_quantity": 1, "received_quantity": null, "reason_id": null, "note": null, "metadata": {}, "reason": null } ] } ], "gift_cards": [], "gift_card_transactions": [], "claims": [], "swaps": [], "sales_channel": { "id": "sc_01GRNN1BF3T4XKV0YQHZGAAMDR", "created_at": "2023-02-07T09:59:13.039Z", "updated_at": "2023-02-07T09:59:13.039Z", "deleted_at": null, "name": "Default Sales Channel", "description": "Created by Medusa", "is_disabled": false }, "items": [ { "id": "item_01GSTA1WVGGAY813BXCXRERKTE", "created_at": "2023-02-21T15:39:10.518Z", "updated_at": "2023-02-21T15:40:56.438Z", "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "swap_id": null, "claim_order_id": null, "original_item_id": null, "order_edit_id": null, "title": "Medusa Shorts", "description": "S", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-front.png", "is_return": false, "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": true, "unit_price": 2500, "variant_id": "variant_01GRNN1P3G52FQZX34FP3MPF1R", "quantity": 2, "fulfilled_quantity": 2, "returned_quantity": null, "shipped_quantity": 2, "metadata": {}, "tax_lines": [ { "id": "litl_01GSTA47TMPPM07GXTWPHM75MR", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 25, "name": "default", "code": "default", "metadata": null, "item_id": "item_01GSTA1WVGGAY813BXCXRERKTE" } ], "adjustments": [], "variant": { "id": "variant_01GRNN1P3G52FQZX34FP3MPF1R", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-21T15:40:27.466Z", "deleted_at": null, "title": "S", "product_id": "prod_01GRNN1P39RSS9YEVST5429MS2", "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 93, "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": null, "product": { "id": "prod_01GRNN1P39RSS9YEVST5429MS2", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "title": "Medusa Shorts", "subtitle": null, "description": "Reimagine the feeling of classic shorts. With our cotton shorts, everyday essentials no longer have to be ordinary.", "handle": "shorts", "is_giftcard": false, "status": "published", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-front.png", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "weight": 400, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "discountable": true, "external_id": null, "metadata": null } }, "refundable": 6250, "subtotal": 5000, "discount_total": 0, "total": 6250, "original_total": 6250, "original_tax_total": 1250, "tax_total": 1250 }, { "id": "item_01GSTA1EH1N1003F1KAAW84F1K", "created_at": "2023-02-21T15:38:55.848Z", "updated_at": "2023-02-21T15:40:56.438Z", "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "swap_id": null, "claim_order_id": null, "original_item_id": null, "order_edit_id": null, "title": "Medusa Hoodie", "description": "M", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_front.png", "is_return": false, "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": true, "unit_price": 3650, "variant_id": "variant_01GRNN1P510DGR9ZCH9M3HTMNV", "quantity": 3, "fulfilled_quantity": 3, "returned_quantity": null, "shipped_quantity": 3, "metadata": {}, "tax_lines": [ { "id": "litl_01GSTA47TM89SPB8PM86GC1A8M", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 25, "name": "default", "code": "default", "metadata": null, "item_id": "item_01GSTA1EH1N1003F1KAAW84F1K" } ], "adjustments": [], "variant": { "id": "variant_01GRNN1P510DGR9ZCH9M3HTMNV", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-21T15:40:27.466Z", "deleted_at": null, "title": "M", "product_id": "prod_01GRNN1P4JJYMMK9GT3TTTM790", "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 89, "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": null, "product": { "id": "prod_01GRNN1P4JJYMMK9GT3TTTM790", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "title": "Medusa Hoodie", "subtitle": null, "description": "Reimagine the feeling of a classic hoodie. With our cotton hoodie, everyday essentials no longer have to be ordinary.", "handle": "hoodie", "is_giftcard": false, "status": "published", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_front.png", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "weight": 400, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "discountable": true, "external_id": null, "metadata": null } }, "refundable": 13688, "subtotal": 10950, "discount_total": 0, "total": 13688, "original_total": 13688, "original_tax_total": 2738, "tax_total": 2738 }, { "id": "item_01GSTA1PHVQ3ABQ6QE5SFTE5D4", "created_at": "2023-02-21T15:39:04.082Z", "updated_at": "2023-02-21T15:40:56.438Z", "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "swap_id": null, "claim_order_id": null, "original_item_id": null, "order_edit_id": null, "title": "Medusa Longsleeve", "description": "L", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-front.png", "is_return": false, "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": true, "unit_price": 3650, "variant_id": "variant_01GRNN1P6RJYEW96BS7SP3KTZV", "quantity": 1, "fulfilled_quantity": 1, "returned_quantity": null, "shipped_quantity": 1, "metadata": {}, "tax_lines": [ { "id": "litl_01GSTA47TM4A6EYS06R3134M39", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 25, "name": "default", "code": "default", "metadata": null, "item_id": "item_01GSTA1PHVQ3ABQ6QE5SFTE5D4" } ], "adjustments": [], "variant": { "id": "variant_01GRNN1P6RJYEW96BS7SP3KTZV", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-21T15:40:27.466Z", "deleted_at": null, "title": "L", "product_id": "prod_01GRNN1P5YKY933BMWDSZCYWCB", "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 90, "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": null, "product": { "id": "prod_01GRNN1P5YKY933BMWDSZCYWCB", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "title": "Medusa Longsleeve", "subtitle": null, "description": "Reimagine the feeling of a classic longsleeve. With our cotton longsleeve, everyday essentials no longer have to be ordinary.", "handle": "longsleeve", "is_giftcard": false, "status": "published", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-front.png", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "weight": 400, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "discountable": true, "external_id": null, "metadata": null } }, "refundable": 4563, "subtotal": 3650, "discount_total": 0, "total": 4563, "original_total": 4563, "original_tax_total": 913, "tax_total": 913 } ], "refunds": [], "region": { "id": "reg_01GRNN1NVF08G13QK7X1A1D7ME", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-10T10:54:29.002Z", "deleted_at": null, "name": "EU", "currency_code": "eur", "tax_rate": 25, "tax_code": "1000", "gift_cards_taxable": true, "automatic_taxes": true, "tax_provider_id": null, "metadata": null, "payment_providers": [ { "id": "manual", "is_installed": true } ], "fulfillment_providers": [ { "id": "manual", "is_installed": true } ] }, "created_at": "2023-02-21T15:40:27.466Z", "updated_at": "2023-02-21T15:40:57.234Z", "status": "pending", "fulfillment_status": "shipped", "payment_status": "captured", "display_id": 15, "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "customer_id": "cus_01GSTA44K8SG6WFB513C9KC57H", "email": "test@medusajs.com", "region_id": "reg_01GRNN1NVF08G13QK7X1A1D7ME", "currency_code": "eur", "tax_rate": null, "draft_order_id": null, "canceled_at": null, "metadata": {}, "no_notification": null, "sales_channel_id": "sc_01GRNN1BF3T4XKV0YQHZGAAMDR", "subtotal": 19600, "discount_total": 0, "shipping_total": 1000, "refunded_total": 0, "paid_total": 25621, "refundable_amount": 25621, "gift_card_total": 0, "gift_card_tax_total": 0, "tax_total": 5021, "total": 25621, "returnable_items": [ { "id": "item_01GSTA1WVGGAY813BXCXRERKTE", "created_at": "2023-02-21T15:39:10.518Z", "updated_at": "2023-02-21T15:40:56.438Z", "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "swap_id": null, "claim_order_id": null, "original_item_id": null, "order_edit_id": null, "title": "Medusa Shorts", "description": "S", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-front.png", "is_return": false, "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": true, "unit_price": 2500, "variant_id": "variant_01GRNN1P3G52FQZX34FP3MPF1R", "quantity": 2, "fulfilled_quantity": 2, "returned_quantity": null, "shipped_quantity": 2, "metadata": {}, "tax_lines": [ { "id": "litl_01GSTA47TMPPM07GXTWPHM75MR", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 25, "name": "default", "code": "default", "metadata": null, "item_id": "item_01GSTA1WVGGAY813BXCXRERKTE" } ], "adjustments": [], "variant": { "id": "variant_01GRNN1P3G52FQZX34FP3MPF1R", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-21T15:40:27.466Z", "deleted_at": null, "title": "S", "product_id": "prod_01GRNN1P39RSS9YEVST5429MS2", "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 93, "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": null, "product": { "id": "prod_01GRNN1P39RSS9YEVST5429MS2", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "title": "Medusa Shorts", "subtitle": null, "description": "Reimagine the feeling of classic shorts. With our cotton shorts, everyday essentials no longer have to be ordinary.", "handle": "shorts", "is_giftcard": false, "status": "published", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-front.png", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "weight": 400, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "discountable": true, "external_id": null, "metadata": null } }, "refundable": 6250, "subtotal": 5000, "discount_total": 0, "total": 6250, "original_total": 6250, "original_tax_total": 1250, "tax_total": 1250 }, { "id": "item_01GSTA1EH1N1003F1KAAW84F1K", "created_at": "2023-02-21T15:38:55.848Z", "updated_at": "2023-02-21T15:40:56.438Z", "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "swap_id": null, "claim_order_id": null, "original_item_id": null, "order_edit_id": null, "title": "Medusa Hoodie", "description": "M", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_front.png", "is_return": false, "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": true, "unit_price": 3650, "variant_id": "variant_01GRNN1P510DGR9ZCH9M3HTMNV", "quantity": 3, "fulfilled_quantity": 3, "returned_quantity": null, "shipped_quantity": 3, "metadata": {}, "tax_lines": [ { "id": "litl_01GSTA47TM89SPB8PM86GC1A8M", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 25, "name": "default", "code": "default", "metadata": null, "item_id": "item_01GSTA1EH1N1003F1KAAW84F1K" } ], "adjustments": [], "variant": { "id": "variant_01GRNN1P510DGR9ZCH9M3HTMNV", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-21T15:40:27.466Z", "deleted_at": null, "title": "M", "product_id": "prod_01GRNN1P4JJYMMK9GT3TTTM790", "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 89, "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": null, "product": { "id": "prod_01GRNN1P4JJYMMK9GT3TTTM790", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "title": "Medusa Hoodie", "subtitle": null, "description": "Reimagine the feeling of a classic hoodie. With our cotton hoodie, everyday essentials no longer have to be ordinary.", "handle": "hoodie", "is_giftcard": false, "status": "published", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_front.png", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "weight": 400, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "discountable": true, "external_id": null, "metadata": null } }, "refundable": 13688, "subtotal": 10950, "discount_total": 0, "total": 13688, "original_total": 13688, "original_tax_total": 2738, "tax_total": 2738 }, { "id": "item_01GSTA1PHVQ3ABQ6QE5SFTE5D4", "created_at": "2023-02-21T15:39:04.082Z", "updated_at": "2023-02-21T15:40:56.438Z", "cart_id": "cart_01GSFEBXWJVE98EZND0DTS63CN", "order_id": "order_01GSTA4818Y41HC2M0A7QPY3RC", "swap_id": null, "claim_order_id": null, "original_item_id": null, "order_edit_id": null, "title": "Medusa Longsleeve", "description": "L", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-front.png", "is_return": false, "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": true, "unit_price": 3650, "variant_id": "variant_01GRNN1P6RJYEW96BS7SP3KTZV", "quantity": 1, "fulfilled_quantity": 1, "returned_quantity": null, "shipped_quantity": 1, "metadata": {}, "tax_lines": [ { "id": "litl_01GSTA47TM4A6EYS06R3134M39", "created_at": "2023-02-21T15:40:27.313Z", "updated_at": "2023-02-21T15:40:27.466Z", "rate": 25, "name": "default", "code": "default", "metadata": null, "item_id": "item_01GSTA1PHVQ3ABQ6QE5SFTE5D4" } ], "adjustments": [], "variant": { "id": "variant_01GRNN1P6RJYEW96BS7SP3KTZV", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-21T15:40:27.466Z", "deleted_at": null, "title": "L", "product_id": "prod_01GRNN1P5YKY933BMWDSZCYWCB", "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 90, "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": null, "product": { "id": "prod_01GRNN1P5YKY933BMWDSZCYWCB", "created_at": "2023-02-07T09:59:23.729Z", "updated_at": "2023-02-07T09:59:23.729Z", "deleted_at": null, "title": "Medusa Longsleeve", "subtitle": null, "description": "Reimagine the feeling of a classic longsleeve. With our cotton longsleeve, everyday essentials no longer have to be ordinary.", "handle": "longsleeve", "is_giftcard": false, "status": "published", "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-front.png", "profile_id": "sp_01GRNN1BDZHT21Y2KT0FZJDJF7", "weight": 400, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "discountable": true, "external_id": null, "metadata": null } }, "refundable": 4563, "subtotal": 3650, "discount_total": 0, "total": 4563, "original_total": 4563, "original_tax_total": 913, "tax_total": 913 } ] }, "return": { "id": "ret_01F0YET7XPCMF8RZ0Y151NZV2V", "status": "requested", "items": [ { "return_id": "ret_01F0YET7XPCMF8RZ0Y151NZV2V", "item_id": "item_01GSTA1WVGGAY813BXCXRERKTE", "quantity": 1, "is_requested": true, "requested_quantity": 1, "received_quantity": null, "reason_id": null, "reason": null, "note": null, "metadata": null } ], "swap_id": null, "claim_order_id": null, "order_id": "order_01F0YET7RD6NWQTEM0ZN5DRRVD", "shipping_method": null, "shipping_data": null, "refund_amount": 7200, "received_at": null, "created_at": "2021-03-16T21:24:36.381Z", "updated_at": "2021-03-16T21:24:36.381Z", "metadata": null, "idempotency_key": "f3dee891-7a24-4e34-9071-62606035563d" }, "shipping_option": { "id": "so_01F0YES4T6ZHH52Z4KZEDT1312", "name": "Free Shipping", "region_id": "reg_01F0YES4R67TXXC1QBQ8P54A8Y", "region": { "id": "reg_01F0YES4R67TXXC1QBQ8P54A8Y", "name": "Test Region", "currency_code": "usd", "tax_rate": "0", "tax_code": null, "payment_providers": [], "fulfillment_providers": [ { "id": "test-ful", "is_installed": true } ], "created_at": "2021-03-16T21:24:00.389Z", "updated_at": "2021-03-16T21:24:00.389Z", "deleted_at": null, "metadata": null }, "profile_id": "sp_01F0YES4Q77FGG18GPFWW5BZP9", "profile": { "id": "sp_01F0YES4Q77FGG18GPFWW5BZP9", "name": "Default Shipping Profile", "type": "default", "created_at": "2021-03-16T21:24:00.307Z", "updated_at": "2021-03-16T21:24:00.307Z", "deleted_at": null, "metadata": null }, "provider_id": "test-ful", "price_type": "flat_rate", "amount": 100, "is_return": false, "requirements": [], "data": {}, "created_at": "2021-03-16T21:24:00.439Z", "updated_at": "2021-03-16T21:24:00.439Z", "deleted_at": null, "metadata": null }, "line_item": { "id": "test-item", "cart_id": "cart_01F0YES82DA12W88KQ90EY6W4C", "order_id": null, "swap_id": null, "claim_order_id": null, "title": "Line Item", "description": "Line Item Desc", "thumbnail": "https://test.js/1234", "is_giftcard": false, "should_merge": true, "allow_discounts": true, "has_shipping": null, "unit_price": 8000, "variant_id": "variant_01F0YET7BMD9FGWA5NTPBWT2SS", "variant": { "id": "variant_01F0YET7BMD9FGWA5NTPBWT2SS", "title": "test variant", "product_id": "prod_01F0YET7BA4AQ8WEK687BNWP3N", "product": { "id": "prod_01F0YET7BA4AQ8WEK687BNWP3N", "title": "test product", "subtitle": null, "description": null, "handle": "test-product", "is_giftcard": false, "thumbnail": null, "profile_id": "sp_01F0YET7AF62TCC9CMWK5TXXAQ", "weight": null, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": null, "type_id": null, "created_at": "2021-03-16T21:24:35.818Z", "updated_at": "2021-03-16T21:24:35.818Z", "deleted_at": null, "metadata": null }, "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 1, "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, "created_at": "2021-03-16T21:24:35.828Z", "updated_at": "2021-03-16T21:24:35.828Z", "deleted_at": null, "metadata": null }, "quantity": 1, "fulfilled_quantity": 1, "returned_quantity": null, "shipped_quantity": null, "created_at": "2021-03-16T21:24:35.871Z", "updated_at": "2021-03-16T21:24:35.871Z", "metadata": null, "refundable": 7200 }, "return_reason": { "id": "rr_01F0ZXDBAB9KVZWJVW6115VEM7", "value": "too_big", "label": "Size too big", "description": "use if the size was too big", "created_at": "2021-03-17 11:58:56.975971+01", "updated_at": "2021-03-17 12:09:59.156058+01", "metadata": null, "parent_return_reason_id": null }, "customer": { "id": "cus_01F0YESQXFZ5WKMHTXJ4JDPBDZ", "email": "test1@email.com", "first_name": null, "last_name": null, "billing_address_id": null, "password_hash": null, "phone": null, "has_account": false, "orders": [], "created_at": "2021-03-16T21:24:20.015Z", "updated_at": "2021-03-16T21:24:20.015Z", "deleted_at": null, "metadata": null }, "user": { "id": "admin_user", "email": "admin@medusa.js", "role": "admin", "first_name": null, "last_name": null, "api_token": "test_token", "created_at": "2021-03-16T21:24:29.411Z", "updated_at": "2021-03-16T21:24:29.411Z", "deleted_at": null, "metadata": null }, "product": { "id": "prod_01F0YESHQ27Y31CAMD0NV6W9YP", "title": "Test product", "subtitle": null, "description": "test-product-description", "handle": "test-product", "is_giftcard": false, "images": [], "thumbnail": null, "options": [ { "id": "opt_01F0YESHQBZVKCEXJ24BS6PCX3", "title": "size", "product_id": "prod_01F0YESHQ27Y31CAMD0NV6W9YP", "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null }, { "id": "opt_01F0YESHQBV8MMNN4V7WSDMH6G", "title": "color", "product_id": "prod_01F0YESHQ27Y31CAMD0NV6W9YP", "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null } ], "variants": [ { "id": "variant_01F0YESHR7P2YAYBDBY5B6X3PK", "title": "Test variant", "product_id": "prod_01F0YESHQ27Y31CAMD0NV6W9YP", "product": { "id": "prod_01F0YESHQ27Y31CAMD0NV6W9YP", "title": "Test product", "subtitle": null, "description": "test-product-description", "handle": "test-product", "is_giftcard": false, "thumbnail": null, "profile_id": "sp_01F0YESHMKRB4V3B7F6MVQHGNN", "weight": null, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": "test-collection", "type_id": "test-type", "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null }, "prices": [ { "id": "ma_01F0YESHRFQNH5S8Q0PK84YYZN", "currency_code": "usd", "amount": 100, "sale_amount": null, "variant_id": "variant_01F0YESHR7P2YAYBDBY5B6X3PK", "region_id": null, "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null } ], "sku": null, "barcode": null, "ean": null, "upc": null, "inventory_quantity": 10, "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, "options": [ { "id": "optval_01F0YESHR7S6ECD03RF6W12DSJ", "value": "large", "option_id": "opt_01F0YESHQBZVKCEXJ24BS6PCX3", "variant_id": "variant_01F0YESHR7P2YAYBDBY5B6X3PK", "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null }, { "id": "optval_01F0YESHR7N2GHM1RN3GKYPN6P", "value": "green", "option_id": "opt_01F0YESHQBV8MMNN4V7WSDMH6G", "variant_id": "variant_01F0YESHR7P2YAYBDBY5B6X3PK", "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null } ], "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null } ], "profile_id": "sp_01F0YESHMKRB4V3B7F6MVQHGNN", "weight": null, "length": null, "height": null, "width": null, "hs_code": null, "origin_country": null, "mid_code": null, "material": null, "collection_id": "test-collection", "collection": { "id": "test-collection", "title": "Test collection", "handle": null, "created_at": "2021-03-16T21:24:13.603Z", "updated_at": "2021-03-16T21:24:13.603Z", "deleted_at": null, "metadata": null }, "type_id": "test-type", "type": { "id": "test-type", "value": "test-type", "created_at": "2021-03-16T21:24:13.613Z", "updated_at": "2021-03-16T21:24:13.613Z", "deleted_at": null, "metadata": null }, "tags": [ { "id": "tag1", "value": "123", "created_at": "2021-03-16T21:24:13.609Z", "updated_at": "2021-03-16T21:24:13.609Z", "deleted_at": null, "metadata": null }, { "id": "ptag_01F0YESHPZYY3H4SJ3A5918SBN", "value": "456", "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "deleted_at": null, "metadata": null } ], "created_at": "2021-03-16T21:24:13.657Z", "updated_at": "2021-03-16T21:24:13.657Z", "metadata": null }, "store": { "id": "store_01F0YESXYNJNTJJY5G5Z26KHKJ", "name": "Medusa Store", "default_currency_code": "usd", "default_currency": { "code": "usd", "symbol": "$", "symbol_native": "$", "name": "US Dollar" }, "currencies": [], "swap_link_template": null, "created_at": "2021-03-16T21:24:26.191Z", "updated_at": "2021-03-16T21:24:26.191Z", "metadata": null, "payment_providers": [ { "id": "test-pay", "is_installed": true } ], "fulfillment_providers": [ { "id": "test-ful", "is_installed": true } ] } } }