BE Elefin
  1. Buyer
BE Elefin
  • Supplier Settings (Back Office)
    • Supplier Code and Commission settings
      PATCH
    • Order Acception
      PATCH
  • Products
    • CREATE PRODUCT FROM EXCEL
      POST
    • Product Detail (Back Office)
      GET
  • Buyer
    • Auth
      • LOGIN
      • LOGIN V2
      • User List
    • Categories
      • Top Categories
    • Product
      • Get Product
    • addresses
      • GET Address
    • Check OUT
      POST
    • BANNER
      GET
  • Commission Validation
    • Dashboard List
      GET
    • Urgent Validation
      GET
    • Dashboard Detail
      GET
    • Validate Commission
      POST
    • Final Validation
      POST
    • Get Commission Supplier
      GET
  • Cart
    • GET CART
      GET
  • FILE Upload
    • File Upload
      POST
    • File Delete By URL
      DELETE
  • Supplier Specific MOV
    • Get Supplier Specific MOV
      GET
    • Store
      POST
    • Store Bulk
      POST
    • Delete
      DELETE
  • Orchestrator AI Related
    • Search Products Similarity after Extract PO, with payload similar to Extract PO
    • Cek Healt
    • Extract PO
    • Parse NPWP
  • Elefin AI Internal Protected - not from orchestrator
    • Extract Receipt Info
    • Ping
    • Simple Prompt
    • Extract PO
    • Parse NPWP
    • Check AI generated Potentials by Similarity
  • Supplier
    • Settings
      • Test Notification
    • Product
      • Product Price
    • Area
      • DATA AREA
      • Delete Area
    • BANK
      • Update Bank
    • Get Buyer List
    • SUPPLIER DETAIL
    • EDIT PRODUCT
    • Update MOV
  • Auth
    • Goole Login
    • GET USER BACKOFFICE
  • finance
    • Payment Transfer Aproval List
    • Payment Approval
  • delivery
    • DELIVERI PDF
    • Untitled Endpoint
  • Feature-Flags
    • BMI Feature
    • GET Feature
  • BMI
    • GET ACTIVE FEATURE
  • Backoffice
    • Paylater Update
    • Paylater Monthly Forecase
    • Update MOV
    • GET USER
  • revamp-be
    • AUTH
      • SIGNUP
    • user
      • GET USERS
    • TEST
  • keycloack
    • LOGIN
  • Change Include tax
    • Change TAX
  • BMI
    • TRANSACTION
      • TRIGER TRANSFER
        • INTRABANK
        • INTERBANK
        • SKN
        • RTGS
        • INQUIRY EXTERNAL
        • BULK
        • DETAIL BULK TRANSFER
        • BULK TEMPLATE EXCEL
        • BULK EXCEL
        • EMAIL
        • Inquiry US
      • BI-FAST
        • INQUIRY
        • TRANSFER
      • HISTORY
        • LIST
        • DETAIL
        • Download Excel
        • LOGS
    • BANK CODE
      • LIST
  • GET LOCAL
    GET
  • TEST-PDF
    GET
  • ADD RESTRICTION
    POST
  1. Buyer

Check OUT

Developing
POST
/trx/orders/{entityId}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟢201Success
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev-api.elefin.id/trx/orders/1a134ca8-b682-4e1e-aab2-4ef80fdba99a' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "expected_delivery_date": "2025-02-27",
    "items": [
        {
            "_id": "67c05a89dd73edd0c5307706",
            "product_id": 896,
            "product_name": "Frozen Tuna meat",
            "product_img": "https://res.cloudinary.com/elefin-id/image/upload/v1714449326/staging/supplier/product/whguychvvhwxnlyviyvk.jpg",
            "product_unit": 1,
            "product_notes": "",
            "product_uom": "Kg",
            "sku_elefin": "UFPEGNESB994T3QD",
            "price": 64800,
            "default_price": 64800,
            "quantity": 1,
            "minimum_order": 1,
            "wholesale": [],
            "buyer_id": "b65c5074-0cf4-43f8-a2d1-a2e610232dfd",
            "supplier_id": "02aefa47-8e36-4402-964f-b19e2e78b290",
            "supplier_code": "FNB",
            "merchant_name": "FOOD AND BEVERAGE",
            "commission_fee": "12.00",
            "commission_type_id": 1,
            "commission_method_id": 2,
            "is_active": true,
            "is_delete": false,
            "industry_id": 1,
            "selected": true,
            "bss_category_id": 1647,
            "bss_category_name": "Fish Frozen",
            "added_date": "2025-02-27T12:28:57.254Z",
            "supplier_selected": true,
            "subtotal": 64800
        },
        {
            "_id": "67c05a87dd73edd0c5307705",
            "product_id": 902,
            "product_name": "Frozen Kembung size 6/8, 8/10",
            "product_img": "https://res.cloudinary.com/elefin-id/image/upload/v1714449760/staging/supplier/product/cxmflmcgda8odcajuev9.jpg",
            "product_unit": 1,
            "product_notes": "",
            "product_uom": "Kg",
            "sku_elefin": "KMXLC1W5RZEPUBDQ",
            "price": 39140,
            "default_price": 39140,
            "quantity": 1,
            "minimum_order": 1,
            "wholesale": [],
            "buyer_id": "b65c5074-0cf4-43f8-a2d1-a2e610232dfd",
            "supplier_id": "02aefa47-8e36-4402-964f-b19e2e78b290",
            "supplier_code": "FNB",
            "merchant_name": "FOOD AND BEVERAGE",
            "commission_fee": "12.00",
            "commission_type_id": 1,
            "commission_method_id": 2,
            "is_active": true,
            "is_delete": false,
            "industry_id": 1,
            "selected": true,
            "bss_category_id": 1647,
            "bss_category_name": "Fish Frozen",
            "added_date": "2025-02-27T12:28:55.918Z",
            "supplier_selected": true,
            "subtotal": 39140
        }
    ],
    "mov": [
        {
            "entity_code": "FNB",
            "mov": 100000
        }
    ],
    "notes": "",
    "paymentMethod": "COD",
    "po_document": [],
    "remarks": "111",
    "shippingAddress": {
        "address": "JL. JENDERAL SUDIRMAN",
        "urban": "KARET",
        "subdistrict": "SETIA BUDI",
        "city_district": "JAKARTA SELATAN",
        "province": "DKI JAKARTA",
        "zipcode": 12920,
        "latitude": "-6.2128128",
        "longitude": "106.8662784",
        "is_active": true,
        "consignee_name": "DIMAS PRASETYO",
        "consignee_phone": "81290381995asd",
        "branch_name": "DIMAS RESTO",
        "is_main_address": true
    },
    "total_price": 103940,
    "email": "",
    "phone": ""
}'
Response Response Example
200 - Success
{
    "message": "Pemesanan berhasil dilakukan!",
    "result": [
        {
            "supplier_id": "02aefa47-8e36-4402-964f-b19e2e78b290",
            "pos_number": "POS/20250227/00000211"
        }
    ],
    "detailOrder": [
        {
            "pob_number": "POB/20250227/00000204",
            "total_price": 103940,
            "payment_type": "COD",
            "transaction_status_id": 2,
            "remarks": "111",
            "notes": "",
            "orders": [
                {
                    "pos_number": "POS/20250227/00000211",
                    "product_name": "Frozen Tuna meat",
                    "sku_elefin": "UFPEGNESB994T3QD",
                    "quantity": 1,
                    "product_unit": 1,
                    "product_uom": "Kg",
                    "product_notes": "",
                    "product_img": "https://res.cloudinary.com/elefin-id/image/upload/v1714449326/staging/supplier/product/whguychvvhwxnlyviyvk.jpg",
                    "price": 64800
                },
                {
                    "pos_number": "POS/20250227/00000211",
                    "product_name": "Frozen Kembung size 6/8, 8/10",
                    "sku_elefin": "KMXLC1W5RZEPUBDQ",
                    "quantity": 1,
                    "product_unit": 1,
                    "product_uom": "Kg",
                    "product_notes": "",
                    "product_img": "https://res.cloudinary.com/elefin-id/image/upload/v1714449760/staging/supplier/product/cxmflmcgda8odcajuev9.jpg",
                    "price": 39140
                }
            ],
            "createdAt": "2025-02-27T13:09:41.752Z"
        }
    ]
}
Modified at 2025-02-27 12:34:14
Previous
GET Address
Next
BANNER
Built with