• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Integrate Order With Fulfillment API

Knowledge Base
2
3
268
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    otheriz last edited by 8 Jul 2020, 02:41

    Dear Bagisto, Currently i want to integrate the bagisto order with fulfillment(delivery company) API, how to achieve this..

    1. Where is the last order file ? "thank you for order" file and how to get the order number ?
      on the "CheckoutController" i only see the "$order = $this->orderRepository->create(Cart::prepareDataForOrder());" line..but still don't have any idea how to pull the order number(or order id)..when user order the items..

    2. Relate to question one, How to achieve below data ? see marked "==="

    {
    "seller_nick": "xxxxx",
    "tid": "Unique External Order Id",  "==="
    "c_status": 1,
    "status": "Processing",
    "express_code": "",
    "seller_flag": "",
    "invoice_type": "",
    "invoice_title": "",
    "invoice_content": "",
    "invoice_amount": "",
    "express_no": "",
    "warehouse_code": "",
    "user_nick": "zzzzz", "==="
    "consignee": "zzzz", "==="
    "mobile": "999999999", "==="
    "email": "", "==="
    "address": "st zzzzzzz", "==="
    "province": "zzzz", "==="
    "city": "zzzzz", "==="
    "area": "zzzzzzz", "==="
    "zipcode": "0000", "==="
    "buyer_remark": null, "==="
    "seller_remark": "", "==="
    "order_price": "310.00", "==="
    "postage": "5", "==="
    "cod_price": "310.00", "==="
    "order_time": "2020-03-25 00:00:00",
    "payment_time": "2020-03-25 00:00:00",
    "payment_type": 1,
    "distribution_status": 1,
    "plat_lastchanged": "2020-03-25 00:00:00",
    "state": "zzz", "==="
    "payment_way": "COD",
    "shop_code": "zzzz",
    "detail": [
    {
    "title": "CHA-1", "==="
    "sku": "CHA-1", "==="
    "num": 1, "==="
    "goods_price": "100.00", "==="
    }
    ]
    }
    

    Please Advice,
    Thank You

    1 Reply Last reply Reply Quote 0
    • 15 days later
    • O
      otheriz last edited by 23 Jul 2020, 12:40

      Dear Bagisto team,

      Please advice..i still cannot find the way to get the [order number] after user click the 'Place Order' Button on the checkout menu..

      1 Reply Last reply Reply Quote 0
      • S
        shaiv-webkul last edited by 23 Jul 2020, 14:14

        what will you get when your print the $order ?

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post