Skip to main content
object

Requires read_payment_terms access scope.

Payment conditions for an Order or DraftOrder, including when payment is due and how it's scheduled. Payment terms are created from templates that specify net terms (payment due after a certain number of days) or fixed schedules with specific due dates. You can optionally provide custom payment schedules using PaymentScheduleInput.

Each payment term contains one or more PaymentSchedule, which you can access through the paymentSchedules field. Payment schedules contain detailed information for each payment installment.

Learn more about payment terms.

•Boolean!
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.

•DraftOrder

The draft order associated with the payment terms.

•Boolean!
non-null

Whether payment terms have a payment schedule that's due.

•Int

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.

•Order

The order associated with the payment terms.

•Boolean!
non-null

Whether the payment terms have overdue payment schedules.

•PaymentScheduleConnection!
non-null

List of schedules for the payment terms.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•String!
non-null

The name of the payment terms template used to create the payment terms.

•PaymentTermsType!
non-null

The payment terms template type used to create the payment terms.

•String!
non-null

The payment terms name, translated into the shop admin's preferred language.


Was this section helpful?

•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 DraftOrderInput.

Arguments

•ID!
required

Specifies the reference orderId to add the payment terms for.

Anchor to paymentTermsAttributespaymentTermsAttributes
•PaymentTermsCreateInput!
required

The attributes used to create the payment terms.


•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 DraftOrderInput.

Arguments

•PaymentTermsUpdateInput!
required

The input fields used to update the payment terms.



Was this section helpful?

•interface

Was this section helpful?