Docs
Update Order
PATCH /Orders/{orderId}
PATCH
/Orders/{orderId}Renames the order, sets or clears its vendor (vendorCollaboratorRecordId; null clears it on an event order), and returns the full updated order. A vendor change is a change since the latest revision and is refused while the order is Paid, or Abandoned or Canceled (reopen first); the name stays editable. Status and source are not changed here; use Orders_SetOrderStatus and Orders_SetOrderSource. On an organization-level order (org token, resource inventory edit) the vendor is required and the department and default use are editable too, so send every field; a write that would archive, lower or narrow temporary units a show holds is refused (list them with Orders_GetOrderSupply).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| vendorCollaboratorRecordId | uuid | Optional | |
| requestingDepartmentId | uuid | Optional | |
| defaultDisposition | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| access | string[]| null | |
| amountsEditable | boolean | |
| name | string| null | |
| status | string| null | |
| declaredStatus | string| null | |
| source | string| null | |
| signals | string[]| null | |
| vendor | GetOrderResponseVendorInfo | |
| lineItemGroups | GetOrderResponseLineItemGroup[]| null | |
| lineItems | GetOrderResponseLineItem[]| null | |
| expenseLineItems | GetOrderResponseExpenseLineItem[]| null | |
| documents | GetOrderResponseDocument[]| null | |
| payments | GetOrderResponsePayment[]| null | |
| totals | GetOrderResponseOrderTotals | |
| version | GetOrderResponseVersionInfo | |
| typeDocuments | GetOrderResponseTypeDocumentInfo[]| null | |
| requestingDepartment | GetOrderResponseNamedRef | |
| defaultDisposition | string| null | |
| hasCoveringLines | boolean | |
| orderType | GetOrderResponseOrderTypeInfo| null | |
| values | GetOrderResponseValueInfo[]| null | |
| isIncomplete | boolean | |
| missingRequired | MissingRequiredItem[]| null | |
| intakeAnswers | HostIntakeAnswerResponse[]| null | |
| intakeQuestions | HostIntakeQuestionResponse[]| null | |
| canEditTracking | boolean | |
| groupIds | uuid[]| null | |
| roles | OrderRoleSlotResponse[]| null |
GetOrderResponseVendorInfo
| Field | Type | Description |
|---|---|---|
| collaboratorRecordId | uuid| null | |
| name | string| null |
GetOrderResponseLineItemGroup
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| notes | string| null | |
| index | integer |
GetOrderResponseLineItem
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| index | integer | |
| showScheduleDetail | boolean | |
| quantity | number | |
| scheduledHours | number| null | |
| estimatedCost | number| null | |
| rate | GetOrderResponseLineItemRateInfo | |
| lineTotal | number| null | |
| sentRate | GetOrderResponseLineItemSentRateInfo | |
| quotedRate | GetOrderResponseLineItemDocumentRateInfo | |
| invoicedRate | GetOrderResponseLineItemDocumentRateInfo | |
| variance | GetOrderResponseLineItemVarianceInfo | |
| resource | GetOrderResponseLineItemProcResource | |
| lineItemGroupId | uuid| null | |
| disposition | string| null | |
| startDateTime | date-time| null | |
| endDateTime | date-time| null | |
| windowStart | date-time| null | |
| windowEnd | date-time| null | |
| resourceType | GetOrderResponseLineItemTypeRef | |
| resourceVariant | GetOrderResponseNamedRef | |
| namedResource | GetOrderResponseNamedRef | |
| rateCard | GetOrderResponseNamedRef | |
| providerOfferingId | uuid| null | |
| procurementResource | GetOrderResponseNamedRef | |
| hold | GetOrderResponseLineItemHoldRef | |
| unitsInInventory | integer | |
| incoming | boolean | |
| billingMode | string| null | |
| allocatedCost | number| null | |
| matchedCost | number| null | |
| lineCost | number| null | |
| allocatedToShows | number| null |
GetOrderResponseExpenseLineItem
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| index | integer | |
| description | string| null | |
| quantity | number | |
| unitAmount | number| null | |
| lineTotal | number| null | |
| lineItemGroupId | uuid| null | |
| expense | GetOrderResponseExpenseLineItemExpenseInfo | |
| isPossibleDuplicate | boolean |
GetOrderResponseDocument
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| type | string| null | |
| pricingLevel | string| null | |
| sourceCollaboratorRecordId | uuid| null | |
| enteredSubtotal | number| null | |
| subtotal | number| null | |
| total | number| null | |
| expenseContribution | number| null | |
| fileId | uuid| null | |
| file | GetOrderResponseDocumentFileInfo | |
| orderVersionId | uuid| null | |
| receivedDate | date-time| null | |
| isChosen | boolean | |
| source | string| null | |
| orderVersionNumber | integer| null | |
| isCounted | boolean | |
| hasAmounts | boolean | |
| vendorName | string| null | |
| reading | GetOrderResponseDocumentReadingInfo | |
| adjustments | GetOrderResponseDocumentAdjustment[]| null | |
| groups | GetOrderResponseDocumentLineGroup[]| null | |
| lines | GetOrderResponseDocumentLine[]| null |
GetOrderResponsePayment
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| orderDocumentId | uuid| null | |
| amount | number| null | |
| date | date-time | |
| method | string| null | |
| reference | string| null | |
| paymentMethodId | uuid| null |
GetOrderResponseOrderTotals
| Field | Type | Description |
|---|---|---|
| estimated | number| null | |
| quoted | number| null | |
| fulfilled | number| null | |
| fulfilledBasis | string| null | |
| invoiced | number| null | |
| paid | number| null | |
| outstanding | number| null | |
| expectedTotal | number| null | |
| expectedTotalBasis | string| null |
GetOrderResponseVersionInfo
| Field | Type | Description |
|---|---|---|
| isPayloadLocked | boolean | |
| canMint | boolean | |
| mintReplacesLatest | boolean | |
| hasChangesSinceLatestVersion | boolean | |
| changeCountSinceLatestVersion | integer | |
| changesSinceLatestVersion | GetOrderResponseVersionInfoChange[]| null | |
| canMarkSent | boolean | |
| canReturnToDraft | boolean | |
| canDiscard | boolean | |
| canConfirm | boolean | |
| canUndoConfirm | boolean | |
| links | GetOrderResponseVersionInfoLinkInfo[]| null | |
| canIssueLink | boolean | |
| latest | GetOrderResponseVersionInfoLatestInfo | |
| latestSent | GetOrderResponseVersionInfoLatestSentInfo | |
| canSwitchDocument | boolean | |
| confirmation | GetOrderResponseVersionInfoConfirmationInfo |
GetOrderResponseTypeDocumentInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |
GetOrderResponseNamedRef
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |
GetOrderResponseOrderTypeInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| isArchived | boolean | |
| sections | GetOrderResponseSectionInfo[]| null |
GetOrderResponseValueInfo
| Field | Type | Description |
|---|---|---|
| files | AttributeFileRead[]| null | |
| attributeId | uuid | |
| name | string| null | |
| value | JsonElement| null | |
| expiresOn | date| null | |
| itemExpiries | date[]| null | |
| isHidden | boolean |
MissingRequiredItem
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| id | uuid | |
| name | string| null | |
| level | string| null |
HostIntakeAnswerResponse
| Field | Type | Description |
|---|---|---|
| questionId | uuid | |
| useCase | string| null | |
| source | string| null | |
| value | JsonElement| null | |
| canEdit | boolean |
HostIntakeQuestionResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| label | string| null | |
| questionText | string| null | |
| type | string| null | |
| isRequired | boolean | |
| index | integer | |
| useCase | string| null | |
| useCases | string[]| null | |
| canEdit | boolean | |
| options | HostIntakeQuestionResponseOptionInfo[]| null |
OrderRoleSlotResponse
| Field | Type | Description |
|---|---|---|
| requiresProcurement | boolean | |
| resourceTypes | OrderRoleResourceTypeResponse[]| null | |
| isHidden | boolean | |
| occupants | OrderRoleOccupantResponse[]| null | |
| roleDefinitionId | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| useCase | string| null | |
| source | string| null | |
| isRequired | boolean | |
| isTaskTracked | boolean | |
| canEdit | boolean | |
| filledByEventRoleId | uuid| null | |
| filledByEventRoleName | string| null | |
| tracking | HostTrackingResponse |
GetOrderResponseLineItemRateInfo
| Field | Type | Description |
|---|---|---|
| amount | number| null | |
| period | string| null | |
| hasMoreRows | boolean | |
| fills | GetOrderResponseLineItemRateInfoFill[]| null |
GetOrderResponseLineItemSentRateInfo
| Field | Type | Description |
|---|---|---|
| amount | number| null | |
| period | string| null | |
| lineTotal | number| null |
GetOrderResponseLineItemDocumentRateInfo
| Field | Type | Description |
|---|---|---|
| amount | number| null | |
| unit | string| null | |
| lineTotal | number| null |
GetOrderResponseLineItemVarianceInfo
| Field | Type | Description |
|---|---|---|
| amount | number| null | |
| period | string| null |
GetOrderResponseLineItemProcResource
| Field | Type | Description |
|---|---|---|
| procurementId | uuid | |
| id | uuid | |
| cloneGroupId | uuid| null | |
| type | GetOrderResponseLineItemProcResourceResourceType | |
| properties | GetOrderResponseLineItemProcResourceProperty[]| null | |
| scheduleBlocks | GetOrderResponseLineItemProcResourceScheduleBlock[]| null |
GetOrderResponseLineItemTypeRef
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| type | string| null | |
| trackingType | string| null |
GetOrderResponseLineItemHoldRef
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| status | string| null |
GetOrderResponseExpenseLineItemExpenseInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| payee | GetOrderResponseExpenseLineItemExpenseInfoPayeeInfo |
GetOrderResponseDocumentFileInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| versionId | uuid| null | |
| formats | GetOrderResponseDocumentFileInfoFormat[]| null |
GetOrderResponseDocumentReadingInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| state | string| null | |
| failureCode | string| null |
GetOrderResponseDocumentAdjustment
| Field | Type | Description |
|---|---|---|
| label | string| null | |
| amount | number| null |
GetOrderResponseDocumentLineGroup
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| subtotal | number| null | |
| index | integer |
GetOrderResponseDocumentLine
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| index | integer | |
| description | string| null | |
| quantity | number | |
| count | number | |
| unit | string| null | |
| unitPrice | number| null | |
| lineTotal | number| null | |
| orderDocumentLineGroupId | uuid| null | |
| procurementResourceId | uuid| null | |
| kind | string| null | |
| orderLineItemId | uuid| null |
GetOrderResponseVersionInfoChange
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| field | string| null | |
| from | string| null | |
| to | string| null | |
| phrasing | string| null |
GetOrderResponseVersionInfoLinkInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| vendorCollaboratorRecordId | uuid| null | |
| vendorName | string| null | |
| createdByName | string| null | |
| createdAt | date-time | |
| status | string| null |
GetOrderResponseVersionInfoLatestInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| number | integer | |
| status | string| null | |
| documentName | string| null | |
| orderTypeDocumentId | uuid| null | |
| sentAt | date-time| null | |
| firstSentAt | date-time| null | |
| documentCount | integer |
GetOrderResponseVersionInfoLatestSentInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| number | integer |
GetOrderResponseVersionInfoConfirmationInfo
| Field | Type | Description |
|---|---|---|
| via | string| null | |
| byName | string| null | |
| at | date-time | |
| note | string| null |
GetOrderResponseSectionInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| attributes | GetOrderResponsePlacementInfo[]| null | |
| roles | GetOrderResponseRolePlacementInfo[]| null |
AttributeFileRead
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| versionId | uuid| null | |
| formats | AttributeFileReadFormatInfo[]| null |
HostIntakeQuestionResponseOptionInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| value | string| null | |
| color | string| null | |
| isArchived | boolean |
OrderRoleResourceTypeResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |
OrderRoleOccupantResponse
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| resourceId | uuid| null | |
| procurementResourceId | uuid| null | |
| procurementId | uuid| null | |
| sourceRoleId | uuid| null | |
| displayName | string| null | |
| label | string| null | |
| procurementName | string| null | |
| filledByResourceName | string| null | |
| isArchived | boolean | |
| components | OrderRoleOccupantResponseComponentInfo[]| null | |
| crewId | uuid| null | |
| collaboratorRecordId | uuid| null | |
| name | string| null | |
| imageUrl | string| null |
HostTrackingResponse
| Field | Type | Description |
|---|---|---|
| isRequired | HostTrackingResponseFlagState | |
| isTaskTracked | HostTrackingResponseFlagState | |
| isTaskReviewRequired | HostTrackingResponseFlagState | |
| dueDate | HostTrackingResponseDueDateState | |
| taskId | uuid| null | |
| taskStatus | string| null | |
| isReviewRouteOwn | boolean| null | |
| canReview | boolean | |
| canOverride | boolean | |
| trackedLockedReason | string| null |
GetOrderResponseLineItemRateInfoFill
| Field | Type | Description |
|---|---|---|
| reservationId | uuid | |
| resourceName | string| null | |
| quantity | number | |
| amount | number| null | |
| period | string| null |
GetOrderResponseLineItemProcResourceResourceType
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| label | string| null | |
| icon | string| null | |
| lineItemLabel | string| null |
GetOrderResponseLineItemProcResourceProperty
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| resourceAttributeId | uuid | |
| value | string| null |
GetOrderResponseLineItemProcResourceScheduleBlock
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| type | GetOrderResponseLineItemProcResourceScheduleBlockScheduleBlockTypeInfo | |
| name | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| notes | string| null | |
| area | GetOrderResponseLineItemProcResourceScheduleBlockAreaInfo| null | |
| collaboratorId | uuid| null |
GetOrderResponseExpenseLineItemExpenseInfoPayeeInfo
| Field | Type | Description |
|---|---|---|
| type | string| null | |
| id | uuid| null |
GetOrderResponseDocumentFileInfoFormat
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| type | string| null | |
| size | integer | |
| uri | uri| null |
GetOrderResponsePlacementInfo
| Field | Type | Description |
|---|---|---|
| files | AttributeFileRead[]| null | |
| attributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| isRequired | boolean | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| isMaterial | boolean | |
| showOnCreateForm | boolean | |
| index | integer | |
| displayMode | string| null | |
| value | JsonElement| null | |
| hasExpiration | boolean | |
| expiresOn | date| null | |
| itemExpiries | date[]| null | |
| options | GetOrderResponseOptionInfo[]| null | |
| availability | GetOrderResponseAvailabilityInfo | |
| canEdit | boolean | |
| tracking | HostTrackingResponse | |
| aiFill | AiFillStateResponse |
GetOrderResponseRolePlacementInfo
| Field | Type | Description |
|---|---|---|
| roleDefinitionId | uuid | |
| name | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| requiresProcurement | boolean | |
| isRequired | boolean | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| index | integer | |
| tracking | HostTrackingResponse |
AttributeFileReadFormatInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| type | string| null | |
| size | integer | |
| uri | string| null |
OrderRoleOccupantResponseComponentInfo
| Field | Type | Description |
|---|---|---|
| procurementResourceId | uuid | |
| label | string| null | |
| typeName | string| null | |
| filledByResourceName | string| null |
HostTrackingResponseFlagState
| Field | Type | Description |
|---|---|---|
| effective | boolean | |
| isOverridden | boolean |
HostTrackingResponseDueDateState
| Field | Type | Description |
|---|---|---|
| effective | date-time| null | |
| isOverridden | boolean |