younifyd
Menu

storeCreditConfiguration

Returns the store credit configuration for a shop, including whether store credit is enabled for customers at checkout.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the storeCreditConfiguration action (under Store).
  3. Fill in the fields below, then reference the result from later steps as {{storecreditconfiguration.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 StoreCreditConfiguration {
  storeCreditConfiguration {
    storeCreditEnabled
  }
}

Response

Read the result with {{storecreditconfiguration.response.data.data.storeCreditConfiguration}}. If the API returns errors, the step fails and they are at {{storecreditconfiguration.response.data.errors}}.

storeCreditEnabledboolean

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

storeCreditConfiguration — Shopify — Documentation