orderCreateManualPayment
Requires access scope. Also: The user must have mark_orders_as_paid permission. The API client must be installed on a Shopify Plus store to use the amount field.
Create a manual payment for an order. You can only create a manual payment for an order if it isn't already fully paid.
Arguments
- Anchor to amountamount•
The manual payment amount to be created.
- •ID!required
The ID of the order to create a manual payment for.
- Anchor to paymentMethodNamepayment•
Method Name The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used.
Anchor to OrderCreateManualPaymentPayload returnsOrderCreateManualPaymentPayload returns
- Anchor to orderorder•
The order recorded a manual payment.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Mutation Reference
Input
{
"amount": {
"amount": "29.99",
"currencyCode": ""
},
"id": "gid://shopify/<objectName>/10079785100",
"paymentMethodName": "<your-paymentMethodName>"
}
input MoneyInput {
amount: Decimal!
currencyCode: CurrencyCode!
}