Purchase

Create RFQ (Request for Quotation)

{
  "id": "839dj3ud9829302jd",
  "action": "create",
  "model_id": "purchase.order",
  "keyword": {
    "context": {
      "allowed_company_ids": [
        1
      ],
      "default_company_id": 1,
      "tz": "Asia/Singapore"
    }
  },
  "params": [
    [
      {
        "partner_id": 14,
        "date_planned": "2025-12-12 00:00:00",
        "order_line": [
          [
            0,
            0,
            {
              "product_id": 14,
              "product_qty": 5,
              "price_unit": 1000
            }
          ]
        ]
      }
    ]
  ],
  "odoo_instance": {
    "url": "YOUR_ODOO_INSTANCE_URL",
    "user_id": INT(YOUR_USER_ID),
    "db": "YOUR_ODOO_DB",
    "api_key": "YOUR_ODOO_API_KEY"
  }
}

Confirm RFQ

This action will confirm the quotation and set its state to “purchase / Purchase Order”. A corresponding Inventory Transfer document will also be created.

To confirm the shipment, you can navigate to the transfer document from here.

Last updated