ValidateSecondaryMarketOrders
Validate secondary market orders. Pass orderIds to validate an explicit selection synchronously; omit them and pass filters/search to target the whole matching set (synchronous below the async threshold, otherwise an asynchronous operation). Orders failing a validation control are left untouched and reported in skippedOrders.
Signature
mutation {
ValidateSecondaryMarketOrders(secondaryMarketId: ..., direction: ...)
}
Retourne : SecondaryMarketOrdersResult!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
secondaryMarketId | ID! | ✓ | — | — |
direction | SecondaryMarketOrderDirection! | ✓ | — | — |
orderIds | [ID!] | — | — | |
filters | SecondaryMarketOrderFiltersInput | — | — | |
search | String | — | — | |
paymentDate | Date | — | Records the payment of the targeted unpaid buy orders at that date before validating them; defaults to validationDate. A refused, recalled or canceled payment is never recorded. | |
validationDate | Date | — | Validation date stamped on the admitted orders (defaults to today); also the payment date of unpaid buy orders when paymentDate is omitted | |
propertyFilters | [PropertyFilterInput] | — | Filters for property columns, applied with filters/search when orderIds is omitted. Merged with 'filters' (propertyFilters takes precedence on conflict). |
Exemple
mutation {
ValidateSecondaryMarketOrders(
secondaryMarketId: $secondaryMarketId
direction: $direction
) {
orders {}
asynchronousOperation {}
}
}