Docs
Get Or Create Order Link
POST /Orders/{orderId}/links
POST
/Orders/{orderId}/linksCopies the order's link for one vendor: returns that vendor's active link (200) or creates it (201). On an external order vendorCollaboratorRecordId is required and comes from CollaboratorDatabase_GetCollaboratorRecords; an internal order omits it and has one link. While a quote is chosen, only the chosen quote's vendor gets a link. Needs Order.Edit and access to order amounts, an event order and a sent revision. The order id comes from Orders_GetOrders.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| vendorCollaboratorRecordId | uuid | Optional |
Response
| Field | Type | Description |
|---|---|---|
| token | string| null |