Sell Orders

Create a Sell Order (Sale) Line

This endpoint allows you to create a Sell Order (Sale) Line for a specific Sell Order.

post/sales/sell-orders/{sellOrderId}/lines

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/sales/sell-orders/{sellOrderId}/lines
  • Auth: HTTP bearer

Path parameters

sellOrderIdstring required

The Sell Order (Sale) ID

Query parameters

expanded'cost_center' | 'material' | 'other_cost'

Available expands for the Sell Order Line

Request body

descriptionunknown
type'MATERIAL' | 'SERVICE' | 'OTHER_COST' required

Type of the item on the Sell Order (Sale) Line Item.

Available types are:

  • MATERIAL
  • SERVICE
  • OTHER_COST
discountnumber

Discount percentage applied to the item in the Sell Order (Sale) Line.

10.23 in this field means 10.23% Discount

material_idunknown
observationsunknown
other_cost_idunknown
quantitystring required

Quantity of items in the Sell Order (Sale) Line.

This field is a Numeric String.

unitunknown
unit_pricenumber required

Price of each unit of the item in the Sell Order (Sale) Line.

vatnumber

Tax percentage applied to the item in the Sell Order (Sale) Line.

10.23 in this field means 10.23% Tax

Response

OK

Changes

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