bosOnline
  1. Checkout
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh
      • Logout
    • Product
      • Inventory
      • Update Inventory
      • Download Inventory
      • Download Variant
      • Get Category
      • Get Edit Product
      • Delete Product
      • Product List
      • product
      • Edit Product Detail (Product Detail)
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU Variant
      • Cek SKU Product
    • Form
      • Form
      • Form list
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
      • Delete Form
      • Form list Donwload
      • Duplicate form
      • Duplicate form batch
    • Order
      • Checkout
        • Request Create Order
          POST
        • Request Create Order Abandoned
          POST
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
        PUT
      • Edit Payment Method
        PATCH
      • Update Pengiriman Kurir
        PATCH
      • Confirm Payment
        PUT
      • Validation Number WA
        GET
      • Order List
        GET
      • Recap Order List
        GET
      • Update Status Order
        PUT
      • Load checkout Form
        GET
      • Estimation Rates
        GET
      • Download Order List
        POST
      • Cetak Invoice
        POST
      • Courier List
        GET
      • Update Payment Method
        PUT
      • Detail Order
        GET
      • Edit Customer Order
        PUT
      • Edit Another Fee
        PUT
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Get Revenue
      • Tips
      • Announcement
      • Store
      • Store
      • Cek SubDomain
      • Edit Subdomain
      • On Boarding
      • Warehouse
      • Get Region
      • Get Province List
      • Get Notification
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Forgot Password (Reset Password)
      • Warehouse
      • Order Shipping
      • winpay service
      • Saldo BosPay
      • Validation Number WA With store
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Account Deletion
      • Default Warehouse
      • Me
    • Staff
      • Create Staff
      • Delete staff
      • Staff List
      • Edit Status Staff
      • Update staff
      • Edit Multi Status Staff
    • Rekening
      • Bank List
      • Get Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
      • Edit Voucher Status
      • Voucher
      • List Voucher Checkout
      • Delete Voucher
    • Session
      • Active Sesion
      • Sesion History
      • Logout All Outher Session
      • Logout Session ID
  • AdminBosOnline
    • Dashboard
      • Header Summary
      • Get Popular Products
      • Rekap Product
      • Revenue
      • Get Top Seller
    • Seller
      • Detail
        • Seller Detail
        • Update Seller Detail Status & Marking
        • Seller Store
        • Update Detail Seller Store
        • Seller Product
        • Download Product Seller
        • Update Status Produk Seller
        • Seller Warehouse List
        • Seller Note
        • Create Seller Note
        • Update Seller Note
        • Seller Domains
      • Seller Summary
      • Seller List
      • Seller Active Status
      • Update Marking Sellers
      • Detail Bank Seller
    • Products
      • Recap Product
      • Get List Product
      • Download list product
      • Edit status product
      • Update Marking Product
      • Detail Product Seller
      • Detail Product Variant
      • Download Product Variant
      • Product Form
    • Order
      • Order Recap
      • Order List
      • Download Order
      • Detail Order
      • Cetak Invoice
    • Store
      • Create Store
      • Upload Image Custom
    • auth
      • Get User Internal
      • Get Detail User Internal
      • Create Internal User
      • Edit Detail Internal User
      • Update Active User Internal
      • Delete Internal User
    • Cache
      • All Cache
      • Cache Statistics
      • Flush All Cache
      • Specific Cache key
      • Specific Cache Pattern
      • Specific Cache User
  1. Checkout

Request Create Order

Testing
POST
/order/{id}
Endpoint ini digunakan untuk request create order yang terhubung melalui API Create Order BosCOD. Respon yang didapat yaitu resi atas order yang dibuat. Page Order List Button Atur Pengiriman.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/order/d9cc7807-36c2-4eb1-b910-ece18a1bbb6e' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sender": {
        "warehouse_name": "Alfian",
        "sender_name": "Alfian",
        "sender_phone": "081732131321",
        "sender_addr_id": 15022,
        "sender_detail": "Bukit Kismadani 6",
        "sender_latitude": 2.9372132131231,
        "sender_longitude": 3.41321312312312
    },
    "receiver": {
        "receiver_name": "Faisol",
        "receiver_phone": "083131412312",
        "receiver_addr_id": 15022,
        "receiver_address": "BUkit Kismadani1",
        "receiver_detail": [
            {
                "field_name": "Nama Pembeli",
                "value": "kiroomin Muqorrobin"
            },
            {
                "field_name": "Alamat Email",
                "value": "mkiroomin@gmail.com"
            }
        ]
    },
    "items": {
        "pickup_via": 0,
        "service_code": "00",
        "insurance_type": 1,
        "courier_code": "idx",
        "note": null,
        "payment_method": {
            "type": "cod",
            "bank": null
        },
        "order_type": 0,
        "delivery_voucher_code": null,
        "discount_voucher_code": null,
        "wa_validation": true,
        "order_items": [
            {
                "item_sku": "BAT-AA-001-01",
                "item_qty": 1
            },
            {
                "item_sku": "BAT-AA-001-02",
                "item_qty": 1
            }
        ]
    }
}'
Response Response Example
200 - Success
{
    "data": {
        "cs_phone": "6289765183712",
        "payment": [
            {
                "bank_atasnama": "Mohammad Alfian R aja",
                "bank_code": "BCA",
                "bank_name": "BANK CENTRAL ASIA",
                "bank_rekening": "345193134434",
                "file_name": "uploads/bank/",
                "file_path": "bca.jpg"
            }
        ],
        "product_name": "Kopi Arabica",
        "social_media": [
            {
                "name": "facebook",
                "url": "https://facebook.com"
            },
            {
                "name": "instagram",
                "url": "https://instagram.com"
            }
        ],
        "total_payment": 102200
    },
    "message": "Lakukan pembayaran ke salah satu bank berikut agar segera kami proses pesananmu"
}

Request

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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🔴503Service Unavailable
🟠404Record not found
🟠400Invalid input
Previous
Duplicate form batch
Next
Request Create Order Abandoned
Built with