younifyd
Menu

paymentTermsTemplates

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

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the paymentTermsTemplates action (under Payment).
  3. Fill in the fields below, then reference the result from later steps as {{paymenttermstemplates.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query PaymentTermsTemplates($paymentTermsType: PaymentTermsType) {
  paymentTermsTemplates(paymentTermsType: $paymentTermsType) {
    description
    dueInDays
    id
    name
    paymentTermsType
    translatedName
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

paymentTermsTypestring

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

One ofRECEIPTNETFIXEDFULFILLMENTUNKNOWN

json
{
  "paymentTermsType": "RECEIPT"
}

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

paymentTermsTemplates — Shopify — Documentation