updateActivePurchase
Update an active purchase.
Arguments
Input fields for updating an active purchase.
Possible Errors
Allowed Viewers
Required Permissions
Can manage goods purchasesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateActivePurchase($input: UpdatePurchaseInput!) {
updateActivePurchase(input: $input) {
goodsPurchase {
...GoodsPurchaseFragment
}
}
}
Variables
{
"input": UpdatePurchaseInput
}
Response
{
"data": {
"updateActivePurchase": {
"goodsPurchase": GoodsPurchase
}
}
}