v1

latestSwagger 2.02026-07-13107214235.7 KB
Order

Create a quick buy order

Create a quick buy order

post/v1/workgroups/{workgroup_id}/projects/{project_id}/buyOrders

Path parameters

workgroup_idstring required
project_idstring required

Request body

buyer_user_idinteger
commentsstring
invoice_or_billing_recipientinteger
order_completion_datestring date
other_selection_reasonstring
payment_method_idinteger
payment_reference_nostring
quickOrderboolean
rfeIdinteger
sellOrderboolean
{"stackTrail":"components:schemas:BigDecimal","oasType":"schema","type":"unknown","description":"Java type: java.math.BigDecimal"}
supplier_referencestring
supplier_selection_reason_idinteger
supplier_user_idinteger
taxstring
titlestring

Example request

{
  "comments": "sample comments",
  "custom_fields": [
    {
      "param_name": "sample param_name",
      "string_value": "sample string_value"
    }
  ],
  "order_items": [
    {
      "custom_fields": [
        {
          "param_name": "sample param_name",
          "string_value": "sample string_value"
        }
      ],
      "notes": "sample notes",
      "tax": "sample tax"
    }
  ],
  "other_selection_reason": "sample other_selection_reason",
  "payment_reference_no": "sample payment_reference_no",
  "supplier_reference": "sample supplier_reference",
  "tax": "sample tax",
  "title": "sample title"
}

Response

Successful created

buyer_user_idinteger
commentsstring
invoice_or_billing_recipientinteger
order_completion_datestring date
other_selection_reasonstring
payment_method_idinteger
payment_reference_nostring
quickOrderboolean
rfeIdinteger
sellOrderboolean
{"stackTrail":"components:schemas:BigDecimal","oasType":"schema","type":"unknown","description":"Java type: java.math.BigDecimal"}
supplier_referencestring
supplier_selection_reason_idinteger
supplier_user_idinteger
taxstring
titlestring

Example response

{
  "comments": "sample comments",
  "custom_fields": [
    {
      "param_name": "sample param_name",
      "string_value": "sample string_value"
    }
  ],
  "order_items": [
    {
      "custom_fields": [
        {
          "param_name": "sample param_name",
          "string_value": "sample string_value"
        }
      ],
      "notes": "sample notes",
      "tax": "sample tax"
    }
  ],
  "other_selection_reason": "sample other_selection_reason",
  "payment_reference_no": "sample payment_reference_no",
  "supplier_reference": "sample supplier_reference",
  "tax": "sample tax",
  "title": "sample title"
}