Buy Orders

Create a Buy Order

This endpoint allows you to create a Buy Order.

post/sales/buy-orders

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/sales/buy-orders
  • Auth: HTTP bearer

Request body

type'MATERIAL' | 'SERVICE' required

Type of Buy Order.

delivery_addressunknown
external_sale_idunknown
internal_sale_idunknown
observationunknown
related_to_idunknown
related_to_type'FAILURE' | 'SCHEDULED_WORK'

Type of object related to the Buy Order. Required with field related_to_id.

state'SAVED_AS_DRAFT' | 'CREATED' | 'RECEIVED_PARTIALLY' | 'RECEIVED' | 'CONFIRMED' required

State of the Buy Order.

supplier_idunknown
warehouse_idinteger

ID of the Warehouse associated to the Buy Order. Required for type 'MATERIAL' unless the state is 'SAVED_AS_DRAFT'.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.