Payment Terms
Requires access scope.
Represents the payment terms for an order or draft order.
Anchor to FieldsFields
- Anchor to canPayEarlycan•Boolean!
Pay Early non-null Whether the payment can be made before the due date. When true, allows early payment of the invoice. When false, the payment must be made according to the payment schedule.
- Anchor to draftOrderdraft•Draft
Order Order The draft order associated with the payment terms.
- •Boolean!non-null
Whether payment terms have a payment schedule that's due.
- Anchor to dueInDaysdue•Int
In Days Duration of payment terms in days based on the payment terms template used to create the payment terms.
- •ID!non-null
A globally-unique ID.
- Anchor to orderorder•Order
The order associated with the payment terms.
- Anchor to overdueoverdue•Boolean!non-null
Whether the payment terms have overdue payment schedules.
- Anchor to paymentSchedulespayment•Payment
Schedules Schedule Connection! non-null List of schedules for the payment terms.
- Anchor to paymentTermsNamepayment•String!
Terms Name non-null The name of the payment terms template used to create the payment terms.
- Anchor to paymentTermsTypepayment•Payment
Terms Type Terms Type! non-null The payment terms template type used to create the payment terms.
- Anchor to translatedNametranslated•String!
Name non-null The payment terms name, translated into the shop admin's preferred language.
Anchor to MutationsMutations
- •mutation
Create payment terms on an order. To create payment terms on a draft order, use a draft order mutation and include the request with the
.
- •mutation
Update payment terms on an order. To update payment terms on a draft order, use a draft order mutation and include the request with the
.