Payment Terms
Requires access scope.
Represents the payment terms for an order or draft order.
Anchor to Fields and connectionsFields and connections
- Anchor to draftOrderdraft•Draft
Order Order The draft order associated with the payment terms.
- 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!non-null
Terms Name 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!non-null
Name 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
.
- Anchor to paymentTermsAttributespayment•Payment
Terms Attributes Terms Create Input!required The attributes used to create the payment terms.
- Anchor to referenceIdreference•ID!required
Id Specifies the reference orderId to add the payment terms for.
Arguments
- Anchor to paymentTermspayment•Payment
Terms Terms The created payment terms.
- Anchor to userErrorsuser•[Payment
Errors Terms Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •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
.
- Anchor to inputinput•Payment
Terms Update Input!required The input fields used to update the payment terms.
Arguments
- Anchor to paymentTermspayment•Payment
Terms Terms The updated payment terms.
- Anchor to userErrorsuser•[Payment
Errors Terms Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields