Anchor to section titled 'undefined'

paymentTermsTemplates
query

The list of payment terms templates eligible for all shops and users.


The payment terms type to filter the payment terms templates list.


Was this section helpful?

Represents the payment terms template object.


Was this section helpful?
Get the available payment terms templates
Hide code
DescriptionCopy
query {
  paymentTermsTemplates {
    id
    name
    paymentTermsType
    dueInDays
    description
    translatedName
  }
}
Hide code
Response
JSON
{
  "paymentTermsTemplates": [
    {
      "id": "gid://shopify/PaymentTermsTemplate/1",
      "name": "Due on receipt",
      "paymentTermsType": "RECEIPT",
      "dueInDays": null,
      "description": "Due on receipt",
      "translatedName": "Due on receipt"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/9",
      "name": "Due on fulfillment",
      "paymentTermsType": "FULFILLMENT",
      "dueInDays": null,
      "description": "Due on fulfillment",
      "translatedName": "Due on fulfillment"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/2",
      "name": "Net 7",
      "paymentTermsType": "NET",
      "dueInDays": 7,
      "description": "Within 7 days",
      "translatedName": "Net 7"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/3",
      "name": "Net 15",
      "paymentTermsType": "NET",
      "dueInDays": 15,
      "description": "Within 15 days",
      "translatedName": "Net 15"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/4",
      "name": "Net 30",
      "paymentTermsType": "NET",
      "dueInDays": 30,
      "description": "Within 30 days",
      "translatedName": "Net 30"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/8",
      "name": "Net 45",
      "paymentTermsType": "NET",
      "dueInDays": 45,
      "description": "Within 45 days",
      "translatedName": "Net 45"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/5",
      "name": "Net 60",
      "paymentTermsType": "NET",
      "dueInDays": 60,
      "description": "Within 60 days",
      "translatedName": "Net 60"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/6",
      "name": "Net 90",
      "paymentTermsType": "NET",
      "dueInDays": 90,
      "description": "Within 90 days",
      "translatedName": "Net 90"
    },
    {
      "id": "gid://shopify/PaymentTermsTemplate/7",
      "name": "Fixed",
      "paymentTermsType": "FIXED",
      "dueInDays": null,
      "description": "Fixed date",
      "translatedName": "Fixed"
    }
  ]
}