Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
13 kB
6
Indexable
Never
{
    "status": 200,
    "code": "SUCCESS",
    "data": [
        {
            "vendor": {
                "id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                "name": "Berkat Pangan",
                "phone_number": "6281244445555",
                "bank_name": "Bank Permata",
                "bank_account_name": "berkatpangan",
                "bank_account_number": "987654321",
                "user_id": "986e7e92-3d8e-40b9-a1a5-1cf3893e753c",
                "created_at": "2023-02-10T04:29:34.000000Z",
                "updated_at": "2023-02-10T04:29:34.000000Z",
                "deleted_at": null,
                "email": "berkatpangan@example.com",
                "code": "V-4",
                "bank_code": null,
                "bank_numeric_code": null,
                "transfer_type": "STP",
                "locations": [
                    {
                        "id": "986ad23f-8563-4d8d-8cef-36df222fdac8",
                        "name": "Head Office Annex",
                        "created_at": "2023-02-08T08:40:13.000000Z",
                        "updated_at": "2023-09-14T14:35:52.000000Z",
                        "deleted_at": null,
                        "is_open": true,
                        "area": "JAKARTA",
                        "pivot": {
                            "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                            "location_id": "986ad23f-8563-4d8d-8cef-36df222fdac8"
                        }
                    }
                ]
            },
            "count": 5,
            "data": [
                {
                    "id": "99f3c754-0fc2-4f22-9bc1-9c3961d388f5",
                    "status": "UNRELEASED",
                    "amount": 1625000,
                    "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                    "stock_id": "9884a0d5-f924-4200-a5bd-5a8932640de6",
                    "created_at": "2023-08-22T16:50:02.000000Z",
                    "updated_at": "2023-08-22T16:50:02.000000Z",
                    "deleted_at": null,
                    "released_at": null,
                    "paid_at": null,
                    "stock": {
                        "id": "9884a0d5-f924-4200-a5bd-5a8932640de6",
                        "total": 30,
                        "item_id": "986e7f25-a5c2-4e8f-a113-128f14bcb486",
                        "item_order_id": "9884a0d5-cf93-41d9-80e4-6946362c6cb1",
                        "created_at": "2023-02-21T04:33:34.000000Z",
                        "updated_at": "2023-08-14T11:00:25.000000Z",
                        "deleted_at": null,
                        "sold": 13,
                        "order_amount": 30,
                        "purchase_price": 125000,
                        "selling_price": 137500,
                        "is_active": true,
                        "remaining": 17,
                        "received_at": "2023-07-22T17:15:19.000000Z",
                        "locked": 0,
                        "expired_at": "2023-08-21T17:15:19.000000Z",
                        "item": {
                            "id": "986e7f25-a5c2-4e8f-a113-128f14bcb486",
                            "code": "I-5",
                            "name": "Daging Sapi Rendang",
                            "purchase_price": 125000,
                            "selling_price": 200000,
                            "durability": 30,
                            "location_id": "986ad23f-8563-4d8d-8cef-36df222fdac8",
                            "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                            "created_at": "2023-02-10T04:31:09.000000Z",
                            "updated_at": "2023-05-13T17:17:31.000000Z",
                            "deleted_at": null
                        }
                    }
                },
                {
                    "id": "99fbd343-73df-4dce-af1c-c784fb3bc22c",
                    "status": "UNRELEASED",
                    "amount": 0,
                    "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                    "stock_id": "99f92dec-8464-4361-b74f-15e05388f98d",
                    "created_at": "2023-08-26T16:50:02.000000Z",
                    "updated_at": "2023-08-26T16:50:02.000000Z",
                    "deleted_at": null,
                    "released_at": null,
                    "paid_at": null,
                    "stock": {
                        "id": "99f92dec-8464-4361-b74f-15e05388f98d",
                        "total": 10,
                        "item_id": "9898b1ce-c6a4-4a74-b4b8-4655c7138885",
                        "item_order_id": "99f92dec-81e2-4902-9da8-e121d2a0928c",
                        "created_at": "2023-08-25T09:16:03.000000Z",
                        "updated_at": "2023-08-25T09:16:28.000000Z",
                        "deleted_at": null,
                        "sold": 0,
                        "order_amount": 10,
                        "purchase_price": 20000,
                        "selling_price": 30000,
                        "is_active": true,
                        "remaining": 10,
                        "received_at": "2023-08-25T09:16:28.000000Z",
                        "locked": 0,
                        "expired_at": "2023-08-26T09:16:28.000000Z",
                        "item": {
                            "id": "9898b1ce-c6a4-4a74-b4b8-4655c7138885",
                            "code": "I-19",
                            "name": "tahu",
                            "purchase_price": 20000,
                            "selling_price": 30000,
                            "durability": 1,
                            "location_id": "986ad23f-8563-4d8d-8cef-36df222fdac8",
                            "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                            "created_at": "2023-03-03T03:57:35.000000Z",
                            "updated_at": "2023-05-13T16:45:09.000000Z",
                            "deleted_at": null
                        }
                    }
                },
                {
                    "id": "99ff29fe-127e-41d2-aff9-d37b42fc1e2d",
                    "status": "UNRELEASED",
                    "amount": 0,
                    "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                    "stock_id": "99fd9a68-3b2d-4bd7-b2e3-e7b3167d55c3",
                    "created_at": "2023-08-28T08:40:02.000000Z",
                    "updated_at": "2023-08-28T08:40:02.000000Z",
                    "deleted_at": null,
                    "released_at": null,
                    "paid_at": null,
                    "stock": {
                        "id": "99fd9a68-3b2d-4bd7-b2e3-e7b3167d55c3",
                        "total": 12,
                        "item_id": "9898b1ce-c6a4-4a74-b4b8-4655c7138885",
                        "item_order_id": "99fd9a68-38c2-40a1-8c0a-7b0ec65430cb",
                        "created_at": "2023-08-27T14:02:42.000000Z",
                        "updated_at": "2023-08-27T14:03:22.000000Z",
                        "deleted_at": null,
                        "sold": 0,
                        "order_amount": 12,
                        "purchase_price": 20000,
                        "selling_price": 30000,
                        "is_active": true,
                        "remaining": 12,
                        "received_at": "2023-08-27T14:03:22.000000Z",
                        "locked": 0,
                        "expired_at": "2023-08-28T14:03:22.000000Z",
                        "item": {
                            "id": "9898b1ce-c6a4-4a74-b4b8-4655c7138885",
                            "code": "I-19",
                            "name": "tahu",
                            "purchase_price": 20000,
                            "selling_price": 30000,
                            "durability": 1,
                            "location_id": "986ad23f-8563-4d8d-8cef-36df222fdac8",
                            "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                            "created_at": "2023-03-03T03:57:35.000000Z",
                            "updated_at": "2023-05-13T16:45:09.000000Z",
                            "deleted_at": null
                        }
                    }
                },
                {
                    "id": "99ffd93b-bca5-4a12-8823-78d8a025d2f3",
                    "status": "UNRELEASED",
                    "amount": 0,
                    "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                    "stock_id": "99fef546-3e45-451c-991f-2c866d34ec83",
                    "created_at": "2023-08-28T16:50:02.000000Z",
                    "updated_at": "2023-08-28T16:50:02.000000Z",
                    "deleted_at": null,
                    "released_at": null,
                    "paid_at": null,
                    "stock": {
                        "id": "99fef546-3e45-451c-991f-2c866d34ec83",
                        "total": 10,
                        "item_id": "9898b1ce-c6a4-4a74-b4b8-4655c7138885",
                        "item_order_id": "99fef546-3b3e-40cf-93fa-d4db18490b2b",
                        "created_at": "2023-08-28T06:12:37.000000Z",
                        "updated_at": "2023-08-28T06:13:46.000000Z",
                        "deleted_at": null,
                        "sold": 0,
                        "order_amount": 10,
                        "purchase_price": 20000,
                        "selling_price": 30000,
                        "is_active": true,
                        "remaining": 10,
                        "received_at": "2023-08-28T06:13:46.000000Z",
                        "locked": 0,
                        "expired_at": "2023-08-28T06:13:46.000000Z",
                        "item": {
                            "id": "9898b1ce-c6a4-4a74-b4b8-4655c7138885",
                            "code": "I-19",
                            "name": "tahu",
                            "purchase_price": 20000,
                            "selling_price": 30000,
                            "durability": 1,
                            "location_id": "986ad23f-8563-4d8d-8cef-36df222fdac8",
                            "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                            "created_at": "2023-03-03T03:57:35.000000Z",
                            "updated_at": "2023-05-13T16:45:09.000000Z",
                            "deleted_at": null
                        }
                    }
                },
                {
                    "id": "9a03df33-dafc-4231-b145-75a65fb61c89",
                    "status": "UNRELEASED",
                    "amount": 48000,
                    "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                    "stock_id": "986ed9e5-6be2-41f5-9e26-9f331d5122ad",
                    "created_at": "2023-08-30T16:50:02.000000Z",
                    "updated_at": "2023-08-30T16:50:02.000000Z",
                    "deleted_at": null,
                    "released_at": null,
                    "paid_at": null,
                    "stock": {
                        "id": "986ed9e5-6be2-41f5-9e26-9f331d5122ad",
                        "total": 30,
                        "item_id": "986ed811-2bb6-4649-83e8-689d12d747f7",
                        "item_order_id": "986ed9e5-67ec-42f2-97f4-0ac511908691",
                        "created_at": "2023-02-10T08:44:55.000000Z",
                        "updated_at": "2023-08-29T09:16:35.000000Z",
                        "deleted_at": null,
                        "sold": 6,
                        "order_amount": 30,
                        "purchase_price": 8000,
                        "selling_price": 10000,
                        "is_active": true,
                        "remaining": 24,
                        "received_at": "2023-08-24T07:19:54.000000Z",
                        "locked": 0,
                        "expired_at": "2023-08-31T07:19:54.000000Z",
                        "item": {
                            "id": "986ed811-2bb6-4649-83e8-689d12d747f7",
                            "code": "I-11",
                            "name": "Ubi Cilembu",
                            "purchase_price": 8000,
                            "selling_price": 12000,
                            "durability": 7,
                            "location_id": "986ad23f-8563-4d8d-8cef-36df222fdac8",
                            "vendor_id": "986e7e93-2aad-4b3a-9c4f-29ca6a3860a8",
                            "created_at": "2023-02-10T08:39:48.000000Z",
                            "updated_at": "2023-05-13T17:11:18.000000Z",
                            "deleted_at": null
                        }
                    }
                }
            ]
        }
    ]
}