BE Elefin
  1. Elefin AI Internal Protected - not from orchestrator
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
    • Store
    • Store Bulk
    • 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
      POST
    • Ping
      GET
    • Simple Prompt
      POST
    • Extract PO
      POST
    • Parse NPWP
      POST
    • Check AI generated Potentials by Similarity
      POST
  • 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. Elefin AI Internal Protected - not from orchestrator

Check AI generated Potentials by Similarity

POST
/{{version}}internal/potential-products

Request

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

Examples

Responses

🟢200Check AI generated Potentials by Similarity
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://dev-api.elefin.id/{{version}}internal/potential-products' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": [
        {
            "user_input": {
                "name": "Unsalted Butter 200gr",
                "qty": 4,
                "unit": "Pcs"
            },
            "product_in_database": [
                {
                    "id": 644,
                    "name": "Unsalted Butter Elle & Vire (Mentega Tawar) 200gr",
                    "uom": "Pcs",
                    "product_unit": 1,
                    "price": 49500,
                    "supplier_code": "SKN",
                    "wholesale": null
                }
            ]
        },
        {
            "user_input": {
                "name": "Salmon Strout",
                "qty": 1,
                "unit": "kg"
            },
            "product_in_database": [
                {
                    "id": 831,
                    "name": "Salmon Fresh",
                    "uom": "Kg",
                    "product_unit": 1,
                    "price": 400000,
                    "supplier_code": "INSIG",
                    "wholesale": {
                        "tier1": 330000,
                        "qty1": 10,
                        "tier2": 300000,
                        "qty2": 20,
                        "tier3": 0,
                        "qty3": 0,
                        "tier4": 0,
                        "qty4": 0,
                        "tier5": 0,
                        "qty5": 0
                    }
                },
                {
                    "id": 900,
                    "name": "Frozen Salmon Trout steak portion",
                    "uom": "Kg",
                    "product_unit": 1,
                    "price": 259200,
                    "supplier_code": "FNB",
                    "wholesale": null
                },
                {
                    "id": 901,
                    "name": "Frozen Salmon Trout Fillet whole",
                    "uom": "Kg",
                    "product_unit": 1,
                    "price": 253800,
                    "supplier_code": "FNB",
                    "wholesale": null
                }
            ]
        }
    ],
    "uom": [
        {
            "id": 1,
            "product_uom": "Pcs"
        },
        {
            "id": 2,
            "product_uom": "Kg"
        },
        {
            "id": 3,
            "product_uom": "Gram"
        },
        {
            "id": 4,
            "product_uom": "Pack"
        },
        {
            "id": 5,
            "product_uom": "Botol"
        },
        {
            "id": 6,
            "product_uom": "Galon"
        },
        {
            "id": 7,
            "product_uom": "Karton"
        },
        {
            "id": 8,
            "product_uom": "Sak"
        },
        {
            "id": 9,
            "product_uom": "Meter"
        },
        {
            "id": 10,
            "product_uom": "Kaleng"
        },
        {
            "id": 11,
            "product_uom": "Batang"
        },
        {
            "id": 12,
            "product_uom": "Pail"
        },
        {
            "id": 14,
            "product_uom": "Unit"
        },
        {
            "id": 15,
            "product_uom": "Set"
        },
        {
            "id": 16,
            "product_uom": "Ekor"
        }
    ]
}'
Response Response Example
{
    "status": "success",
    "message": "",
    "data": [
        {
            "product_in_database": [
                {
                    "id": 644,
                    "name": "Unsalted Butter Elle & Vire (Mentega Tawar) 200gr"
                }
            ],
            "user_input": {
                "name": "Unsalted Butter 200gr",
                "qty": 4
            }
        },
        {
            "product_in_database": [
                {
                    "id": 900,
                    "name": "Frozen Salmon Trout steak portion"
                }
            ],
            "user_input": {
                "name": "Salmon Strout",
                "qty": 1
            }
        }
    ]
}
Modified at 2025-03-27 04:07:45
Previous
Parse NPWP
Next
Test Notification
Built with