Orders

POST order links

Link one or more records of a single type to an order. The batch is all-or-nothing: a rejected id rolls back the rest.

post/orders/{order_id}/links

Request

  • Base URL: https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.equipmentshare.com/orders/{order_id}/links
  • Auth: HTTP bearer

Path parameters

order_idinteger required

The ID of the order.

Request body

linked_entity_idsstring[] required

Ids of the records to link. Integer ids for sales orders and work orders; a UUID for a CostCapture purchase order.

order_link_type_idinteger required

Link type: 1 = sales order, 2 = work order, 3 = purchase order.

Response

Changes

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