Docs
Update Order Attribute Availability
PUT /order-attributes/{attributeId}/availability
PUT
/order-attributes/{attributeId}/availabilityReplaces the list of crew or collaborator records that this order attribute's value pickers offer. Only Crew, MultiCrew, Collaborator and MultiCollaborator attributes can have a list; a non-empty list for any other type is rejected. An empty list clears it, so pickers offer the whole roster again. Stored values are not checked against the list. Crew ids come from OrgCrew_GetCrew and collaborator record ids from CollaboratorDatabase_GetCollaboratorRecords. Needs Order.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| recordIds | uuid[] | Optional |