ordersChangeProposals
Lists the change proposals of an order, newest first.
Business Rules
- Only proposals of the current company are returned, whoever requested them.
- The company comes from the
X-Company-Idheader, or from session context. - When
filters.statusesis given, only proposals in one of those statuses are returned. Without it, proposals in every status are returned. - When
filters.idsis given, only the proposals with those IDs are returned. The filters combine, and a proposal of another order is never returned.
Error Scenarios
CompanyContextRequiredwhen the request has no company.
Permissions Required
change_proposals:readpermission
ordersChangeProposals(
filters: ChangeProposalFilterInput
orderId: ID!
): [OrderChangeProposal!]!
Arguments
ordersChangeProposals.filters ● ChangeProposalFilterInput input orders
Optional filters by proposal IDs and statuses.
ordersChangeProposals.orderId ● ID! non-null scalar common
The ID of the order.
Type
OrderChangeProposal object orders
A proposal with the changes a source wants to make to an order, for a user to review.