Skip to main content

Arguments

input : UpdatePurchaseInput! required

Input fields for updating an active purchase.

Returns

UpdateActivePurchase

Output type of the updateActivePurchase mutation.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can manage goods purchases

Query Complexity

1

Examples

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.

Query

mutation UpdateActivePurchase($input: UpdatePurchaseInput!) { updateActivePurchase(input: $input) { goodsPurchase { ...GoodsPurchaseFragment } } }

Variables

{ "input": UpdatePurchaseInput }

Response

{ "data": { "updateActivePurchase": { "goodsPurchase": GoodsPurchase } } }