Docs

Get Or Create Order Link

POST /Orders/{orderId}/links

POST/Orders/{orderId}/links

Copies 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

FieldTypeRequiredDescription
orderIduuidRequired

Request Body

FieldTypeRequiredDescription
vendorCollaboratorRecordIduuidOptional

Response

FieldTypeDescription
tokenstring| null