order Create Manual Payment
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.
Records a manual payment for an Order that isn't fully paid. Use this mutation to track payments received outside the standard checkout process, such as cash, check, bank transfer, or other offline payment methods.
You can specify the payment amount, method name, and when it was processed.
Arguments
- Anchor to amountamount•Money
Input The manual payment amount to be created.
- •ID!required
The ID of the order to create a manual payment for.
- Anchor to paymentMethodNamepayment•String
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 processedAtprocessed•Date
At Time The date and time (ISO 8601 format) when a manual payment was processed. If you're importing transactions from an app or another platform, then you can set processedAt to a date and time in the past to match when the original transaction was created.
- Anchor to orderorder•Order
The order recorded a manual payment.
- Anchor to userErrorsuser•[Order
Errors Create Manual Payment Order Create Manual Payment Error!]! non-null The list of errors that occurred from executing the mutation.